CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

graph2d.h File Reference

2D graphics interface. More...

#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...


Detailed Description

2D graphics interface.

Definition in file graph2d.h.


Define Documentation

#define COMPUTE comp   
 

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;                                                   \
    }


Generated for Crystal Space by doxygen 1.2.14