Public Member Functions | Private Attributes | List of all members
Stg::Canvas::GlColorStack Class Reference

Public Member Functions

 GlColorStack ()
 
unsigned int Length ()
 
void Pop ()
 
void Push (double r, double g, double b, double a=1.0)
 
void Push (Color col)
 
 ~GlColorStack ()
 

Private Attributes

std::stack< Colorcolorstack
 

Detailed Description

Definition at line 17 of file canvas.hh.

Constructor & Destructor Documentation

Stg::Canvas::GlColorStack::GlColorStack ( )
inline

Definition at line 20 of file canvas.hh.

Stg::Canvas::GlColorStack::~GlColorStack ( )
inline

Definition at line 21 of file canvas.hh.

Member Function Documentation

unsigned int Stg::Canvas::GlColorStack::Length ( )
inline

Definition at line 47 of file canvas.hh.

void Stg::Canvas::GlColorStack::Pop ( )
inline

Definition at line 34 of file canvas.hh.

void Stg::Canvas::GlColorStack::Push ( double  r,
double  g,
double  b,
double  a = 1.0 
)
inline

Definition at line 23 of file canvas.hh.

void Stg::Canvas::GlColorStack::Push ( Color  col)
inline

Definition at line 28 of file canvas.hh.

Member Data Documentation

std::stack<Color> Stg::Canvas::GlColorStack::colorstack
private

Definition at line 51 of file canvas.hh.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:12