Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Graphics::Surface Struct Reference

#include <surface.h>

Inheritance diagram for Graphics::Surface:


List of all members.

Detailed Description

An arbitrary graphics surface, which can be the target (or source) of blit operations, font rendering, etc.

Definition at line 38 of file surface.h.

Public Member Functions

void create (uint16 width, uint16 height, uint8 bytesPP)
void drawLine (int x0, int y0, int x1, int y1, uint32 color)
void fillRect (Common::Rect r, uint32 color)
void frameRect (const Common::Rect &r, uint32 color)
void free ()
void * getBasePtr (int x, int y)
const void * getBasePtr (int x, int y) const
void hLine (int x, int y, int x2, uint32 color)
void move (int dx, int dy, int height)
void vLine (int x, int y, int y2, uint32 color)

Public Attributes

uint8 bytesPerPixel
uint16 h
uint16 pitch
void * pixels
uint16 w

The documentation for this struct was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index