Reference Manual - 1.0.0
DirectFB Interfaces   IDirectFBSurface

No summary yet...

Methods of IDirectFBSurface
Retrieving information GetCapabilities Return the capabilities of this surface.
GetPosition Get the surface's position in pixels.
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 & Alpha Ramp GetPalette Get access to the surface's palette.
SetPalette Change the surface's palette.
SetAlphaRamp Set the alpha ramp for formats with one or two alpha bits.
Buffer operations Lock Lock the surface for the access type specified.
GetFramebufferOffset Returns the framebuffer offset of a locked surface.
Unlock Unlock the surface after direct access.
Flip Flip/Update surface buffers.
SetField Set the active field.
Clear Clear the surface and its depth buffer if existent.
Drawing/blitting control SetClip Set the clipping region used to limit the area for drawing, blitting and text functions.
GetClip Get the clipping region used to limit 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.
BatchBlit Blit a bunch of areas at once.
StretchBlit Blit an area scaled from the source to the destination rectangle.
TextureTriangles Preliminary texture mapping support.
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.
FillRectangles Fill a bunch of rectangles with a single call.
FillSpans Fill spans specified by x and width.
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 a string at the specified position with the given color following the specified flags.
DrawGlyph Draw a single glyph specified by its character code at the specified position with the given color following the specified flags.
SetEncoding Change the encoding used for text rendering.
Lightweight helpers GetSubSurface Get an interface to a sub area of this surface.
OpenGL GetGL Get an OpenGL context for this surface.
Debug Dump Dump the contents of the surface to one or two files.
DisableAcceleration Disable hardware acceleration.
Resources ReleaseSource Release possible reference to source surface.
Blitting control SetIndexTranslation Set index translation table.