aaLine.h File Reference


Detailed Description

Draws antialiased lines (Definitions).

Draws antialiased lines of various styles.

Version:
1.3 - 2007/08/16

Definition in file aaLine.h.

#include <fx.h>

Include dependency graph for aaLine.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void aaline (unsigned char *data, int stride, int x1, int x2, float y1, float y2)
 Draws greyscale antialiased line.
void aacolline (unsigned char *data, int stride, int x1, int x2, float y1, float y2, unsigned char r, unsigned char g, unsigned char b)
 Draws colour antialiased line.
void aacolstrokeline (unsigned char *data, int stride, int x1, int x2, float y1, float y2, FXColor c, int stroke, int w, int h)
 Draws colour stroked antialiased line.
void aarampcolstrokeline (unsigned char *data, int stride, int x1, int x2, float y1, float y2, FXColor sc, FXColor ec, int stroke, int w, int h)
 Draws gradient coloured stroked antialiased line.


Function Documentation

void aacolline ( unsigned char *  data,
int  stride,
int  x1,
int  x2,
float  y1,
float  y2,
unsigned char  r,
unsigned char  g,
unsigned char  b 
)

Draws colour antialiased line.

Draw colour antialiased line between coordinate points.

Parameters:
data Data to draw line to.
stride Width of data array.
x1 Starting x pixel.
x2 Ending x pixel.
y1 Starting y pixel.
y2 Ending y pixel.
r Red intensity.
g Green intensity.
b Blue intensity.

Definition at line 213 of file aaLine.cpp.

References fpart(), ipart(), PLOTCX, PLOTCY, and rfpart().

Here is the call graph for this function:

void aacolstrokeline ( unsigned char *  data,
int  stride,
int  x1,
int  x2,
float  y1,
float  y2,
FXColor  c,
int  stroke,
int  w,
int  h 
)

Draws colour stroked antialiased line.

Draw colour antialiased line with set thickness between coordinate points.

Parameters:
data Data to draw line to.
stride Width of data array.
x1 Starting x pixel.
x2 Ending x pixel.
y1 Starting y pixel.
y2 Ending y pixel.
c Colour.
stroke Line width.
w Width of drawing area (for clipping).
h Height of drawing area (for clipping).

Definition at line 308 of file aaLine.cpp.

References fpart(), ipart(), PLOTCSX, PLOTCSY, and rfpart().

Here is the call graph for this function:

void aaline ( unsigned char *  data,
int  stride,
int  x1,
int  x2,
float  y1,
float  y2 
)

Draws greyscale antialiased line.

Draw greyscale antialiased line between coordinate points.

Parameters:
data Data to draw line to.
stride Width of data array.
x1 Starting x pixel.
x2 Ending x pixel.
y1 Starting y pixel.
y2 Ending y pixel.

Definition at line 131 of file aaLine.cpp.

References fpart(), ipart(), PLOTX, PLOTY, and rfpart().

Here is the call graph for this function:

void aarampcolstrokeline ( unsigned char *  data,
int  stride,
int  x1,
int  x2,
float  y1,
float  y2,
FXColor  sc,
FXColor  ec,
int  stroke,
int  w,
int  h 
)

Draws gradient coloured stroked antialiased line.

Draw antialiased line with set thickness between coordinate points, interpolating the colour between the ends.

Parameters:
data Data to draw line to.
stride Width of data array.
x1 Starting x pixel.
x2 Ending x pixel.
y1 Starting y pixel.
y2 Ending y pixel.
sc Start colour.
ec End colour.
stroke Line width.
w Width of drawing area (for clipping).
h Height of drawing area (for clipping).

Definition at line 376 of file aaLine.cpp.

References fpart(), ipart(), PLOTCSX, PLOTCSY, and rfpart().

Here is the call graph for this function:


Generated on Mon Mar 10 13:55:45 2008 for GreyLab by  doxygen 1.5.3