summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/GContext.hh20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/FbTk/GContext.hh b/src/FbTk/GContext.hh
index 58e9f3d..280276c 100644
--- a/src/FbTk/GContext.hh
+++ b/src/FbTk/GContext.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: GContext.hh,v 1.12 2004/10/06 06:50:27 fluxgen Exp $ 22// $Id: GContext.hh,v 1.13 2004/10/18 20:10:37 akir Exp $
23 23
24#ifndef FBTK_GCONTEXT_HH 24#ifndef FBTK_GCONTEXT_HH
25#define FBTK_GCONTEXT_HH 25#define FBTK_GCONTEXT_HH
@@ -38,9 +38,21 @@ class Font;
38class GContext { 38class GContext {
39public: 39public:
40 40
41 typedef enum JoinStyle { JOINMITER= JoinMiter, JOINROUND= JoinRound, JOINBEVEL= JoinBevel }; 41 typedef enum { JOINMITER= JoinMiter,
42 typedef enum LineStyle { LINESOLID= LineSolid, LINEONOFFDASH= LineOnOffDash, LINEDOUBLEDASH= LineDoubleDash }; 42 JOINROUND= JoinRound,
43 typedef enum CapStyle { CAPNOTLAST= CapNotLast, CAPBUTT= CapButt, CAPROUND= CapRound, CAPPROJECTING= CapProjecting }; 43 JOINBEVEL= JoinBevel
44 } JoinStyle;
45
46 typedef enum { LINESOLID= LineSolid,
47 LINEONOFFDASH= LineOnOffDash,
48 LINEDOUBLEDASH= LineDoubleDash
49 } LineStyle;
50
51 typedef enum { CAPNOTLAST= CapNotLast,
52 CAPBUTT= CapButt,
53 CAPROUND= CapRound,
54 CAPPROJECTING= CapProjecting
55 } CapStyle;
44 56
45 /// for FbTk drawable 57 /// for FbTk drawable
46 explicit GContext(const FbTk::FbDrawable &drawable); 58 explicit GContext(const FbTk::FbDrawable &drawable);