PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBGraphics
Wrapper Class for the IGraphics interface.
#include <SFBGraphics.h.hpp>
class SFBGraphics : public SFBBase;
SFMTYPEDEFWRAPPER(SFBGraphics)

Inheritance diagram

 Inheritance diagram of SFBGraphicsClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
O O O O

Reference

BREW API IGraphics

Member

Public Functions
SFCError ClearRect( SFXRectanglePtr rect )
Clear a rectangular area of the window by filling it with the background color.
Void ClearViewport( Void )
Clear the current viewport to the background color.
SFCError DrawArc( SFXArcPtr arc )
Draw a circle arc. The color of arc is the current foreground color.
SFCError DrawCircle( SFXCirclePtr circle )
Draw a circle.
SFCError DrawEllipse( SFXEllipsePtr ellipse )
Draw an ellipse.
SFCError DrawEllipticalArc( SFXRectanglePtr rect , SInt16 startAngle , SInt16 arcAngle )
Draw an elliptical arc.
SFCError DrawLine( SFXLinePtr line )
Draw a line segment, given the starting point and ending point.
SFCError DrawPie( SFXPiePtr pie )
Draw a circular pie.
SFCError DrawPoint( SFXPixelPtr pixel )
Draw a point with the current point size and foreground color.
SFCError DrawPolygon( SFXPolygonPtr polygon )
Draw a polygon.
SFCError DrawPolyline( SFXPolylinePtr polyline )
Draw a polyline.
SFCError DrawRect( SFXRectanglePtr rect )
Draw an axis-aligned rectangle.
SFCError DrawRoundRectangle( SFXRectanglePtr rect , SInt16 arcWidth , SInt16 arcHeight )
Draw a rectangle with rounded corners.
SFCError DrawRoundRectangle( SFXRectanglePtr rect , SFXSizeConstRef size )
Draw a rectangle with rounded corners.
SFCError DrawTriangle( SFXTrianglePtr triangle )
Draw a triangle.
Bool EnableDoubleBuffer( Bool flag = true )
Turn on double buffering by passing in true and turns it off by passing in false.
AEEAlgorithmHint GetAlgorithmHint( Void )
Query the current algorithm hint.
Void GetBackground( UInt08Ptr r , UInt08Ptr g , UInt08Ptr b )
Query the RGB values of the current background color.
Void GetBackground( SFXRGBColorPtr color )
Query the RGB values of the current background color.
SFXRGBColor GetBackground( Void )
Query the RGB values of the current background color.
Bool GetClip( SFXClipPtr shape )
Get the current clipping area, specified by a closed geometric primitive.
SFXClip GetClip( Void )
Get the current clipping area, specified by a closed geometric primitive.
Void GetColor( UInt08Ptr r , UInt08Ptr g , UInt08Ptr b , UInt08Ptr alpha )
Get the RGBA value for the current foreground color.
Void GetColor( SFXRGBColorPtr color )
Get the RGBA value for the current foreground color.
SFXRGBColor GetColor( Void )
Get the RGBA value for the current foreground color.
UInt08 GetColorDepth( Void )
Get the color depth of the device.
SFBBitmapSmp GetDestination( Void )
Get the destination bitmap to which will be rendered.
Void GetFillColor( UInt08Ptr r , UInt08Ptr g , UInt08Ptr b , UInt08Ptr alpha )
Get the RGBA value for the current fill color.
Void GetFillColor( SFXRGBColorPtr color )
Get the RGBA value for the current fill color.
SFXRGBColor GetFillColor( Void )
Get the RGBA value for the current fill color.
Bool GetFillMode( Void )
Query the current fill-mode.
static
SFBGraphicsSmp
GetInstance( Void )
Get the SFBGraphics instance.
AEEPaintMode GetPaintMode( Void )
Get the current paint mode.
UInt08 GetPointSize( Void )
Get the current point size in terms of number of pixels.
AEEStrokeStyle GetStrokeStyle( Void )
Get the Stroke Style.
Bool GetViewport( SFXRectanglePtr rect , BoolPtr framed = null )
Get the current viewport (a rectangular area on the screen coordinate frame) for drawing.
SFXRectangle GetViewport( BoolPtr framed = null )
Get the current viewport (a rectangular area on the screen coordinate frame) for drawing.
static
SFBGraphicsSmp
NewInstance( SFCErrorPtr exception = null )
Create a new SFBGraphics instance.
static
SFBGraphicsSmp
NewInstance( AEECLSID id , SFCErrorPtr exception = null )
Create a new SFBGraphics instance.
Void Pan( SInt16 cx , SInt16 cy )
Re-center the window in the world-coordinate system.
Void Pan( SFXGridConstRef grid )
Re-center the window in the world-coordinate system.
Bool ResetClip( Void )
Reset the clipping area.
SFCError ResetDestination( Void )
Reset the destination bitmap to which IGRAPHICS functions will render.
Bool ResetViewport( Void )
Reset the viewport (a rectangular area) to default.
Void SetAlgorithmHint( AEEAlgorithmHint hint )
Set the algorithm hint for some drawing operations.
RGBVAL SetBackground( UInt08Ptr r , UInt08Ptr g , UInt08Ptr b )
Set the RGB values of the current background color.
SFXRGBColor SetBackground( SFXRGBColorConstRef color )
Set the RGB values of the current background color.
Bool SetClip( SFXClipPtr shape , UInt08 flag )
Set the clipping area.
RGBVAL SetColor( UInt08Ptr r , UInt08Ptr g , UInt08Ptr b , UInt08 alpha = UINT08_MINIMUM )
Set the current foreground color's RGBA value.
SFXRGBColor SetColor( SFXRGBColorConstRef color )
Set the current foreground color's RGBA value.
SFCError SetDestination( SFBBitmapSmpConstRef bmpDest )
Set the destination bitmap to which will be rendered.
RGBVAL SetFillColor( UInt08Ptr r , UInt08Ptr g , UInt08Ptr b , UInt08 alpha = UINT08_MINIMUM )
Set the fill color for all subsequent drawings of closed geometric primitives.
SFXRGBColor SetFillColor( SFXRGBColorConstRef color )
Set the fill color for all subsequent drawings of closed geometric primitives.
Bool SetFillMode( Bool fill )
Turn on the fill-mode for all subsequent closed geometric primitives by passing in true. It turns off the fill-mode by passing in false.
AEEPaintMode SetPaintMode( AEEPaintMode mode )
Set the paint mode.
UInt08 SetPointSize( UInt08 size )
Set the size (width) of a point in terms of number of pixels.
AEEStrokeStyle SetStrokeStyle( AEEStrokeStyle strokeStyle )
Set the Stroke Style.
Bool SetViewport( SFXRectanglePtr rect , UInt08 flag = AEE_GRAPHICS_NONE )
Set the viewport (a rectangular area) for drawing.
Void StretchBlt( SInt16 xDest , SInt16 yDest , SInt16 wDest , SInt16 hDest , VoidConstPtr bmpSrc , AEERasterOp rop = AEE_RO_COPY )
This function stretch-blt an input bitmap to the specified position and width/height.
Void StretchBlt( SInt16 xDest , SInt16 yDest , SInt16 wDest , SInt16 hDest , SFXBufferConstRef bmpSrc , AEERasterOp rop = AEE_RO_COPY )
This function stretch-blt an input bitmap to the specified position and width/height.
Void StretchBlt( SFXRectangleConstRef rectDest , VoidConstPtr bmpSrc , AEERasterOp rop = AEE_RO_COPY )
This function stretch-blt an input bitmap to the specified position and width/height.
Void StretchBlt( SFXRectangleConstRef rectDest , SFXBufferConstRef bmpSrc , AEERasterOp rop = AEE_RO_COPY )
This function stretch-blt an input bitmap to the specified position and width/height.
Void Translate( SInt16 x , SInt16 y )
Translate the window's origin in the world-coordinate system.
Void Translate( SFXGridConstRef grid )
Translate the window's origin in the world-coordinate system.
Void Update( Void )
Notify the display hardware after rendering the device bitmap.
Protected Functions
static
SFBBaseSmp
FactoryByCreate( AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface.
static
SFBBaseSmp
FactoryByQuery( SFBQuerySmpConstRef query , AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.

SFBGraphics::ClearRect
Clear a rectangular area of the window by filling it with the background color.
[ public ]
SFCError ClearRect(
    SFXRectanglePtr rect   // pointer to the rectangle that specifies the area to cleared
);

Description

The input rectangle is specified bt world coordinate.

Reference

BREW API IGRAPHICS_ClearRect


SFBGraphics::ClearViewport
Clear the current viewport to the background color.
[ public ]
Void ClearViewport(Void);

Reference

BREW API IGRAPHICS_ClearViewport


SFBGraphics::DrawArc
Draw a circle arc. The color of arc is the current foreground color.
[ public ]
SFCError DrawArc(
    SFXArcPtr arc   // pointer to the arc to be drawn
);

Reference

IGRAPHICS_DrawArc | SFXArc


SFBGraphics::DrawCircle
Draw a circle.
[ public ]
SFCError DrawCircle(
    SFXCirclePtr circle   // pointer to the circle to be drawn
);

Reference

BREW API IGRAPHICS_DrawCircle | SFXCircle


SFBGraphics::DrawEllipse
Draw an ellipse.
[ public ]
SFCError DrawEllipse(
    SFXEllipsePtr ellipse   // pointer to the ellipse to be drawn
);

Reference

BREW API IGRAPHICS_DrawEllipse | SFXEllipse


SFBGraphics::DrawEllipticalArc
Draw an elliptical arc.
[ public ]
SFCError DrawEllipticalArc(
    SFXRectanglePtr rect   // rectangle containing the ellipse 
    SInt16 startAngle      // start angle of the arc in degrees
    SInt16 arcAngle        // size of the arc in degrees
);

Reference

BREW API IGRAPHICS_DrawEllipticalArc


SFBGraphics::DrawLine
Draw a line segment, given the starting point and ending point.
[ public ]
SFCError DrawLine(
    SFXLinePtr line   // pointer to the line to be drawn
);

Reference

BREW API IGRAPHICS_DrawLine | SFXLine


SFBGraphics::DrawPie
Draw a circular pie.
[ public ]
SFCError DrawPie(
    SFXPiePtr pie   // pointer to the pie to be drawn
);

Reference

BREW API IGRAPHICS_DrawPie | SFXPie


SFBGraphics::DrawPoint
Draw a point with the current point size and foreground color.
[ public ]
SFCError DrawPoint(
    SFXPixelPtr pixel   // pointer to the point to be drawn
);

Reference

BREW API IGRAPHICS_DrawPoint | SFXGrid


SFBGraphics::DrawPolygon
Draw a polygon.
[ public ]
SFCError DrawPolygon(
    SFXPolygonPtr polygon   // pointer to the polygon to be drawn
);

Reference

BREW API IGRAPHICS_DrawPolygon | SFXPolygon


SFBGraphics::DrawPolyline
Draw a polyline.
[ public ]
SFCError DrawPolyline(
    SFXPolylinePtr polyline   // pointer to the polyline to be drawn
);

Reference

BREW API IGRAPHICS_DrawPolyline | SFXPolyline


SFBGraphics::DrawRect
Draw an axis-aligned rectangle.
[ public ]
SFCError DrawRect(
    SFXRectanglePtr rect   // pointer to the rectangle to be drawn
);

Reference

BREW API IGRAPHICS_DrawRect | SFXRectangle


SFBGraphics::DrawRoundRectangle
Draw a rectangle with rounded corners.
[ public ]
SFCError DrawRoundRectangle(
    SFXRectanglePtr rect   // pointer to the rectangle to be drawn
    SInt16 arcWidth        // width of ellipse used for corner arc
    SInt16 arcHeight       // height of ellipse used for corner arc
);
[ public ]
SFCError DrawRoundRectangle(
    SFXRectanglePtr rect   // pointer to the rectangle to be drawn
    SFXSizeConstRef size   // width and height of ellipse used for corner arc
);

Reference

BREW API IGRAPHICS_DrawRoundRectangle | SFXRectangle


SFBGraphics::DrawTriangle
Draw a triangle.
[ public ]
SFCError DrawTriangle(
    SFXTrianglePtr triangle   // pointer to the triangle to be drawn
);

Reference

BREW API IGRAPHICS_DrawTriangle | SFXTriangle


SFBGraphics::EnableDoubleBuffer
Turn on double buffering by passing in true and turns it off by passing in false.
[ public ]
Bool EnableDoubleBuffer(
    Bool flag = true   // a boolean value: true to enable double buffering, false to disable double buffering
);

SFBGraphics::GetAlgorithmHint
Query the current algorithm hint.
[ public ]
AEEAlgorithmHint GetAlgorithmHint(Void);

Description

The Algorithm Hint is, the prescription while trading off the speed and precision of rendering.

Reference

BREW API IGRAPHICS_GetAlgorithmHint | SFBGraphics::SetAlgorithmHint | SFBGraphics::DrawPolygon


SFBGraphics::GetBackground
Query the RGB values of the current background color.
[ public ]
Void GetBackground(
    UInt08Ptr r   // pointer to the red component of the RGB color
    UInt08Ptr g   // pointer to the green component of the RGB color
    UInt08Ptr b   // pointer to the blue component of the RGB color
);
[ public ]
Void GetBackground(
    SFXRGBColorPtr color   // pointer to the SFXRGBColor
);
[ public ]
SFXRGBColor GetBackground(Void);

Reference

BREW API IGRAPHICS_GetBackground | SFBGraphics::SetBackground


SFBGraphics::GetClip
Get the current clipping area, specified by a closed geometric primitive.
[ public ]
Bool GetClip(
    SFXClipPtr shape   // pointer the current clipping shape
);
[ public ]
SFXClip GetClip(Void);

Reference

BREW API IGRAPHICS_GetClip | SFXClip


SFBGraphics::GetColor
Get the RGBA value for the current foreground color.
[ public ]
Void GetColor(
    UInt08Ptr r       // pointer to the red component of the RGB color
    UInt08Ptr g       // pointer to the green component of the RGB color
    UInt08Ptr b       // pointer to the blue component of the RGB color
    UInt08Ptr alpha   // alpha value
);
[ public ]
Void GetColor(
    SFXRGBColorPtr color   // pointer to the SFXRGBColor
);
[ public ]
SFXRGBColor GetColor(Void);

Reference

BREW API IGRAPHICS_GetColor | SFBGraphics::SetColor


SFBGraphics::GetColorDepth
Get the color depth of the device.
[ public ]
UInt08 GetColorDepth(Void);

Reference

BREW API IGRAPHICS_GetColorDepth | SFBShell::GetDeviceInfo


SFBGraphics::GetDestination
Get the destination bitmap to which will be rendered.
[ public ]
SFBBitmapSmp GetDestination(Void);

Reference

BREW API IGRAPHICS_GetDestination | SFBGraphics::SetDestination


SFBGraphics::GetFillColor
Get the RGBA value for the current fill color.
[ public ]
Void GetFillColor(
    UInt08Ptr r       // pointer to the red component of the RGB color
    UInt08Ptr g       // pointer to the green component of the RGB color
    UInt08Ptr b       // pointer to the blue component of the RGB color
    UInt08Ptr alpha   // alpha value
);
[ public ]
Void GetFillColor(
    SFXRGBColorPtr color   // pointer to the SFXRGBColor
);
[ public ]
SFXRGBColor GetFillColor(Void);

Reference

BREW API IGRAPHICS_GetFillColor


SFBGraphics::GetFillMode
Query the current fill-mode.
[ public ]
Bool GetFillMode(Void);

Reference

BREW API IGRAPHICS_GetFillMode


SFBGraphics::GetInstance
Get the SFBGraphics instance.
[ public, static ]
SFBGraphicsSmp GetInstance(Void);

SFBGraphics::GetPaintMode
Get the current paint mode.
[ public ]
AEEPaintMode GetPaintMode(Void);

Reference

BREW API IGRAPHICS_GetPaintMode | AEEPaintMode


SFBGraphics::GetPointSize
Get the current point size in terms of number of pixels.
[ public ]
UInt08 GetPointSize(Void);

Reference

BREW API IGRAPHICS_GetPointSize


SFBGraphics::GetStrokeStyle
Get the Stroke Style.
[ public ]
AEEStrokeStyle GetStrokeStyle(Void);

Reference

BREW API IGRAPHICS_GetStrokeStyle | SFBGraphics::SetStrokeStyle


SFBGraphics::GetViewport
Get the current viewport (a rectangular area on the screen coordinate frame) for drawing.
[ public ]
Bool GetViewport(
    SFXRectanglePtr rect    // pointer to the rectangular shape that specifies the current viewport area for drawing
    BoolPtr framed = null   // true if the viewport is framed, false otherwise
);
[ public ]
SFXRectangle GetViewport(
    BoolPtr framed = null   // true if the viewport is framed, false otherwise
);

Reference

BREW API IGRAPHICS_GetViewport | SFBGraphics::SetViewport


SFBGraphics::NewInstance
Create a new SFBGraphics instance.
[ public, static ]
SFBGraphicsSmp NewInstance(
    SFCErrorPtr exception = null   // Error
);
[ public, static ]
SFBGraphicsSmp NewInstance(
    AEECLSID id                    // Class ID
    SFCErrorPtr exception = null   // Error
);

SFBGraphics::Pan
Re-center the window in the world-coordinate system.
[ public ]
Void Pan(
    SInt16 cx   // X coordinate of the new center in world coordinate frame
    SInt16 cy   // Y coordinate of the new center in world coordinate frame
);
[ public ]
Void Pan(
    SFXGridConstRef grid   // grid of the new center in world coordinate frame
);

Reference

BREW API IGRAPHICS_Pan | SFBGraphics::Translate


SFBGraphics::ResetClip
Reset the clipping area.
[ public ]
Bool ResetClip(Void);

Description

This function is the same as calling SFBGraphics::SetClip( null , 0 ).


SFBGraphics::ResetDestination
Reset the destination bitmap to which IGRAPHICS functions will render.
[ public ]
SFCError ResetDestination(Void);

Description

This function is the same as calling SFBGraphics::SetDestination( null ).

Reference

SFBGraphics::SetDestination


SFBGraphics::ResetViewport
Reset the viewport (a rectangular area) to default.
[ public ]
Bool ResetViewport(Void);

Reference

BREW API IGRAPHICS_SetViewport | SFBGraphics::GetViewport


SFBGraphics::SetAlgorithmHint
Set the algorithm hint for some drawing operations.
[ public ]
Void SetAlgorithmHint(
    AEEAlgorithmHint hint   // algorithm hint
);

Description

The Algorithm Hint is, the prescription while trading off the speed and precision of rendering.

Reference

BREW API IGRAPHICS_SetAlgorithmHint | AEEAlgorithmHint | SFBGraphics::DrawPolygon | SFBGraphics::GetAlgorithmHint


SFBGraphics::SetBackground
Set the RGB values of the current background color.
[ public ]
RGBVAL SetBackground(
    UInt08Ptr r   // the red component of the RGB color
    UInt08Ptr g   // the green component of the RGB color
    UInt08Ptr b   // the blue component of the RGB color
);
[ public ]
SFXRGBColor SetBackground(
    SFXRGBColorConstRef color   // color
);

Reference

BREW API IGRAPHICS_SetBackground | SFBGraphics::GetBackground


SFBGraphics::SetClip
Set the clipping area.
[ public ]
Bool SetClip(
    SFXClipPtr shape   // pointer to the clipping shape
    UInt08 flag        // bitmap flags
);

Reference

BREW API IGRAPHICS_SetClip | SFXClip


SFBGraphics::SetColor
Set the current foreground color's RGBA value.
[ public ]
RGBVAL SetColor(
    UInt08Ptr r                     // the red component of the RGB color
    UInt08Ptr g                     // the green component of the RGB color
    UInt08Ptr b                     // the blue component of the RGB color
    UInt08 alpha = UINT08_MINIMUM   // alpha value
);
[ public ]
SFXRGBColor SetColor(
    SFXRGBColorConstRef color   // color
);

Reference

BREW API IGRAPHICS_SetColor | SFBGraphics::GetColor


SFBGraphics::SetDestination
Set the destination bitmap to which will be rendered.
[ public ]
SFCError SetDestination(
    SFBBitmapSmpConstRef bmpDest   // SFBBitmap interface pointer that will be used for rendering, 
                                   // or null to set to screen bitmap
);

Reference

BREW API IGRAPHICS_SetDestination | SFBGraphics::GetDestination


SFBGraphics::SetFillColor
Set the fill color for all subsequent drawings of closed geometric primitives.
[ public ]
RGBVAL SetFillColor(
    UInt08Ptr r                     // the red component of the RGB color
    UInt08Ptr g                     // the green component of the RGB color
    UInt08Ptr b                     // the blue component of the RGB color
    UInt08 alpha = UINT08_MINIMUM   // alpha value
);
[ public ]
SFXRGBColor SetFillColor(
    SFXRGBColorConstRef color   // color
);

Reference

BREW API IGRAPHICS_SetFillColor | SFBGraphics::GetFillColor


SFBGraphics::SetFillMode
Turn on the fill-mode for all subsequent closed geometric primitives by passing in true. It turns off the fill-mode by passing in false.
[ public ]
Bool SetFillMode(
    Bool fill   // boolean value: true to turn on the fill mode, false to turn off the fill-mode
);

Reference

BREW API IGRAPHICS_SetFillMode | SFBGraphics::GetFillMode


SFBGraphics::SetPaintMode
Set the paint mode.
[ public ]
AEEPaintMode SetPaintMode(
    AEEPaintMode mode   // the enum value for paint mode
);

Reference

BREW API IGRAPHICS_SetPaintMode | AEEPaintMode


SFBGraphics::SetPointSize
Set the size (width) of a point in terms of number of pixels.
[ public ]
UInt08 SetPointSize(
    UInt08 size   // size (width) of a point in terms of number of pixels
);

Reference

BREW API IGRAPHICS_SetPointSize | SFBGraphics::GetPointSize


SFBGraphics::SetStrokeStyle
Set the Stroke Style.
[ public ]
AEEStrokeStyle SetStrokeStyle(
    AEEStrokeStyle strokeStyle   // stroke style to be used for drawing
);

Reference

BREW API IGRAPHICS_SetStrokeStyle | SFBGraphics::GetStrokeStyle


SFBGraphics::SetViewport
Set the viewport (a rectangular area) for drawing.
[ public ]
Bool SetViewport(
    SFXRectanglePtr rect              
    UInt08 flag = AEE_GRAPHICS_NONE   
);

Argument

rect

Pointer to the rectangular shape, which specifies the area for display.

flag

It returns true only if the displayable area is nonempty and the viewport is completely contained in the physical screen. Otherwise, it returns false. When it returns false for any reason, the previous window settings are retained.

If AEE_GRAPHICS_FRAME is set, it draws the frame. The minimum value for dx, dy is 3 pixel.

If AEE_GRAPHICS_NONE is set, the minimum value for dx, dy is 1 pixel.

If AEE_GRAPHICS_CLEAR is set, it clears the viewport to the background color.

Reference

BREW API IGRAPHICS_SetViewport | SFBGraphics::GetViewport


SFBGraphics::StretchBlt
This function stretch-blt an input bitmap to the specified position and width/height.
[ public ]
Void StretchBlt(
    SInt16 xDest                    // specifies the X coordinates of the upper left corner of the destination rectangular area
    SInt16 yDest                    // specifies the Y coordinates of the upper left corner of the destination rectangular area
    SInt16 wDest                    // destination width
    SInt16 hDest                    // destination height
    VoidConstPtr bmpSrc             // pointer to a Windows BMP structure containing the source bitmap
                                    // the data beening pointed is without the AEE header 
                                    // the data should start from BITMAPFILEHEADER 
                                    // the BMP should be noncompressed
    AEERasterOp rop = AEE_RO_COPY   // specifies the Raster operation that must be used while doing the bit-block transfer
);
[ public ]
Void StretchBlt(
    SInt16 xDest                    // specifies the X coordinates of the upper left corner of the destination rectangular area
    SInt16 yDest                    // specifies the Y coordinates of the upper left corner of the destination rectangular area
    SInt16 wDest                    // destination width
    SInt16 hDest                    // destination height
    SFXBufferConstRef bmpSrc        // pointer to a Windows BMP structure containing the source bitmap. 
                                    // the data beening pointed is without the AEE header
                                    // the data should start from BITMAPFILEHEADER
                                    // the BMP should be noncompressed
    AEERasterOp rop = AEE_RO_COPY   // specifies the Raster operation that must be used while doing the bit-block transfer
);
[ public ]
Void StretchBlt(
    SFXRectangleConstRef rectDest   // destination rectangle
    VoidConstPtr bmpSrc             // pointer to a Windows BMP structure containing the source bitmap 
                                    // the data beening pointed is without the AEE header 
                                    // the data should start from BITMAPFILEHEADER
                                    // the BMP should be noncompressed
    AEERasterOp rop = AEE_RO_COPY   // specifies the Raster operation that must be used while doing the bit-block transfer
);
[ public ]
Void StretchBlt(
    SFXRectangleConstRef rectDest   // destination rectangle
    SFXBufferConstRef bmpSrc        // pointer to a Windows BMP structure containing the source bitmap. 
                                    // the data beening pointed is without the AEE header. 
                                    // the data should start from BITMAPFILEHEADER. 
                                    // the BMP should be noncompressed
    AEERasterOp rop = AEE_RO_COPY   // specifies the Raster operation that must be used while doing the bit-block transfer
);

Reference

BREW API IGRAPHICS_StretchBlt | AEERasterOp


SFBGraphics::Translate
Translate the window's origin in the world-coordinate system.
[ public ]
Void Translate(
    SInt16 x   // the window's origin will be translated by x pixels along X-axis
    SInt16 y   // the window's origin will be translated by y pixels along Y-axis
);
[ public ]
Void Translate(
    SFXGridConstRef grid   // the window's origin will be translated by a grid
);

Reference

BREW API IGRAPHICS_Translate | SFBGraphics::Pan


SFBGraphics::Update
Notify the display hardware after rendering the device bitmap.
[ public ]
Void Update(Void);

Reference

BREW API IGRAPHICS_Update