source: tags/arb_5.2/WINDOW/aw_size.hxx

Last change on this file was 5901, checked in by westram, 15 years ago
  • AW_BOOL → bool
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1#ifndef AW_SIZE_HXX
2#define AW_SIZE_HXX
3
4
5class AW_device_size: public AW_device {
6    bool     drawn;
7    AW_world size_information;
8    void     privat_reset(void);
9
10    void dot(AW_pos x, AW_pos y);
11    void dot_transformed(AW_pos X, AW_pos Y);
12
13public:
14    AW_device_size(AW_common *commoni);
15
16    void           init(void);
17    AW_DEVICE_TYPE type(void);
18
19    bool invisible(int gc, AW_pos x, AW_pos y, AW_bitset filteri, AW_CL cd1, AW_CL cd2);
20    int  line(int gc, AW_pos x0,AW_pos y0, AW_pos x1,AW_pos y1, AW_bitset filteri, AW_CL cd1, AW_CL cd2);
21    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 = 0);
22
23    void get_size_information(AW_world *ptr);
24   
25    int box(int gc, bool filled, AW_pos x0,AW_pos y0,AW_pos width,AW_pos heigth, AW_bitset filteri, AW_CL cd1, AW_CL cd2) {
26        return generic_box(gc, filled, x0, y0, width, heigth, filteri, cd1, cd2);
27    }
28    int filled_area(int gc, int npoints, AW_pos *points, AW_bitset filteri, AW_CL cd1, AW_CL cd2) {
29        return generic_filled_area(gc, npoints, points, filteri, cd1, cd2);
30    }
31    int circle(int gc, bool filled, AW_pos x0,AW_pos y0,AW_pos width,AW_pos heigth, AW_bitset filteri, AW_CL cd1, AW_CL cd2) {
32        return generic_circle(gc, filled, x0, y0, width, heigth, filteri, cd1, cd2);
33    }
34    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 filteri, AW_CL cd1, AW_CL cd2) {
35        return generic_arc(gc, filled, x0, y0, width, heigth, start_degrees, arc_degrees, filteri, cd1, cd2);
36    }
37};
38
39#else
40#error aw_size.hxx included twice
41#endif
Note: See TracBrowser for help on using the repository browser.