diff options
author | scuri <scuri> | 2010-11-03 18:37:03 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-11-03 18:37:03 +0000 |
commit | 80f074806db0fdd9646f7b5892d43a558c3a8f9b (patch) | |
tree | 747314b935c192bad153e65a86af7916e99165ac /src/gdk/cdgdkdbuf.c | |
parent | b7b587a3d74f4ca48fae7b6b15d2c20f88c55738 (diff) |
Fixed: PutImageRGB, PutImageRGBA, PutImageMap and Pattern when in 64bits using the Cairo context plus base driver.
Improved double buffer update.
Diffstat (limited to 'src/gdk/cdgdkdbuf.c')
-rw-r--r-- | src/gdk/cdgdkdbuf.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/gdk/cdgdkdbuf.c b/src/gdk/cdgdkdbuf.c index 9a8854a..50a93a5 100644 --- a/src/gdk/cdgdkdbuf.c +++ b/src/gdk/cdgdkdbuf.c @@ -109,26 +109,7 @@ static int cdactivate(cdCtxCanvas* ctxcanvas) ctxcanvas = canvas->ctxcanvas; /* update canvas attributes */ - canvas->cxBackground(ctxcanvas, canvas->background); - canvas->cxForeground(ctxcanvas, canvas->foreground); - canvas->cxBackOpacity(ctxcanvas, canvas->back_opacity); - canvas->cxWriteMode(ctxcanvas, canvas->write_mode); - canvas->cxLineStyle(ctxcanvas, canvas->line_style); - canvas->cxLineWidth(ctxcanvas, canvas->line_width); - canvas->cxLineCap(ctxcanvas, canvas->line_cap); - canvas->cxLineJoin(ctxcanvas, canvas->line_join); - canvas->cxHatch(ctxcanvas, canvas->hatch_style); - if (canvas->stipple) canvas->cxStipple(ctxcanvas, canvas->stipple_w, canvas->stipple_h, canvas->stipple); - if (canvas->pattern) canvas->cxPattern(ctxcanvas, canvas->pattern_w, canvas->pattern_h, canvas->pattern); - canvas->cxInteriorStyle(ctxcanvas, canvas->interior_style); - canvas->cxFont(ctxcanvas, canvas->font_type_face, canvas->font_style, canvas->font_size); -/* canvas->cxTextAlignment(ctxcanvas, canvas->text_alignment); */ -/* canvas->cxTextOrientation(ctxcanvas, canvas->text_orientation); */ - if (canvas->clip_mode == CD_CLIPAREA && canvas->cxClipArea) canvas->cxClipArea(ctxcanvas, canvas->clip_rect.xmin, canvas->clip_rect.xmax, canvas->clip_rect.ymin, canvas->clip_rect.ymax); -/* if (canvas->clip_mode == CD_CLIPAREA && canvas->cxFClipArea) canvas->cxFClipArea(ctxcanvas, canvas->clip_frect.xmin, canvas->clip_frect.xmax, canvas->clip_frect.ymin, canvas->clip_frect.ymax); */ - if (canvas->clip_mode == CD_CLIPPOLYGON && canvas->clip_poly) canvas->cxPoly(ctxcanvas, CD_CLIP, canvas->clip_poly, canvas->clip_poly_n); -/* if (canvas->clip_mode == CD_CLIPPOLYGON && canvas->clip_fpoly) canvas->cxFPoly(ctxcanvas, CD_CLIP, canvas->clip_fpoly, canvas->clip_poly_n); */ - if (canvas->clip_mode != CD_CLIPOFF) canvas->cxClip(ctxcanvas, canvas->clip_mode); + cdUpdateAttributes(canvas); } return CD_OK; |