![]() | DirectFB Reference Manual | ||
|
Get an interface to a sub area of this surface.
GetSubSurface ( | ||
IDirectFBSurface | *thiz | |
const DFBRectangle | *rect | |
IDirectFBSurface | **interface | |
); |
No image data is duplicated, this is a clipped graphics within the original surface. This is very helpful for lightweight components in a GUI toolkit. The new surface's state (color, drawingflags, etc.) is independent from this one. So it's a handy graphics context. If no rectangle is specified, the whole surface (or a part if this surface is a subsurface itself) is represented by the new one.
(C) Copyright by convergence GmbH |
![]() |