Index

CDTRasterizerV8

MoveTo, MoveToFrac

void MoveTo(DT_FLOAT x1, DT_FLOAT y1, DT_UBYTE r = 0, DT_UBYTE g = 0, DT_UBYTE b = 0, DT_UBYTE t = 0)

void MoveToFrac(DT_SFRAC x1, DT_SFRAC y1, DT_UBYTE r = 0, DT_UBYTE g = 0, DT_UBYTE b = 0, DT_UBYTE t = 0)

MoveTo2, MoveToFrac2

void MoveTo2(DT_FLOAT x1, DT_FLOAT y1, const DT_UBYTE color[] = DV_RGBT))

void MoveToFrac2(DT_SFRAC x1, DT_SFRAC y1, const DT_UBYTE color[] = DV_RGBT)

The MoveTo, MoveToFrac, MoveTo2 and MoveToFrac2 methods instruct CDTRasterizerV8 to open a new contour. These methods automatically close any previously opened contour.

MoveToFrac is identical to MoveTo 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.

MoveTo is identical to MoveTo2 except that its color and transparency are defined as 4 separate values. MoveToFrac is identical to MoveToFrac2 except that its color and transparency are defined as 4 separate values.

Parameters

ParameterDescription

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