ScummVM API documentation
Touche::Graphics Class Reference

Public Types

enum  { kTransparent = 1 << 0 }
 

Static Public Member Functions

static void setupFont (Common::Language language)
 
static int getStringWidth16 (const char *str)
 
static int getCharWidth16 (uint8 chr)
 
static void drawString16 (uint8 *dst, int dstPitch, uint16 color, int x, int y, const char *str, int xmax=0)
 
static int drawChar16 (uint8 *dst, int dstPitch, uint8 chr, int x, int y, uint16 color)
 
static void fillRect (uint8 *dst, int dstPitch, int x, int y, int w, int h, uint8 color)
 
static void drawRect (uint8 *dst, int dstPitch, int x, int y, int w, int h, uint8 color1, uint8 color2)
 
static void drawLine (uint8 *dst, int dstPitch, int x1, int y1, int x2, int y2, uint8 color)
 
static void copyRect (uint8 *dst, int dstPitch, int dstX, int dstY, const uint8 *src, int srcPitch, int srcX, int srcY, int w, int h, int flags=0)
 
static void copyMask (uint8 *dst, int dstPitch, int dstX, int dstY, const uint8 *src, int srcPitch, int srcX, int srcY, int w, int h, uint8 fillColor)
 

The documentation for this class was generated from the following file: