summaryrefslogtreecommitdiff
path: root/src/gdk/cdgdk.h
diff options
context:
space:
mode:
authorscuri <scuri>2010-01-26 01:33:40 +0000
committerscuri <scuri>2010-01-26 01:33:40 +0000
commit57b2b474ed7322255c26fb4f83defdfaa0e4a3fb (patch)
treefd34ff738116cc960ce97a229bced2da6e8137c0 /src/gdk/cdgdk.h
parent5aff87c29e93096f8320c052e4ccf6fbb4df2cd2 (diff)
*** empty log message ***
Diffstat (limited to 'src/gdk/cdgdk.h')
-rw-r--r--src/gdk/cdgdk.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/gdk/cdgdk.h b/src/gdk/cdgdk.h
index ba7efe0..e05e650 100644
--- a/src/gdk/cdgdk.h
+++ b/src/gdk/cdgdk.h
@@ -42,22 +42,18 @@ struct _cdCtxCanvas {
int last_pattern_h;
unsigned int depth; /* canvas depth */
- GdkPixmap* clip_polygon; /* clipping polygon */
- GdkPixmap* new_region;
- GdkPixmap* region_aux;
- GdkGC* region_aux_gc;
long int *xidata; /* Image cache */
int xisize;
- GdkColormap* colormap; /* Color map default */
- GdkColor* color_table; /* Color table of the color map */
+ GdkColormap* colormap; /* Color map */
int num_colors; /* Size of the color table */
- int rshift; /* Red constant to calculate the true color */
- int gshift; /* Green constant to calculate the true color */
- int bshift; /* Blue constant to calculate the true color */
double xmatrix[6]; /* Transformation matrix that includes axis inversion */
float rotate_angle;
int rotate_center_x;
int rotate_center_y;
+ int img_dither;
+
+ GdkRegion* new_rgn;
+ GdkRegion* clip_rgn;
PangoContext *fontcontext;
PangoFontDescription *fontdesc;
@@ -75,7 +71,5 @@ struct _cdCtxCanvas {
cdCtxCanvas *cdgdkCreateCanvas(cdCanvas* canvas, GdkDrawable* wnd, GdkScreen* scr, GdkVisual* vis);
void cdgdkInitTable(cdCanvas* canvas);
void cdgdkKillCanvas(cdCtxCanvas *ctxcanvas);
-int cdgdkClip(cdCtxCanvas *ctxcanvas, int clip_mode);
-void cdgdkPoly(cdCtxCanvas *ctxcanvas, int mode, cdPoint* poly, int n);
#endif