
Public Member Functions | |
| virtual IMFPart *MCCOMAPI | GetThisPart ()=0 |
| virtual void MCCOMAPI | AllocateOffScreen (uint32 width, uint32 height, uint32 bitDepth)=0 |
| virtual void MCCOMAPI | DeleteOffScreen ()=0 |
| virtual TMCOffscreen *MCCOMAPI | GetOffscreen ()=0 |
| virtual void MCCOMAPI | DrawCheckerOffScreen ()=0 |
| virtual boolean MCCOMAPI | ScreenToOffscreen (TMCPoint &ioPoint)=0 |
| virtual void MCCOMAPI | GetDisplayBounds (TMCRect &outBounds)=0 |
| virtual IMFPart* MCCOMAPI IMFOffscreenPart::GetThisPart | ( | ) | [pure virtual] |
IMFOffscreenPart owns a TMFOffscreenPart which is an IMFPart. Returns the IMFPart interface.
| virtual void MCCOMAPI IMFOffscreenPart::AllocateOffScreen | ( | uint32 | width, | |
| uint32 | height, | |||
| uint32 | bitDepth | |||
| ) | [pure virtual] |
Allocates a new internal offscreen and deletes the old one.
| width | Width in pixels of the offscreen to allocate | |
| height | Height in pixels of the offscreen to allocate | |
| bitDepth | Bit depth of the offscreen to allocate |
| virtual void MCCOMAPI IMFOffscreenPart::DeleteOffScreen | ( | ) | [pure virtual] |
Deletes the internal offscreen. Calling this is optional, as AllocateOffScreen() will automatically delte its old offscreen.
| virtual TMCOffscreen* MCCOMAPI IMFOffscreenPart::GetOffscreen | ( | ) | [pure virtual] |
| virtual void MCCOMAPI IMFOffscreenPart::DrawCheckerOffScreen | ( | ) | [pure virtual] |
Draws a checkerboard pattern in the internal offscreen. You must have already called AllocateOffScreen() prior to calling this function.
Conerts a point from screen coordinates into offscreen coordinates.
| ioPoint | The point to be converted to offscreen coordinates. |
| virtual void MCCOMAPI IMFOffscreenPart::GetDisplayBounds | ( | TMCRect & | outBounds | ) | [pure virtual] |
Returns in local coordinates the bounds into wich the offscreen is displayed. This may be different than the part's bounds if it has a different aspect ratio.
| outBounds | A TMCRect into which the function places the bounds. TMCRect::kInvalid if the offscreen is null |
1.5.3