To support the CLIPOBJ, BRUSHOBJ, and XFORMOBJ, GDI offers several drawing services, listed in the following table, in addition to the GDI simulations described earlier in Hooking versus Punting.
|
GDI Draw Service Function |
Description |
|
Allocates a CLIPOBJ for the driver’s temporary use. The driver should call EngDeleteClip to delete it when it is no longer needed. | |
|
Deletes a CLIPOBJ allocated with EngCreateClip. | |
|
GDI simulation for DrvBitBlt. | |
|
GDI simulation for DrvCopyBits. | |
|
GDI simulation for DrvStretchBlt. | |
|
GDI simulation for DrvFillPath. | |
|
GDI simulation for DrvStrokeAndFillPath. | |
|
GDI simulation for DrvPaint. | |
|
GDI simulation for DrvStrokePath. | |
|
GDI simulation for DrvLineTo. | |
|
Allocates memory for the driver’s realization of a brush. | |
|
Returns a pointer to the driver’s realization of the brush. Realizes the brush if it has not yet been realized. | |
|
Sets parameters for enumeration of the rectangles in all or part of the clipped region. (The region can be enumerated once without this call). | |
|
Retrieves a batch of rectangles from the clip region. | |
|
Can be used to retrieve complicated regions as a path. |
For more information on these functions, refer to the Graphics Driver Reference.