added PrintToStream method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7147 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
979f50e101
commit
254a8cc4a3
@ -46,54 +46,58 @@ class Layer;
|
||||
class DrawData
|
||||
{
|
||||
public:
|
||||
DrawData(void);
|
||||
DrawData(const DrawData &data);
|
||||
~DrawData(void);
|
||||
DrawData &operator=(const DrawData &from);
|
||||
BPoint penlocation;
|
||||
DrawData(void);
|
||||
DrawData(const DrawData &data);
|
||||
virtual ~DrawData(void);
|
||||
DrawData& operator=(const DrawData &from);
|
||||
// uncomment when needed. Also implement it! :-)
|
||||
// virtual void PrintToStream() const;
|
||||
|
||||
RGBColor highcolor,
|
||||
lowcolor;
|
||||
BPoint penlocation;
|
||||
|
||||
float pensize;
|
||||
Pattern patt;
|
||||
drawing_mode draw_mode;
|
||||
RGBColor highcolor,
|
||||
lowcolor;
|
||||
|
||||
float pensize;
|
||||
Pattern patt;
|
||||
drawing_mode draw_mode;
|
||||
|
||||
cap_mode lineCap;
|
||||
join_mode lineJoin;
|
||||
float miterLimit;
|
||||
cap_mode lineCap;
|
||||
join_mode lineJoin;
|
||||
float miterLimit;
|
||||
|
||||
source_alpha alphaSrcMode;
|
||||
alpha_function alphaFncMode;
|
||||
float scale;
|
||||
bool fontAliasing;
|
||||
ServerFont font;
|
||||
source_alpha alphaSrcMode;
|
||||
alpha_function alphaFncMode;
|
||||
float scale;
|
||||
bool fontAliasing;
|
||||
ServerFont font;
|
||||
|
||||
BRegion *clippReg;
|
||||
|
||||
escapement_delta edelta;
|
||||
BRegion* clippReg;
|
||||
|
||||
escapement_delta edelta;
|
||||
};
|
||||
|
||||
class LayerData : public DrawData
|
||||
{
|
||||
public:
|
||||
LayerData(void);
|
||||
LayerData(const Layer *layer);
|
||||
LayerData(const LayerData &data);
|
||||
LayerData &operator=(const LayerData &from);
|
||||
~LayerData(void);
|
||||
|
||||
BPoint coordOrigin;
|
||||
LayerData(void);
|
||||
LayerData(const Layer *layer);
|
||||
LayerData(const LayerData &data);
|
||||
virtual ~LayerData(void);
|
||||
LayerData &operator=(const LayerData &from);
|
||||
|
||||
RGBColor viewcolor;
|
||||
virtual void PrintToStream() const;
|
||||
|
||||
// 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;
|
||||
BPoint coordOrigin;
|
||||
|
||||
// used for the state stack
|
||||
LayerData *prevState;
|
||||
RGBColor viewcolor;
|
||||
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user