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

Public Member Functions | Public Attributes

Graphics::Surface Struct Reference

#include <surface.h>

Inheritance diagram for Graphics::Surface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void copyFrom (const Surface &surf)
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 ()
const void * getBasePtr (int x, int y) const
void * getBasePtr (int x, int y)
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

Detailed Description

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

Definition at line 37 of file surface.h.


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

Generated by  Doxygen 1.6.0   Back to index