added PrintToStream method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7147 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -46,54 +46,58 @@ class Layer;
|
|||||||
class DrawData
|
class DrawData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DrawData(void);
|
DrawData(void);
|
||||||
DrawData(const DrawData &data);
|
DrawData(const DrawData &data);
|
||||||
~DrawData(void);
|
virtual ~DrawData(void);
|
||||||
DrawData &operator=(const DrawData &from);
|
DrawData& operator=(const DrawData &from);
|
||||||
BPoint penlocation;
|
// uncomment when needed. Also implement it! :-)
|
||||||
|
// virtual void PrintToStream() const;
|
||||||
|
|
||||||
RGBColor highcolor,
|
BPoint penlocation;
|
||||||
lowcolor;
|
|
||||||
|
|
||||||
float pensize;
|
RGBColor highcolor,
|
||||||
Pattern patt;
|
lowcolor;
|
||||||
drawing_mode draw_mode;
|
|
||||||
|
float pensize;
|
||||||
|
Pattern patt;
|
||||||
|
drawing_mode draw_mode;
|
||||||
|
|
||||||
cap_mode lineCap;
|
cap_mode lineCap;
|
||||||
join_mode lineJoin;
|
join_mode lineJoin;
|
||||||
float miterLimit;
|
float miterLimit;
|
||||||
|
|
||||||
source_alpha alphaSrcMode;
|
source_alpha alphaSrcMode;
|
||||||
alpha_function alphaFncMode;
|
alpha_function alphaFncMode;
|
||||||
float scale;
|
float scale;
|
||||||
bool fontAliasing;
|
bool fontAliasing;
|
||||||
ServerFont font;
|
ServerFont font;
|
||||||
|
|
||||||
BRegion *clippReg;
|
BRegion* clippReg;
|
||||||
|
|
||||||
escapement_delta edelta;
|
|
||||||
|
|
||||||
|
escapement_delta edelta;
|
||||||
};
|
};
|
||||||
|
|
||||||
class LayerData : public DrawData
|
class LayerData : public DrawData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LayerData(void);
|
LayerData(void);
|
||||||
LayerData(const Layer *layer);
|
LayerData(const Layer *layer);
|
||||||
LayerData(const LayerData &data);
|
LayerData(const LayerData &data);
|
||||||
LayerData &operator=(const LayerData &from);
|
virtual ~LayerData(void);
|
||||||
~LayerData(void);
|
LayerData &operator=(const LayerData &from);
|
||||||
|
|
||||||
BPoint coordOrigin;
|
|
||||||
|
|
||||||
RGBColor viewcolor;
|
virtual void PrintToStream() const;
|
||||||
|
|
||||||
// We have both because we are not going to suffer from the limitation that R5
|
BPoint coordOrigin;
|
||||||
// places on us. We can have both. :)
|
|
||||||
ServerBitmap *background;
|
|
||||||
ServerBitmap *overlay;
|
|
||||||
|
|
||||||
// used for the state stack
|
RGBColor viewcolor;
|
||||||
LayerData *prevState;
|
|
||||||
|
// We have both because we are not going to suffer from the limitation that R5
|
||||||
|
// places on us. We can have both. :)
|
||||||
|
ServerBitmap* background;
|
||||||
|
ServerBitmap* overlay;
|
||||||
|
|
||||||
|
// used for the state stack
|
||||||
|
LayerData* prevState;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user