BOOL CBCGPToolBarImages::PrepareDrawImage | ( | CBCGPDrawState & | ds, |
CSize | sizeImageDest = CSize(0, 0) , |
||
BOOL | bFadeInactive = FALSE , |
||
BOOL | bCreateDPIImage = FALSE |
||
) |
Allocates resources according to destination size to render a toolbar image.
Call this function to allocate the resources required to display a toolbar image according to a destination image size specified by sizeImageDest.
ds | A reference to CBCGPDrawState structure, which carries the allocated resources between image rendering stages. |
sizeImageDest | Specifies the size of a destination image. |
bFadeInactive | Set it to TRUE to draw inactive image with a fading effect. |
bCreateDPIImage | Set it to TRUE to draw image with cuurent DPI. |