http://www.directfb.org
index.html
DirectFB Reference Manual
index.html
DirectFB Interfaces
IDirectFBSurface
No summary yet...
Methods of IDirectFBSurface
Retrieving information
IDirectFBSurface_GetCapabilities.html
GetCapabilities
Return the capabilities of this surface.
IDirectFBSurface_GetSize.html
GetSize
Get the surface's width and height in pixels.
IDirectFBSurface_GetVisibleRectangle.html
GetVisibleRectangle
Created sub surfaces might be clipped by their parents, this function returns the resulting rectangle relative to this surface.
IDirectFBSurface_GetPixelFormat.html
GetPixelFormat
Get the current pixel format.
IDirectFBSurface_GetAccelerationMask.html
GetAccelerationMask
Get a mask of drawing functions that are hardware accelerated with the current settings.
Palette & Alpha Ramp
IDirectFBSurface_GetPalette.html
GetPalette
Get access to the surface's palette.
IDirectFBSurface_SetPalette.html
SetPalette
Change the surface's palette.
IDirectFBSurface_SetAlphaRamp.html
SetAlphaRamp
Set the alpha ramp for formats with one or two alpha bits.
Buffer operations
IDirectFBSurface_Lock.html
Lock
Lock the surface for the access type specified.
IDirectFBSurface_Unlock.html
Unlock
Unlock the surface after direct access.
IDirectFBSurface_Flip.html
Flip
Flip the two buffers of the surface.
IDirectFBSurface_SetField.html
SetField
Set the active field.
IDirectFBSurface_Clear.html
Clear
Clear the surface and its depth buffer if existent.
Drawing/blitting control
IDirectFBSurface_SetClip.html
SetClip
Set the clipping region used to limitate the area for drawing, blitting and text functions.
IDirectFBSurface_SetColor.html
SetColor
Set the color used for drawing/text functions or alpha/color modulation (blitting functions).
IDirectFBSurface_SetColorIndex.html
SetColorIndex
Set the color like with SetColor() but using an index to the color/alpha lookup table.
IDirectFBSurface_SetSrcBlendFunction.html
SetSrcBlendFunction
Set the blend function that applies to the source.
IDirectFBSurface_SetDstBlendFunction.html
SetDstBlendFunction
Set the blend function that applies to the destination.
IDirectFBSurface_SetPorterDuff.html
SetPorterDuff
Set the source and destination blend function by specifying a Porter/Duff rule.
IDirectFBSurface_SetSrcColorKey.html
SetSrcColorKey
Set the source color key, i.e. the color that is excluded when blitting FROM this surface TO another that has source color keying enabled.
IDirectFBSurface_SetSrcColorKeyIndex.html
SetSrcColorKeyIndex
Set the source color key like with SetSrcColorKey() but using an index to the color/alpha lookup table.
IDirectFBSurface_SetDstColorKey.html
SetDstColorKey
Set the destination color key, i.e. the only color that gets overwritten by drawing and blitting to this surface when destination color keying is enabled.
IDirectFBSurface_SetDstColorKeyIndex.html
SetDstColorKeyIndex
Set the destination color key like with SetDstColorKey() but using an index to the color/alpha lookup table.
Blitting functions
IDirectFBSurface_SetBlittingFlags.html
SetBlittingFlags
Set the flags for all subsequent blitting commands.
IDirectFBSurface_Blit.html
Blit
Blit an area from the source to this surface.
IDirectFBSurface_TileBlit.html
TileBlit
Blit an area from the source tiled to this surface.
IDirectFBSurface_BatchBlit.html
BatchBlit
Blit a bunch of areas at once.
IDirectFBSurface_StretchBlit.html
StretchBlit
Blit an area scaled from the source to the destination rectangle.
IDirectFBSurface_TextureTriangles.html
TextureTriangles
Preliminary texture mapping support.
Drawing functions
IDirectFBSurface_SetDrawingFlags.html
SetDrawingFlags
Set the flags for all subsequent drawing commands.
IDirectFBSurface_FillRectangle.html
FillRectangle
Fill the specified rectangle with the given color following the specified flags.
IDirectFBSurface_DrawRectangle.html
DrawRectangle
Draw an outline of the specified rectangle with the given color following the specified flags.
IDirectFBSurface_DrawLine.html
DrawLine
Draw a line from one point to the other with the given color following the drawing flags.
IDirectFBSurface_DrawLines.html
DrawLines
Draw 'num_lines' lines with the given color following the drawing flags. Each line specified by a DFBRegion.
IDirectFBSurface_FillTriangle.html
FillTriangle
Fill a non-textured triangle.
IDirectFBSurface_FillRectangles.html
FillRectangles
Fill a bunch of rectangles with a single call.
IDirectFBSurface_FillSpans.html
FillSpans
Fill spans specified by x and width.
Text functions
IDirectFBSurface_SetFont.html
SetFont
Set the font used by DrawString() and DrawGlyph(). You can pass NULL here to unset the font.
IDirectFBSurface_GetFont.html
GetFont
Get the font associated with a surface.
IDirectFBSurface_DrawString.html
DrawString
Draw an UTF-8 string at the specified position with the given color following the specified flags.
IDirectFBSurface_DrawGlyph.html
DrawGlyph
Draw a single glyph specified by its Unicode index at the specified position with the given color following the specified flags.
Lightweight helpers
IDirectFBSurface_GetSubSurface.html
GetSubSurface
Get an interface to a sub area of this surface.
OpenGL
IDirectFBSurface_GetGL.html
GetGL
Get an OpenGL context for this surface.
Debug
IDirectFBSurface_Dump.html
Dump
Dump the contents of the surface to one or two files.
