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.
Parameter | Description |
---|---|
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. |