Quantum Fog
0.9.3
Main Page
Related Pages
Classes
Files
File List
Legacy
QFog2-MachO
QFogSource
Mac_Other
StCPTstate.h
1
//This is just a trivial merging (a merging to achieve more symmetry) of
2
//the classes StColorState, StColorPenState, StTextState
3
//which are defined in UDrawingState.h
4
5
6
7
#pragma once
8
#include <UDrawingState.h>
9
10
11
12
//----------------------------------------------------------------------------
13
// C= Color, P= Pen, T=Text
14
class
StCPTstate
{
15
public
:
16
StCPTstate
(Boolean saveC, Boolean saveP, Boolean saveT);
17
~
StCPTstate
();
18
19
void
Save();
20
void
Restore();
21
22
void
Normalize();
23
24
private
:
25
Boolean mSaveC, mSaveP, mSaveT;
26
27
RGBColor mForegroundColor;
28
RGBColor mBackgroundColor;
29
30
PenState mPenState;
31
32
SInt16 mFontNumber;
33
SInt16 mSize;
34
SInt16 mStyle;
35
SInt16 mMode;
36
37
};
38
StCPTstate
Definition:
StCPTstate.h:14
Generated by
1.8.11