|
void | Arc (const eC_Value &vX1, const eC_Value &vY1, const eC_Value &vX2, const eC_Value &vY2, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled) |
|
void | BlitImgExtImpl (const ImageResource_t &eID, const eC_UInt &uiAbsSrcX, const eC_UInt &uiAbsSrcY, const eC_UInt &uiSrcWidth, const eC_UInt &uiSrcHeight, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY, const eC_Value &vDestWidth, const eC_Value &vDestHeight, const eC_UByte &ubAlpha=255, const eC_Value &vAngle=eC_FromFloat(0), const eC_Value &vRotCenterX=eC_FromFloat(0.5), const eC_Value &vRotCenterY=eC_FromFloat(0.5)) |
|
void | CreateScreen (const eC_UInt &uiWidth, const eC_UInt &uiHeight) |
|
void | Ellipse (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2, const eC_Bool &bFilled) |
|
void | FilledRect (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2) |
|
eC_UInt | GetImageSize (const ImageResource_t &eID) const |
|
eC_UInt | GetImgHeightImpl (const ImageResource_t &eID) const |
|
eC_UInt | GetImgWidthImpl (const ImageResource_t &eID) const |
|
virtual eC_UInt | GetPhysicalScreenHeight () |
|
virtual eC_UInt | GetPhysicalScreenWidth () |
|
eC_UInt | GetVirtualScreenHeight () |
|
eC_UInt | GetVirtualScreenWidth () |
|
eC_Bool | ImageExists (const ImageResource_t eID) const |
|
void | Line (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2) |
| the following methods are protected to prevent calling them directly More...
|
|
void | LoadImgImpl (const eC_String &kPath, const ImageResource_t &eID) |
|
virtual void | LoadImgImpl (void *pkMemory, const eC_UInt &uiWidth, const eC_UInt &uiHeight, const CGUICommonEnums::ImageType_t &eImageType, const ImageResource_t &eID) |
|
void | Rect (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2) |
|
eC_Bool | Refresh (const RefreshCall_t eRefreshCallType) |
|
void | RestoreBlittingFlags () |
| Restores blitting flags to standard.
|
|
virtual void | SetCliprect (const CGUIRect &NewClipRect) |
|
void | SetForegroundColorImpl (const eC_UByte &ubRed, const eC_UByte &ubGreen, const eC_UByte &ubBlue, const eC_UByte &ubAlpha=255) |
|
void | ForceRefresh () |
|
eC_Bool | GetDoubleBufferingEnforcesFlipping () |
|
virtual eC_UInt | GetNOFImages () |
|
virtual eC_UInt | GetPhysicalScreenHeight ()=0 |
|
virtual eC_UInt | GetPhysicalScreenWidth ()=0 |
|
CGUICommonEnums::ImageType_t | GetScreenFormat () const |
|
virtual eC_UInt | GetScreenHorizontalPPI () const |
|
virtual eC_UInt | GetScreenVerticalPPI () const |
|
virtual eC_UInt | GetVirtualScreenHeight ()=0 |
|
virtual eC_UInt | GetVirtualScreenWidth ()=0 |
|
virtual eC_UByte * | GetWorkingMemory (const eC_UInt &uiSize) |
|
eC_String | GetWrapperName () const |
|
virtual eC_Bool | ImageExists (const ImageResource_t eID) const =0 |
|
virtual void | ReleaseWorkingMemory (eC_UByte *pkMemory) |
|
virtual void | ResetWorkingMemory () |
|
virtual void | RestoreWrapperState () |
|
void | SetDoubleBufferingEnforcesFlipping (const eC_Bool bDoubleBufferingEnforcesFlipping) |
|
virtual void | SetFilteredBlit (const eC_Bool &bFilteredBlit) |
|
void | SetGfxEnv (CGfxEnv *pkGfxEnv) |
|
virtual void | SetOptimizedBlit (const eC_Bool &bOptimizedBlit) |
|
void | SetScreenFormat (const CGUICommonEnums::ImageType_t &uiScreenFormat) |
|
virtual void | SetScreenSize (const eC_UInt &uiWidth, const eC_UInt &uiHeight) |
|
virtual void | SetWindowCaption (const eC_String &kText) |
|
virtual void | StoreWrapperState () |
|
virtual void | SyncWorkingMemory () |
|
void | SetForegroundColor (const eC_UByte &ubRed, const eC_UByte &ubGreen, const eC_UByte &ubBlue, const eC_UByte &ubAlpha=255) |
|
void | SetForegroundColor (const eC_UInt &uiCol) |
|
void | UpdateGlobalAlpha (const eC_UByte &ubAlpha) |
|
void | SetGlobalAlpha (const eC_UByte &ubAlpha) |
|
virtual eC_Value | SetLineWidth (const eC_Value &vWidth) |
|
eC_UInt | GetForegroundColor () const |
|
eC_UByte | GetGlobalAlpha () const |
|
eC_UByte | ApplyGlobalAlpha (const eC_UByte ubAlpha) const |
|
void | Line (const CGUIRect &kAbsRect) |
|
void | Rect (const CGUIRect &kAbsRect) |
|
void | FilledRect (const CGUIRect &kAbsRect) |
|
void | Ellipse (const CGUIRect &kAbsRect, const eC_Bool &bFilled) |
|
void | Arc (const CGUIRect &kAbsRect, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled) |
|
void | Ring (const CGUIRect &kAbsRect, const eC_Value &vRingWidth, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled) |
|
void | Text (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_String *const lpString) |
|
virtual void | RedrawGUI () |
|
virtual void | ResetCliprect () |
| Resets the clipping rectangle.
|
|
virtual void | GetCliprect (CGUIRect &AbsClipRect) const |
|
void | InvalidateRect (const CGUIRect &kInvalidRect) |
|
void | InvalidateRect (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2) |
|
const CGUIRect & | GetInvalidatedRect () const |
|
virtual void | ClearInvalidRect () |
|
void | BlitImg (const ImageResource_t &eID, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY) |
|
void | BlitImg (const CGUIImageData &kImageData, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY) |
|
void | BlitImgExt (const ImageResource_t &eID, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY, const eC_Value &vWidth, const eC_Value &vHeight, const eC_Bool &bStretch=true, const eC_UByte &ubAlpha=255) |
|
virtual void | BlitImgNinePatch (const ImageResource_t &eID, const CGUIRect &kAbsRect, const eC_UInt uiTopBorder, const eC_UInt uiBottomBorder, const eC_UInt uiLeftBorder, const eC_UInt uiRightBorder, const eC_UByte &ubAlpha=255) |
|
void | BlitImgNinePatch (const ImageResource_t &eID, const CGUIRect &kAbsRect, const CGUINinePatch &kNinePatch, const eC_UByte &ubAlpha=255) |
|
void | BlitImgExt (const ImageResource_t &eID, const CGUIRect &kAbsRect, const eC_Bool &bStretch=true, const eC_UByte &ubAlpha=255) |
|
void | BlitImgExt (const ImageResource_t &eID, const CGUIRect &kSrcAbsRect, const CGUIRect &kDstAbsRect, const eC_UByte &ubAlpha=255) |
|
void | BlitImgExt (const ImageResource_t &eID, const eC_UInt &uiAbsSrcX, const eC_UInt &uiAbsSrcY, const eC_UInt &uiSrcWidth, const eC_UInt &uiSrcHeight, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY, const eC_Value &vDestWidth, const eC_Value &vDestHeight, const eC_UByte &ubAlpha=255, const eC_Value &vAngle=eC_FromFloat(0), const eC_Value &vRotCenterX=eC_FromFloat(0.5), const eC_Value &vRotCenterY=eC_FromFloat(0.5)) |
|
eC_UInt | GetImgWidth (const ImageResource_t &eID) const |
|
eC_UInt | GetImgHeight (const ImageResource_t &eID) const |
|
CGUIRect | GetImgOriginRect (const ImageResource_t &eID) const |
|
void | SetFont (const FontResource_t &eID) |
|
void | SetFontSpacing (const eC_Float &fSpacing) |
|
void | RequiredSpace (const eC_String *const pkText, eC_Value &vWidth, eC_Value &vHeight) |
|
void | FittingNumChars (const eC_String *const pkText, eC_Value vWidthMax, eC_UInt &uiNumChars, const eC_Bool &bStartAtEnd=false) |
|
eC_Int | GetAscender () const |
|
eC_Int | GetDescender () const |
|
eC_Int | GetInternalLeading () const |
|
void | GetGlyphMetrics (const eC_Char cChar, CFntWrap::GlyphMetrics_t &kMetrics) |
|
eC_Value | GetTextXPosAdjustment (const CGUIText::HorAligned_t eHorAlignment) |
|
eC_Value | GetTextYPosAdjustment (const CGUIText::VerAligned_t eVerAlignment) |
|
eC_Bool | SetNOFFonts (const eC_UInt uiNOFFonts) |
|
eC_UInt | GetNOFFonts () |
|
void | ChangeFont (const FontResource_t &eFontID, const eC_Char *const pcPath, const eC_UInt &uiFontSize, const CFntWrap::GUIFont_t &eFontStyle) |
|
void | LoadFont (const FontResource_t &eFontID) |
|
void | UnloadFont (const FontResource_t &eFontID) |
|
virtual eC_Bool | SupportCompressedFonts () const |
|
virtual void | LoadGlyphData (CGUIImageData *pkImageData, const eC_UInt &uiGlyphWidth, const eC_UInt &uiGlyphHeight, eC_UByte *pkGlyphBitmap) |
|
virtual void | UnloadGlyphData (CGUIImageData *pkImageData) |
|
virtual eC_Bool | DrawToBitmap (GUIBitmapPlaneID_t uiBitmapID) |
|
virtual eC_Bool | DrawToScreen () |
|
virtual eC_TArray< eC_UByte > * | GetBitmapPlaneData (const GUIBitmapPlaneID_t &eBitmapPlaneID) |
|
virtual void | SetTargetLayer (const eC_UInt &uiLayerID) |
|
virtual void | SetRenderingOffset (const eC_Value &vOffsetX, const eC_Value &vOffsetY) |
|
void | GetRenderingOffset (eC_Value &vOffsetX, eC_Value &vOffsetY) |
|
virtual GUIBitmapPlaneID_t | CreateBitmapPlane (const CGUIObject &rkParentObject, const eC_Value &vWidth, const eC_Value &vHeight) |
|
void | DeleteBitmapPlane (const GUIBitmapPlaneID_t uiBitmapID) |
|
void | DeleteBitmapPlanes (const CGUIObject *pkObject) |
|
CGUIBitmapPlane & | GetBitmapPlane (const GUIBitmapPlaneID_t uiBitmapID) |
|
GUIBitmapPlaneID_t | GetUsedBitmapPlaneID () const |
|
|
void | DestroyScreen () |
| Method to clean and release the screen which was created via the CreateScreen Method. More...
|
|
virtual eC_Bool | SetNOFImagesImpl (const eC_UInt uiNOFImages) |
|
| CGfxWrap () |
| Constructor.
|
|
virtual | ~CGfxWrap (void) |
| Destructor.
|
|
virtual void | Arc (const eC_Value &vX1, const eC_Value &vY1, const eC_Value &vX2, const eC_Value &vY2, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled)=0 |
|
void | DeInit () |
| Deinitialization.
|
|
virtual void | Ellipse (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2, const eC_Bool &bFilled)=0 |
|
virtual void | FilledRect (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)=0 |
|
virtual void | Line (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)=0 |
| the following methods are protected to prevent calling them directly More...
|
|
virtual void | Rect (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2)=0 |
|
virtual void | Ring (const eC_Value &vX1, const eC_Value &vY1, const eC_Value &vX2, const eC_Value &vY2, const eC_Value &vRingWidth, const eC_Value &vStartAngle, const eC_Value &vEndAngle, const eC_Value &vRotationAngle, const eC_Bool &bFilled)=0 |
|
virtual void | SetForegroundColorImpl (const eC_UByte &ubRed, const eC_UByte &ubGreen, const eC_UByte &ubBlue, const eC_UByte &ubAlpha=255)=0 |
|
virtual void | StartHandleDraw (const CGUIRect &crkClipRect) |
|
virtual void | StartRedrawGUI () |
|
virtual void | EndRedrawGUI () |
| Callback which is called at the end of RedrawGUI() after all Invalidated areas were drawn and refreshed.
|
|
eC_Bool | SetNOFImages (const eC_UInt uiNOFImages) |
|
void | LoadImg (const eC_String &kPath, const ImageResource_t &eID) |
|
void | LoadImg (void *pkMemory, const eC_UInt &uiWidth, const eC_UInt &uiHeight, const eC_UInt &eImageType, const ImageResource_t &eID) |
|
virtual void | LoadImgImpl (void *pkMemory, const eC_UInt &uiWidth, const eC_UInt &uiHeight, const eC_UInt &eImageType, const ImageResource_t &eID)=0 |
|
virtual void | RefreshImage (const ImageResource_t &eID, void *pkMemory) |
|
virtual void | UnloadImg (const ImageResource_t &eID) |
|
virtual void | BlitImgExtImpl (const CGUIImageData &kImageData, const eC_Value &vAbsDestX, const eC_Value &vAbsDestY)=0 |
|
void | SetInvalidatedRect (const eC_Value &vAbsX1, const eC_Value &vAbsY1, const eC_Value &vAbsX2, const eC_Value &vAbsY2) |
|
void | SetInvalidatedRect (const CGUIRect &NewAbsRect) |
|
void | ResetInvalidatedRect () |
| Resets the invalidated rectangle.
|
|
CGUIBitmapPlane & | GetDummyBitmap () |
|
virtual eC_Bool | FinishDrawToBitmap () |
|
The directfb Graphics-Wrapper class.
This is a directfb implementation of a graphic wrapper. This is a linux only implementation and needs a working framebuffer device and r/w rights to /dev/fb0 and /dev/tty0. Create a file ~/.directfbrc with the contents "system=x11" to view the graphics in an XWindow.
Platform Specific Limitations
Rotated blits are unsupported. Parameters are ignored.
Ellipse primitives are unsupported.
Filtering on scaled blits is device dependent. It is enabled on platform that support it.
it is recommended to match pixel formats of input images and video outputs. When using bpp < 24 bit the behaviour of conversions are undefined.