ARB
aw_Xm.hxx
Go to the documentation of this file.
1 #ifndef AW_XM_HXX
2 #define AW_XM_HXX
3 
4 #ifndef AW_COMMON_XM_HXX
5 #include "aw_common_xm.hxx"
6 #endif
7 
8 class AW_device_Xm FINAL_TYPE : public AW_device {
9  bool line_impl(int gc, const AW::LineVector& Line, AW_bitset filteri) OVERRIDE;
10  bool text_impl(int gc, const SizedCstr& cstr, const AW::Position& pos, AW_pos alignment, AW_bitset filteri) OVERRIDE;
11  bool box_impl(int gc, AW::FillStyle filled, const AW::Rectangle& rect, AW_bitset filteri) OVERRIDE;
12  bool circle_impl(int gc, AW::FillStyle filled, const AW::Position& center, const AW::Vector& radius, AW_bitset filteri) OVERRIDE;
13  bool arc_impl(int gc, AW::FillStyle filled, const AW::Position& center, const AW::Vector& radius, int start_degrees, int arc_degrees, AW_bitset filter) OVERRIDE;
14  bool polygon_impl(int gc, AW::FillStyle filled, int npos, const AW::Position *pos, AW_bitset filteri) OVERRIDE;
15  bool invisible_impl(const AW::Position& pos, AW_bitset filteri) OVERRIDE { return generic_invisible(pos, filteri); }
16 
17  void specific_reset() {}
18 
19  AW_device::Fill_Style setFillstyleForGreylevel(int gc, AW::FillStyle filled);
20  void resetFillstyleForGreylevel(int gc);
21 
22 public:
24  : AW_device(commoni)
25  {}
26 
28 
30 
31  void clear(AW_bitset filteri);
32  void clear_part(const AW::Rectangle& rect, AW_bitset filteri);
33 
34  void flush();
35  void move_region(AW_pos src_x, AW_pos src_y, AW_pos width, AW_pos height, AW_pos dest_x, AW_pos dest_y);
36 };
37 
38 #else
39 #error aw_Xm.hxx included twice
40 #endif
virtual void clear(AW_bitset filteri)
Definition: AW_device.cxx:313
long AW_bitset
Definition: aw_base.hxx:44
AW_common_Xm * get_common() const
Definition: aw_Xm.hxx:27
virtual void clear_part(const AW::Rectangle &rect, AW_bitset filteri)
Definition: AW_device.cxx:317
#define DOWNCAST(totype, expr)
Definition: downcast.h:141
double AW_pos
Definition: aw_base.hxx:29
AW_common * get_common() const
Definition: aw_device.hxx:296
virtual AW_DEVICE_TYPE type()=0
bool generic_invisible(const AW::Position &pos, AW_bitset filteri)
Definition: AW_device.cxx:294
AW_device_Xm(AW_common *commoni)
Definition: aw_Xm.hxx:23
xml element
#define OVERRIDE
Definition: cxxforward.h:112
const char * cstr
Definition: defines.h:21
AW_DEVICE_TYPE
Definition: aw_device.hxx:48
virtual void move_region(AW_pos src_x, AW_pos src_y, AW_pos width, AW_pos height, AW_pos dest_x, AW_pos dest_y)
Definition: AW_device.cxx:263
virtual void flush()
Definition: AW_device.cxx:268