Index

C/C++ Functions

dcRasterizerMoveTo

void dcRasterizerMoveTo(DT_DCRASTER dcr, DT_FLOAT x1, DT_FLOAT y1, DT_UBYTE r, DT_UBYTE g, DT_UBYTE b, DT_UBYTE t)

Short Description: MoveTo command

dcRasterizerMoveToFrac

void dcRasterizerMoveToFrac(DT_DCRASTER dcr, DT_SFRAC_L x1, DT_SFRAC_L y1, DT_UBYTE r, DT_UBYTE g, DT_UBYTE b, DT_UBYTE t)

Short Description: MoveToFrac command

dcRasterizerMoveTo2

void dcRasterizerMoveTo2(DT_DCRASTER dcr, DT_FLOAT x1, DT_FLOAT y1, const DT_UBYTE color[])

Short Description: MoveTo2 command

dcRasterizerMoveToFrac2

void dcRasterizerMoveToFrac2(DT_DCRASTER dcr, DT_SFRAC_L x1, DT_SFRAC_L y1, const DT_UBYTE color[])

Short Description: MoveToFrac2 command

The dcRasterizerMoveTo, dcRasterizerMoveToFrac, dcRasterizerMoveTo2 and dcRasterizerMoveToFrac2 functions instruct D-Type Direct Color Rasterizer to open a new contour. These functions automatically close any previously opened contour.

dcRasterizerMoveToFrac is identical to dcRasterizerMoveTo except that its coordinates are 24.8 signed fractional values. For more details on fractional units, see the D-Type Units section of this document.

dcRasterizerMoveTo is identical to dcRasterizerMoveTo2 except that its color and transparency are defined as 4 separate values. dcRasterizerMoveToFrac is identical to dcRasterizerMoveToFrac2 except that its color and transparency are defined as 4 separate values.

Parameters

ParameterDescription

dcr

Handle of the previously created D-Type Direct Color Rasterizer instance.

x1

X coordinate of the first point of the new contour, in pixels.

y1

Y coordinate of the first point of the new contour, in pixels.

r

Color of the new contour — Red component (R). Must be between 0 and 255. Supported by all rasterizers except D-Type Grayscale Rasterizer / D-Type B&W Rasterizer.

g

Color of the new contour — Green component (G). Must be between 0 and 255. Supported by all rasterizers except D-Type Grayscale Rasterizer / D-Type B&W Rasterizer.

b

Color of the new contour — Blue component (B). Must be between 0 and 255. Supported by all rasterizers except D-Type Grayscale Rasterizer / D-Type B&W Rasterizer.

t

Transparency of the new contour (T). Must be between 0 and 255. Supported by all rasterizers except D-Type Grayscale Rasterizer / D-Type B&W Rasterizer.

color

Same as r, g, b and t defined above, except that all 4 components are stored in an array.

 

Index