27 #ifndef _CEGUIDirectFBTexture_h_ 28 #define _CEGUIDirectFBTexture_h_ 30 #include "../../Texture.h" 31 #include "CEGUI/RendererModules/DirectFB/Renderer.h" 94 #endif // end of guard _CEGUIDirectFBTexture_h_ ~DirectFBTexture()
Destructor.
Definition: DirectFB/Texture.cpp:217
bool isPixelFormatSupported(const PixelFormat fmt) const
Return whether the specified pixel format is supported by the system for the CEGUI::Texture implement...
Definition: DirectFB/Texture.cpp:263
IDirectFB & d_directfb
DirectFB interface we were given when constructed.
Definition: cegui/include/CEGUI/RendererModules/DirectFB/Texture.h:79
PixelFormat
Enumerated type containing the supported pixel formats that can be passed to loadFromMemory.
Definition: cegui/include/CEGUI/Texture.h:61
void blitFromMemory(const void *sourceData, const Rectf &area)
Performs an area memory blit to the texture.
Definition: DirectFB/Texture.cpp:153
Sizef d_dataSize
original pixel of size data loaded into texture
Definition: cegui/include/CEGUI/RendererModules/DirectFB/Texture.h:85
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
const String d_name
The name given for this texture.
Definition: cegui/include/CEGUI/RendererModules/DirectFB/Texture.h:89
void loadFromFile(const String &filename, const String &resourceGroup)
Loads the specified image file into the texture. The texture is resized as required to hold the image...
Definition: DirectFB/Texture.cpp:66
DirectFBTexture(IDirectFB &directfb, const String &name)
Basic constructor.
Definition: DirectFB/Texture.cpp:167
void loadFromMemory(const void *buffer, const Sizef &buffer_size, PixelFormat pixel_format)
Loads (copies) an image in memory into the texture. The texture is resized as required to hold the im...
Definition: DirectFB/Texture.cpp:93
void updateCachedScaleValues()
updates cached scale value used to map pixels to texture co-ords.
Definition: DirectFB/Texture.cpp:235
Vector2f d_texelScaling
cached pixel to texel mapping scale values.
Definition: cegui/include/CEGUI/RendererModules/DirectFB/Texture.h:87
Abstract base class specifying the required interface for Texture objects.
Definition: cegui/include/CEGUI/Texture.h:52
const Sizef & getOriginalDataSize() const
Returns the original pixel size of the data loaded into the texture.
Definition: DirectFB/Texture.cpp:54
Implementation of CEGUI::Texture interface using DirectFB.
Definition: cegui/include/CEGUI/RendererModules/DirectFB/Texture.h:38
void blitToMemory(void *targetData)
Performs a complete blit from the texture surface to memory.
Definition: DirectFB/Texture.cpp:160
void destroyTexture(Texture &texture)
Destroy a Texture object that was previously created by calling the createTexture functions...
Definition: DirectFB/Renderer.cpp:200
void cleanupDirectFBTexture()
clean up the internal texture.
Definition: DirectFB/Texture.cpp:223
const Vector2f & getTexelScaling() const
Returns pixel to texel scale values that should be used for converting pixel values to texture co-ord...
Definition: DirectFB/Texture.cpp:60
const String & getName() const
Returns the name given to the texture when it was created.
Definition: DirectFB/Texture.cpp:42
IDirectFBSurface * d_texture
surface representing the texture.
Definition: cegui/include/CEGUI/RendererModules/DirectFB/Texture.h:81
Texture & createTexture(const CEGUI::String &name)
Create a 'null' Texture object.
Definition: DirectFB/Renderer.cpp:138
Sizef d_size
Size of the texture.
Definition: cegui/include/CEGUI/RendererModules/DirectFB/Texture.h:83
const Sizef & getSize() const
Returns the current pixel size of the texture.
Definition: DirectFB/Texture.cpp:48
IDirectFBSurface * getDirectFBSurface() const
Return a pointer to the IDirectFBSurface this texture represents.
Definition: DirectFB/Texture.cpp:36
String class used within the GUI system.
Definition: cegui/include/CEGUI/String.h:62