diff options
author | lecoanet | 2000-03-23 13:53:48 +0000 |
---|---|---|
committer | lecoanet | 2000-03-23 13:53:48 +0000 |
commit | c5dc385cf4b763e7d07c45e914bea4a8d39705a7 (patch) | |
tree | f8ccc6a9102a145014780b82a95744c2bb0123c5 | |
parent | efaa873a875bc9990abd2b2bfe4cee7c13a87dca (diff) | |
download | tkzinc-c5dc385cf4b763e7d07c45e914bea4a8d39705a7.zip tkzinc-c5dc385cf4b763e7d07c45e914bea4a8d39705a7.tar.gz tkzinc-c5dc385cf4b763e7d07c45e914bea4a8d39705a7.tar.bz2 tkzinc-c5dc385cf4b763e7d07c45e914bea4a8d39705a7.tar.xz |
Transfert de la structure de pile de clip vers Item.c
Constantes pour les d�grad�s.
-rw-r--r-- | generic/Types.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/generic/Types.h b/generic/Types.h index 6d6fd7a..25dc895 100644 --- a/generic/Types.h +++ b/generic/Types.h @@ -77,6 +77,18 @@ typedef struct { typedef struct { ZnPos x, y, w, h; } ZnRect; + +typedef struct { + int num_points; + ZnPoint *points; +} ZnContour; + +typedef struct { + int num_contours; + int *holes; + ZnContour *contours; +} ZnPoly; + /* * ZnBBox: orig is into the area while corner is not. * Thus the test: ((bbox.orig.x == bbox.corner.x) || @@ -92,17 +104,6 @@ typedef struct { } ZnBBox; /* - * Describe the clipping at a given node - * of the item hierarchy. - */ -typedef struct { - ZnBool simple; /* The clip is an aligned rectangle. */ - Region region; /* The X region used to draw and to */ - /* probe for picking. */ - ZnBBox clip_box; /* The bounding box of the clip area. */ -} ClipState; - -/* * Operator constants for the coord method. */ #define COORDS_READ 0 @@ -162,6 +163,8 @@ typedef struct { #define ZN_CONFIG_LEADER_ANCHORS 28 #define ZN_CONFIG_JOIN_STYLE 29 #define ZN_CONFIG_CAP_STYLE 30 +#define ZN_CONFIG_GRADIENT_GEOM 31 +#define ZN_CONFIG_GRADIENT_COLOR 32 #define ZN_DRAW_FLAG 1 << 0 #define ZN_COORDS_FLAG 1 << 1 |