- Timestamp:
- 08/15/08 13:25:16 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/WKAL/Concretizations/Widgets/Gtk/BCRenderThemeGtk.cpp
r308 r437 22 22 23 23 #include "config.h" 24 #include "RenderThemeGtk.h" 25 26 #include "AffineTransform.h" 27 #include "GraphicsContext.h" 24 28 #include "NotImplemented.h" 25 29 #include "RenderObject.h" 26 #include "RenderThemeGtk.h"27 30 #include "gtkdrawing.h" 28 31 … … 153 156 } 154 157 155 IntPoint pos = i.context->translatePoint(rect.location()); 158 AffineTransform ctm = i.context->getCTM(); 159 160 IntPoint pos = ctm.mapPoint(rect.location()); 156 161 GdkRectangle gdkRect = IntRect(pos.x(), pos.y(), rect.width(), rect.height()); 157 162 GtkTextDirection direction = gtkTextDirection(o->style()->direction()); … … 165 170 gdkClipRect.width = clipX2 - clipX1; 166 171 gdkClipRect.height = clipY2 - clipY1; 167 IntPoint clipPos = i.context->translatePoint(IntPoint(clipX1, clipY1));172 IntPoint clipPos = ctm.mapPoint(IntPoint(clipX1, clipY1)); 168 173 gdkClipRect.x = clipPos.x(); 169 174 gdkClipRect.y = clipPos.y();
