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: |
---|
23 | AW_device_Xm(AW_common *commoni) |
---|
24 | : AW_device(commoni) |
---|
25 | {} |
---|
26 | |
---|
27 | AW_common_Xm *get_common() const { return DOWNCAST(AW_common_Xm*, AW_device::get_common()); } |
---|
28 | |
---|
29 | AW_DEVICE_TYPE type(); |
---|
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 |
---|