|
Public Member Functions |
| | COffscreenContext (CDrawContext *pContext, CBitmap *pBitmap, bool drawInBitmap=false) |
| | COffscreenContext (CFrame *pFrame, long width, long height, const CColor backgroundColor=kBlackCColor) |
| virtual | ~COffscreenContext () |
| void | copyFrom (CDrawContext *pContext, CRect destRect, CPoint srcOffset=CPoint(0, 0)) |
| | copy from offscreen to pContext
|
| void | copyTo (CDrawContext *pContext, CRect &srcRect, CPoint destOffset=CPoint(0, 0)) |
| | copy to offscreen from pContext
|
| CCoord | getWidth () const |
| CCoord | getHeight () const |
Protected Attributes |
| CBitmap * | pBitmap |
| CBitmap * | pBitmapBg |
| CCoord | height |
| CCoord | width |
| bool | bDestroyPixmap |
| CColor | backgroundColor |