summaryrefslogtreecommitdiff
path: root/inc/WNT_GraphicDevice.lxx
blob: 4d7292c90f5fb4268fa3b7e1912ac4d9d4d64add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
inline Aspect_Handle WNT_GraphicDevice :: HPalette () const {

 return myPalette;

}  // end WNT_GraphicDevice :: HPalette

inline void WNT_GraphicDevice :: DisplaySize (
                                  Standard_Integer& aWidth, Standard_Integer& aHeight
                                 ) const {

 aWidth  = myWidth;
 aHeight = myHeight;

}  // end WNT_GraphicDevice :: DisplaySize 

inline void WNT_GraphicDevice :: DisplaySize (
                                  Quantity_Length& aWidth, Quantity_Length& aHeight
                                 ) const {
 aWidth  = myMWidth;
 aHeight = myMHeight;

}  // end WNT_GraphicDevice :: DisplaySize

inline Standard_Boolean WNT_GraphicDevice :: IsPaletteDevice () const {

 return ( myPalette != 0 );

}  // end WNT_GraphicDevice :: IsPaletteDevice 

inline Standard_Integer WNT_GraphicDevice :: NumColors () const {

 return myNumColors;

}  // end WNT_GraphicDevice :: NumColors

inline WNT_ColorRef WNT_GraphicDevice :: HighlightColor () const {

 return myHighlightColor;

}  // end WNT_GraphicDevice :: HighlightColor