1 | #ifndef AW_XM_HXX |
---|
2 | #define AW_XM_HXX |
---|
3 | |
---|
4 | #ifndef AW_DEVICE_HXX |
---|
5 | #include <aw_device.hxx> |
---|
6 | #endif |
---|
7 | |
---|
8 | class AW_device_Xm: public AW_device { |
---|
9 | int fastflag; |
---|
10 | public: |
---|
11 | AW_device_Xm(AW_common *commoni); |
---|
12 | |
---|
13 | void init(void); |
---|
14 | AW_DEVICE_TYPE type(void); |
---|
15 | |
---|
16 | int line(int gc, AW_pos x0,AW_pos y0, AW_pos x1,AW_pos y1, AW_bitset filter, AW_CL cd1, AW_CL cd2); |
---|
17 | int text(int gc, const char *string,AW_pos x,AW_pos y, AW_pos alignment, AW_bitset filteri, AW_CL cd1, AW_CL cd2,long opt_strlen); |
---|
18 | int box(int gc, bool filled, AW_pos x0,AW_pos y0,AW_pos width,AW_pos heigth, AW_bitset filter, AW_CL cd1, AW_CL cd2); |
---|
19 | int circle(int gc, bool filled, AW_pos x0,AW_pos y0,AW_pos width,AW_pos heigth, AW_bitset filter, AW_CL cd1, AW_CL cd2); |
---|
20 | int arc(int gc, bool filled, AW_pos x0,AW_pos y0,AW_pos width,AW_pos heigth, int start_degrees, int arc_degrees, AW_bitset filter, AW_CL cd1, AW_CL cd2); |
---|
21 | |
---|
22 | int filled_area(int gc, int npoints, AW_pos *points, AW_bitset filteri, AW_CL cd1, AW_CL cd2) { |
---|
23 | return generic_filled_area(gc, npoints, points, filteri, cd1, cd2); |
---|
24 | } |
---|
25 | |
---|
26 | void clear(AW_bitset filteri); |
---|
27 | void clear_part(AW_pos x, AW_pos y,AW_pos width, AW_pos height, AW_bitset filteri); |
---|
28 | void clear_text(int gc, const char *string, AW_pos x, AW_pos y, AW_pos alignment, AW_bitset filteri, AW_CL cd1, AW_CL cd2); |
---|
29 | |
---|
30 | void fast(void); // e.g. zoom linewidth off |
---|
31 | void slow(void); |
---|
32 | void flush(void); |
---|
33 | 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 ); |
---|
34 | }; |
---|
35 | |
---|
36 | #else |
---|
37 | #error aw_Xm.hxx included twice |
---|
38 | #endif |
---|