Index

C/C++ Functions

dcRasterizerLineTo

void dcRasterizerLineTo(DT_DCRASTER dcr, DT_FLOAT x1, DT_FLOAT y1)

Short Description: LineTo command

dcRasterizerLineToFrac

void dcRasterizerLineToFrac(DT_DCRASTER dcr, DT_SFRAC_L x1, DT_SFRAC_L y1)

Short Description: LineToFrac command

dcRasterizerLineTo2

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

Short Description: LineTo2 command

dcRasterizerLineToFrac2

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

Short Description: LineToFrac2 command

dcRasterizerLineTo3

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

Short Description: LineTo3 command

dcRasterizerLineToFrac3

void dcRasterizerLineToFrac3(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: LineToFrac3 command

The dcRasterizerLineTo, dcRasterizerLineToFrac, dcRasterizerLineTo2, dcRasterizerLineToFrac2, dcRasterizerLineTo3 and dcRasterizerLineToFrac3 functions instruct D-Type Direct Color Rasterizer to add a new line segment to the current contour.

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

dcRasterizerLineTo2 is identical to dcRasterizerLineTo except that it supports color at the line's end point (with certain D-Type Rasterizers only). dcRasterizerLineToFrac2 is identical to dcRasterizerLineToFrac except that it supports color at the line's end point (with certain D-Type Rasterizers only).

dcRasterizerLineTo3 is identical to dcRasterizerLineTo2 except that its color and transparency are defined as 4 separate values. dcRasterizerLineToFrac3 is identical to dcRasterizerLineToFrac2 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

End X coordinate of the new line segment, in pixels.

y1

End Y coordinate of the new line segment, in pixels.

r

Color of the end point — Red component (R). Must be between 0 and 255. Supported by D-Type Shading Rasterizer only.

g

Color of the end point — Green component (G). Must be between 0 and 255. Supported by D-Type Shading Rasterizer only.

b

Color of the end point — Blue component (B). Must be between 0 and 255. Supported by D-Type Shading Rasterizer only.

t

Transparency of the end point (T). Must be between 0 and 255. Supported by D-Type Shading Rasterizer only.

color

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

 

Index