This method fully initializes the CDTRasterizerV8 object.
If the initialization was successful, applications can subsequently call the scene construction methods (MoveTo, MoveToFrac, LineTo, LineToFrac, BSplineTo, BSplineToFrac, BezierTo, BezierToFrac, MultiSegment, MultiSegmentFrac) to add output to the current scene. Once the entire scene has been constructed, applications can render it by calling DoOutput.
Parameter | Description |
---|---|
memory_surface |
References the DT_MDC structure that describes the memory surface to which the scene will be rendered. |
raster_intersect |
Initial value for maximum number of intersections in a single scan line. Set to 0 to use the default value. |
raster_id |
Version of CDTRasterizerV8 to initialize: D-Type Direct Color Rasterizer
D-Type Grayscale Rasterizer / D-Type B&W Rasterizer
|
das |
Handle of D-Type's Asynchronous System which supplies multiple worker threads for parallel rendering. Set to DV_NULL for synchronous rendering. |
flags |
Internal use. Must be set to 0. |
If the initialization was successful, the return value is true. Otherwise, the method returns false.