Graphics.hpp File Reference

Interface of the Graphics class. More...

Go to the source code of this file.


Classes

class  Gosu::Graphics
 Serves as the target of all drawing and provides primitive drawing functionality. More...

Namespaces

namespace  Gosu
 The library's main namespace.

Typedefs

typedef boost::array< double, 16 > Gosu::Transform

Functions

unsigned Gosu::screenWidth ()
 Returns the width, in pixels, of the user's primary screen.
unsigned Gosu::screenHeight ()
 Returns the height, in pixels, of the user's primary screen.
Transform Gosu::translate (double x, double y)
Transform Gosu::rotate (double angle, double aroundX=0, double aroundY=0)
Transform Gosu::scale (double factor)
Transform Gosu::scale (double factorX, double factorY, double fromX=0, double fromY=0)

Variables

unsigned const Gosu::MAX_TEXTURE_SIZE = 1024
 Returns the maximum size of an texture that will be allocated internally by Gosu.


Detailed Description

Interface of the Graphics class.

Definition in file Graphics.hpp.