2D
[Graphics]
Compounds | |
struct | iAnimatedImage |
If an image file has animation capabilities, this interface is exhibited. More... | |
struct | csBitmapMetrics |
Metrics for a glyph that are dependent from whether a simple or antialiased image is used. More... | |
struct | iFont |
A font object. More... | |
struct | iFontDeleteNotify |
Called before a font is deleted. More... | |
struct | iFontServer |
A font server interface. More... | |
struct | csGlyphMetrics |
Metrics for a glyph that are independent from whether a simple or antialiased image is used. More... | |
struct | iGraphics2D |
This is the interface for 2D renderer. More... | |
struct | iImage |
The iImage interface is used to work with image files (what did you expect?). More... | |
struct | csImageArea |
This structure is used for saving/restoring areas of screen. More... | |
struct | iImageIO |
The iImageIO interface is used to save and load graphic files. More... | |
struct | csImageIOFileFormatDescription |
Description for a file format supported by an image loader. More... | |
struct | iNativeWindow |
This interface represents a native window. More... | |
struct | iNativeWindowManager |
This interface represents the native window manager system. More... | |
struct | iOffscreenCanvasCallback |
When you create an offscreen canvas (CreateOffscreenCanvas()) then you can use this callback to get informed when the texture has been modified (FinishDraw() called) or a palette entry is modified. More... | |
struct | csPixelCoord |
Simple 2D pixel coordinate. More... | |
struct | csPixelFormat |
Structure describing the pixel format. More... | |
Basic fonts alias names | |
Any font server should provide these fonts, since most programs expect they to be available.
Other fonts may or may be not available but these should be always available. Default font names always start with "*" to avoid confusion with real file names. | |
#define | CSFONT_LARGE "*large" |
Thick and relatively large font. | |
#define | CSFONT_ITALIC "*italic" |
Thick italic relatively large font. | |
#define | CSFONT_COURIER "*courier" |
Thin courier-like relatively large font. | |
#define | CSFONT_SMALL "*small" |
Very small font (smallest font that is still readable). | |
Alert types | |
#define | CS_ALERT_ERROR 1 |
Display an error. | |
#define | CS_ALERT_WARNING 2 |
Display a warning. | |
#define | CS_ALERT_NOTE 3 |
Display a note. | |
Defines | |
#define | CS_IMGFMT_MASK 0x0000ffff |
The mask to separate the image format apart. | |
#define | CS_IMGFMT_NONE 0x00000000 |
We don't want the pixels at all, just (possibly) the alphamap. | |
#define | CS_IMGFMT_TRUECOLOR 0x00000001 |
Truecolor format (r/g/b/unused per each pixel). | |
#define | CS_IMGFMT_PALETTED8 0x00000002 |
8-bit indexed paletted image | |
#define | CS_IMGFMT_ANY CS_IMGFMT_MASK |
Autodetect: use whatever format the file is in. Use ONLY for loading. | |
#define | CS_IMGFMT_ALPHA 0x00010000 |
Do we need alpha channel or not. | |
#define | CS_IMGFMT_INVALID 0x80000000 |
This flag indicates an invalid image format. | |
#define | CS_FONT_DEFAULT_GLYPH 0xffff |
The default char, drawn in case a glyph wasn't present in the font. | |
Typedefs | |
typedef csArray< csImageIOFileFormatDescription * > | csImageIOFileFormatDescriptions |
Description for the array of file formats. | |
typedef enum _csMouseCursorID | csMouseCursorID |
Standard mouse cursor IDs. | |
Enumerations | |
enum | _csMouseCursorID { csmcNone = -1, csmcArrow = 0, csmcLens, csmcCross, csmcPen, csmcMove, csmcSizeNWSE, csmcSizeNESW, csmcSizeNS, csmcSizeEW, csmcStop, csmcWait } |
Standard mouse cursor IDs. More... | |
enum | { CS_WRITE_BASELINE = (1 << 0), CS_WRITE_NOANTIALIAS = (1 << 1) } |
iGraphics2D::Write() flags. More... |
Define Documentation
|
Display an error.
|
|
Display a note.
|
|
Display a warning.
|
|
The default char, drawn in case a glyph wasn't present in the font. The Unicode standard says that this will never be a valid code point - so we just take as the "replacer" char. Definition at line 56 of file fontserv.h. |
|
Do we need alpha channel or not.
|
|
Autodetect: use whatever format the file is in. Use ONLY for loading.
|
|
This flag indicates an invalid image format. No image may have this set, and you may not load images with this flag set. |
|
The mask to separate the image format apart.
|
|
We don't want the pixels at all, just (possibly) the alphamap.
|
|
8-bit indexed paletted image
|
|
Truecolor format (r/g/b/unused per each pixel).
|
|
Thin courier-like relatively large font.
Definition at line 46 of file fontserv.h. |
|
Thick italic relatively large font.
Definition at line 44 of file fontserv.h. |
|
Thick and relatively large font.
Definition at line 42 of file fontserv.h. |
|
Very small font (smallest font that is still readable).
Definition at line 48 of file fontserv.h. |
Typedef Documentation
|
Description for the array of file formats.
|
|
Standard mouse cursor IDs.
Referenced by csApp::GetMouse(), and csApp::SetMouseCursor(). |
Enumeration Type Documentation
|
iGraphics2D::Write() flags.
|
|
Generated for Crystal Space by doxygen 1.2.18