PROTO::KLUDGE  0.1
Quick prototyping library for games using SDL and OpenGL.
pk::spriteData Struct Reference

Data necessary for representing the Sprite. More...

#include <Sprite.hpp>

Collaboration diagram for pk::spriteData:
Collaboration graph

Public Attributes

Textured_texture
 Pointer to a Texture object (memory NOT managed in this class!). More...
 
SDL_Rect d_boundsRect
 SDL_Rect setting the bounding rectangle for the Sprite object. More...
 
SDL_Point d_center
 An SDL_Point used to set the center of the Text object. More...
 
SDL_RendererFlip d_flip
 An SDL_RendererFlip value setting how to flip the Text (default is SDL_FLIP_NONE). More...
 
SDL_Color d_backgroundColor
 The color of the background (bounding box) of the Text. More...
 
Transform d_transform
 The raw transform data for the Text object. More...
 
int d_width
 The width of the Text object. More...
 
int d_height
 The height of the Text object. More...
 

Detailed Description

Data necessary for representing the Sprite.

Member Data Documentation

◆ d_backgroundColor

SDL_Color pk::spriteData::d_backgroundColor

The color of the background (bounding box) of the Text.

◆ d_boundsRect

SDL_Rect pk::spriteData::d_boundsRect

SDL_Rect setting the bounding rectangle for the Sprite object.

◆ d_center

SDL_Point pk::spriteData::d_center

An SDL_Point used to set the center of the Text object.

◆ d_flip

SDL_RendererFlip pk::spriteData::d_flip

An SDL_RendererFlip value setting how to flip the Text (default is SDL_FLIP_NONE).

◆ d_height

int pk::spriteData::d_height

The height of the Text object.

◆ d_texture

Texture* pk::spriteData::d_texture

Pointer to a Texture object (memory NOT managed in this class!).

◆ d_transform

Transform pk::spriteData::d_transform

The raw transform data for the Text object.

◆ d_width

int pk::spriteData::d_width

The width of the Text object.


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