Preparation of more correct support for state stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13201 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -51,6 +51,9 @@ class DrawData {
|
||||
DrawData(const DrawData& from);
|
||||
virtual ~DrawData();
|
||||
|
||||
// NOTE: this operator will not make a 1:1 copy, it is used
|
||||
// for the state stack and therefor origin and scale are reset
|
||||
// to B_ORIGIN and 1.0.
|
||||
DrawData& operator=(const DrawData& from);
|
||||
|
||||
// coordinate transformation
|
||||
@@ -155,13 +158,16 @@ class DrawData {
|
||||
float fPenSize;
|
||||
|
||||
ServerFont fFont;
|
||||
// TODO: Remove, see above
|
||||
bool fFontAntiAliasing;
|
||||
escapement_delta fEscapementDelta;
|
||||
//
|
||||
|
||||
cap_mode fLineCapMode;
|
||||
join_mode fLineJoinMode;
|
||||
float fMiterLimit;
|
||||
|
||||
// "internal", used to calculate the size
|
||||
// of the font (again) when the scale changes
|
||||
float fUnscaledFontSize;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user