The PixelBucket() method returns a TMCPixelBucket that references the memory of the offscreen, and that you can either manipulate directly, or pass to other functions.
TMCOffscreen owns its memory and will delete it. But since TMCOffscreen is not a counted object, you'll need to explicitely delete the offscreen. So it is a good idea to use a smart pointer: TMCSmartPtr<TMCOffscreen> offscreen;
| TMCOffscreen::TMCOffscreen | ( | uint32 | width, | |
| uint32 | height, | |||
| uint32 | bitDepth, | |||
| int32 | left, | |||
| int32 | top, | |||
| boolean | rightSideUp = true, |
|||
| boolean | allowGCDrawing = true | |||
| ) |
| TMCOffscreen::TMCOffscreen | ( | IMCGraphicContext & | hDC, | |
| const TMCRect & | rect, | |||
| uint32 | bitDepth, | |||
| boolean | rightSideUp = true, |
|||
| boolean | allowGCDrawing = true | |||
| ) |
Deprecated (not implemented).
| TMCOffscreen::TMCOffscreen | ( | const TMCOffscreen & | existingOffscreen | ) |
| virtual TMCOffscreen::~TMCOffscreen | ( | void | ) | [virtual] |
| static TMCOffscreen* TMCOffscreen::Create | ( | uint32 | width, | |
| uint32 | height, | |||
| uint32 | bitDepth, | |||
| int32 | inLeft = 0, |
|||
| int32 | inTop = 0, |
|||
| boolean | rightSideUp = true, |
|||
| boolean | allowGCDrawing = true | |||
| ) | [static] |
| static TMCOffscreen* TMCOffscreen::Create | ( | const TMCOffscreen & | inOffscreen | ) | [static] |
| static MCCOMErr TMCOffscreen::CreateCompatiblePixelBucket | ( | int32 | widthParam, | |
| int32 | heightParam, | |||
| int32 | depthParam, | |||
| TMCCompatiblePixelBucket ** | outBucket | |||
| ) | [static] |
| static MCCOMErr TMCOffscreen::DestroyCompatiblePixelBucket | ( | TMCCompatiblePixelBucket * | inBucket | ) | [static] |
| virtual boolean TMCOffscreen::DefaultInitBegin | ( | void | ) | [protected, virtual] |
DEPRECATED.
| virtual void TMCOffscreen::DefaultInitEnd | ( | void | ) | [protected, virtual] |
DEPRECATED.
| virtual void TMCOffscreen::ClearAllPointers | ( | void | ) | [protected, virtual] |
DEPRECATED.
| void TMCOffscreen::DefaultInitMCOffscreenBegin | ( | void | ) | [protected] |
| void TMCOffscreen::DefaultInitMCOffscreenEnd | ( | void | ) | [protected] |
| void TMCOffscreen::ClearAllMCOffscreenPointers | ( | void | ) | [protected] |
| virtual boolean TMCOffscreen::Blit | ( | SystemGCPtr | destGC, | |
| const TMCRect & | dstRect, | |||
| const TMCRect & | srcRect | |||
| ) | const [protected, virtual] |
| boolean TMCOffscreen::AdjustRectsForBlit | ( | const TMCRect & | totalsrc, | |
| const TMCRect & | totaldst, | |||
| TMCRect & | srcRect, | |||
| TMCRect & | ioDstRect | |||
| ) | const [protected] |
| boolean TMCOffscreen::IsValid | ( | void | ) | const [inline] |
| virtual TMCPixelBucket& TMCOffscreen::PixelBucket | ( | void | ) | [inline, virtual] |
| virtual const TMCPixelBucket& TMCOffscreen::PixelBucket | ( | void | ) | const [inline, virtual] |
| uint32 TMCOffscreen::GetWidth | ( | void | ) | const [inline] |
| uint32 TMCOffscreen::GetHeight | ( | void | ) | const [inline] |
| int32 TMCOffscreen::GetLeft | ( | void | ) | const [inline] |
| int32 TMCOffscreen::GetTop | ( | void | ) | const [inline] |
| uint8* TMCOffscreen::GetBaseAddress | ( | void | ) | [inline] |
| const uint8* TMCOffscreen::GetBaseAddress | ( | void | ) | const [inline] |
| uint32 TMCOffscreen::GetBitDepth | ( | void | ) | const [inline] |
| uint32 TMCOffscreen::GetRowBytes | ( | void | ) | const [inline] |
| uint32 TMCOffscreen::GetPadding | ( | void | ) | const [inline] |
| uint32 TMCOffscreen::GetPlanes | ( | void | ) | const [inline] |
| boolean TMCOffscreen::GetRightSideUp | ( | void | ) | const [inline] |
| EBlitType TMCOffscreen::GetBlitType | ( | void | ) | const [inline] |
| boolean TMCOffscreen::GetAllowGCDrawing | ( | void | ) | const [inline] |
| virtual TMCRect TMCOffscreen::GetRect | ( | void | ) | const [virtual] |
| virtual SystemGCPtr TMCOffscreen::PrepareForGraphicContextDraw | ( | void | ) | [virtual] |
| virtual void TMCOffscreen::FinishedGraphicContextDraw | ( | void | ) | [virtual] |
| virtual void TMCOffscreen::FillMCInformation | ( | void | ) | [virtual] |
DEPRECATED.
| virtual boolean TMCOffscreen::SetBlitType | ( | TMCOffscreen::EBlitType | type | ) | [virtual] |
| virtual void TMCOffscreen::GetPixel | ( | int32 | xLoc, | |
| int32 | yLoc, | |||
| TMCARGBColor & | pixel | |||
| ) | const [virtual] |
| virtual void TMCOffscreen::SetPixel | ( | int32 | xLoc, | |
| int32 | yLoc, | |||
| const TMCARGBColor & | pixel | |||
| ) | [virtual] |
| boolean TMCOffscreen::Blit | ( | TMCOffscreen & | destOffscreen | ) | const |
| boolean TMCOffscreen::Blit | ( | TMCOffscreen & | destOffscreen, | |
| const TMCRect & | dstRect | |||
| ) | const |
| boolean TMCOffscreen::Blit | ( | TMCOffscreen & | destOffscreen, | |
| const TMCRect & | dstRect, | |||
| const TMCRect & | srcRect | |||
| ) | const |
| boolean TMCOffscreen::Blit | ( | IMCGraphicContext & | destContext, | |
| const TMCRect & | dstRect | |||
| ) | const |
| boolean TMCOffscreen::Blit | ( | IMCGraphicContext & | destContext, | |
| const TMCRect & | dstRect, | |||
| const TMCRect & | srcRect | |||
| ) | const |
| virtual boolean TMCOffscreen::BlitAtPoint | ( | TMCOffscreen & | destOffscreen, | |
| const TMCPoint & | dstPt, | |||
| EBlitLocation | blitLocation | |||
| ) | const [virtual] |
| virtual boolean TMCOffscreen::GetBlitAtPointRect | ( | const TMCPoint & | dstPt, | |
| EBlitLocation | blitLocation, | |||
| TMCRect & | rect | |||
| ) | const [virtual] |
boolean TMCOffscreen::fValid [protected] |
EBlitType TMCOffscreen::fBlitType [protected] |
TMCPixelBucket TMCOffscreen::fPixelBucket [protected] |
int32 TMCOffscreen::fTop [protected] |
int32 TMCOffscreen::fLeft [protected] |
uint32 TMCOffscreen::fWidth [protected] |
uint32 TMCOffscreen::fHeight [protected] |
uint8* TMCOffscreen::fBaseAddress [protected] |
uint32 TMCOffscreen::fBitDepth [protected] |
uint32 TMCOffscreen::fRowBytes [protected] |
uint32 TMCOffscreen::fPadding [protected] |
uint32 TMCOffscreen::fPlanes [protected] |
PixelBucketType TMCOffscreen::fBucketType [protected] |
boolean TMCOffscreen::fRightSideUp [protected] |
boolean TMCOffscreen::fAllowGCDrawing [protected] |
int32 TMCOffscreen::fPrepared [protected] |
SystemGCPtr TMCOffscreen::fGCDrawPtr [protected] |
1.5.3