DirectFB Reference Manual
DirectFB Interfaces   IDirectFBSurface

No summary yet...

Methods of IDirectFBSurface
Retrieving information GetCapabilities Return the capabilities of this surface.
GetSize Get the surface's width and height in pixels.
GetVisibleRectangle Created sub surfaces might be clipped by their parents, this function returns the resulting rectangle relative to this surface.
GetPixelFormat Get the current pixel format.
GetAccelerationMask Get a mask of drawing functions that are hardware accelerated with the current settings.
Palette control GetPalette Get access to the surface's palette.
SetPalette Change the surface's palette.
Buffer operations Lock Lock the surface for the access type specified.
Unlock Unlock the surface after direct access.
Flip Flip the two buffers of the surface.
SetField Set the active field.
Clear Clear the surface with an extra color.
Drawing/blitting control SetClip Set the clipping region used to limitate the area for drawing, blitting and text functions.
SetColor Set the color used for drawing/text functions or alpha/color modulation (blitting functions).
SetColorIndex Set the color like with SetColor() but using an index to the color/alpha lookup table.
SetSrcBlendFunction Set the blend function that applies to the source.
SetDstBlendFunction Set the blend function that applies to the destination.
SetPorterDuff Set the source and destination blend function by specifying a Porter/Duff rule.
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.
SetSrcColorKeyIndex Set the source color key like with SetSrcColorKey() but using an index to the color/alpha lookup table.
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.
SetDstColorKeyIndex Set the destination color key like with SetDstColorKey() but using an index to the color/alpha lookup table.
Blitting functions SetBlittingFlags Set the flags for all subsequent blitting commands.
Blit Blit an area from the source to this surface.
TileBlit Blit an area from the source tiled to this surface.
StretchBlit Blit an area scaled from the source to the destination rectangle.
Drawing functions SetDrawingFlags Set the flags for all subsequent drawing commands.
FillRectangle Fill the specified rectangle with the given color following the specified flags.
DrawRectangle Draw an outline of the specified rectangle with the given color following the specified flags.
DrawLine Draw a line from one point to the other with the given color following the drawing flags.
DrawLines Draw 'num_lines' lines with the given color following the drawing flags. Each line specified by a DFBRegion.
FillTriangle Fill a non-textured triangle.
Text functions SetFont Set the font used by DrawString() and DrawGlyph(). You can pass NULL here to unset the font.
GetFont Get the font associated with a surface.
DrawString Draw an UTF-8 string at the specified position with the given color following the specified flags.
DrawGlyph Draw a single glyph specified by its Unicode index at the specified position with the given color following the specified flags.
Lightweight helpers GetSubSurface Get an interface to a sub area of this surface.
OpenGL GetGL Get an OpenGL context for this surface.

  (C) Copyright by convergence GmbH