From c5dc385cf4b763e7d07c45e914bea4a8d39705a7 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Thu, 23 Mar 2000 13:53:48 +0000 Subject: Transfert de la structure de pile de clip vers Item.c Constantes pour les d�grad�s. --- generic/Types.h | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'generic/Types.h') 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 -- cgit v1.1