BOOL EngPaint(
IN SURFOBJ *pso, | |
IN CLIPOBJ *pco, | |
IN BRUSHOBJ *pbo, | |
IN POINTL *pptlBrushOrg, | |
IN MIX mix | |
); |
EngPaint causes GDI to paint a specified region.
The return value is TRUE if the function is successful. Otherwise, it is FALSE, and an error code is logged.
Vector device drivers can implement this function with the help of EngCreatePath and PATHOBJ_Xxx service routines.
The mix mode defines how the incoming pattern should be mixed with the data already on the device surface. The MIX data type consists of two ROP2 values packed into a single ULONG. The low-order byte defines the foreground raster operation; the next byte defines the background raster operation. For more information about raster operation codes, see the Win32 SDK.
BRUSHOBJ, CLIPOBJ, DrvPaint, EngCreatePath, PATHOBJ, SURFOBJ