![]() |
Public API Reference |
#include <stdarg.h>
#include "csutil/scf.h"
#include "csgfx/rgbpixel.h"
#include "ivideo/texture.h"
#include "iengine/texture.h"
#include "ivideo/cursor.h"
Go to the source code of this file.
Compounds | |
| struct | iGraphics2D |
| This is the interface for 2D renderer. More... | |
| struct | csImageArea |
| This structure is used for saving/restoring areas of screen. 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... | |
Definition in file graph2d.h.
|
|
Value: { \
unsigned long i, tmp = comp##Mask; \
for (i = 0; tmp && !(tmp & 1); tmp >>= 1, i++) {} \
comp##Shift = i; \
for (i = 0; tmp & 1; tmp >>= 1, i++) {} \
comp##Bits = i; \
} |