summaryrefslogtreecommitdiff
path: root/canvas/source/cairo/cairo_canvascustomsprite.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 13:45:15 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 13:45:15 +0000
commit5eeb9fb37cbf429f8236bdd64f28f88d9af6c67d (patch)
treed69b574e72cd7864dbdc442b328f0207e8f23c75 /canvas/source/cairo/cairo_canvascustomsprite.cxx
parent148b665d89f4cc4cfa6ba2d01bca959b291ba7eb (diff)
INTEGRATION: CWS cairofixes02 (1.2.20); FILE MERGED
2006/10/09 16:30:25 radekdoulik 1.2.20.2: RESYNC: (1.2-1.3); FILE MERGED 2006/06/30 14:04:58 radekdoulik 1.2.20.1: #i65683# fixes problem of text bounds, visible in text animations, where the top of text was clipped out
Diffstat (limited to 'canvas/source/cairo/cairo_canvascustomsprite.cxx')
-rw-r--r--canvas/source/cairo/cairo_canvascustomsprite.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/canvas/source/cairo/cairo_canvascustomsprite.cxx b/canvas/source/cairo/cairo_canvascustomsprite.cxx
index d0ad3e02bad9..75fdd522a98a 100644
--- a/canvas/source/cairo/cairo_canvascustomsprite.cxx
+++ b/canvas/source/cairo/cairo_canvascustomsprite.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cairo_canvascustomsprite.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 03:18:22 $
+ * last change: $Author: vg $ $Date: 2006-11-01 14:45:15 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -65,6 +65,10 @@ namespace cairocanvas
ENSURE_AND_THROW( rRefDevice.get(),
"CanvasCustomSprite::CanvasCustomSprite(): Invalid sprite canvas" );
+ OSL_TRACE("sprite size: %d, %d",
+ ::canvas::tools::roundUp( rSpriteSize.Width ),
+ ::canvas::tools::roundUp( rSpriteSize.Height ));
+
//mpBufferSurface = mpSpriteCanvas->getSurface( aSize, CAIRO_CONTENT_COLOR );
mpBufferSurface = mpSpriteCanvas->getSurface( maSize );