Aspen
2D C++ Class-Based Object Oriented Game Engine
Aspen::Graphics Namespace Reference

Graphics namespace Controls and facilitates graphics processing. More...

Namespaces

 Colors
 Colors namespace Contains some preset colors.
 
 UI
 UI namespace.
 

Classes

class  Animation
 Animation class Gets all animation frames from child Sprite and UniformSpritesheet Objects. More...
 
class  Camera
 Camera class. More...
 
class  Color
 Color class that is used to store RGBA8 color information. More...
 
class  FontCache
 FontCache class Caches loaded fonts for drawing text with. More...
 
class  Geometry
 Geometry class Base class for creating basic geometry like rectangles. More...
 
class  Graphics
 Graphics class. More...
 
class  Line
 Line Geometry class. More...
 
class  Point
 Point Geometry class. More...
 
class  Rectangle
 Rectangle Geometry class. More...
 
class  Sprite
 Sprite class. More...
 
class  UniformSpritesheet
 UniformSpritesheet extension of Sprite class Splits a Spritesheet into multiple sprites. More...
 

Enumerations

enum  COLOR_MASK {
  RED = 0xFF000000,
  GREEN = 0x00FF0000,
  BLUE = 0x0000FF00,
  ALPHA = 0x000000FF
}
 Masks used to extract individual color components from a color. More...
 

Variables

const int DEFAULT_WINDOW_WIDTH
 Default created window width.
 
const int DEFAULT_WINDOW_HEIGHT
 Default created window height.
 

Detailed Description

Graphics namespace Controls and facilitates graphics processing.

Enumeration Type Documentation

◆ COLOR_MASK

Masks used to extract individual color components from a color.

Enumerator
RED 

Red component of a color.

GREEN 

Green component of a color.

BLUE 

Blue component of a color.

ALPHA 

Alpha component of a color.