aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/scenegraph/qsgdefaultrectanglenode_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2011-05-09 16:59:37 +0200
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2011-05-09 17:31:03 +0200
commit4fb6ee7d258049237db33da30ee08f106ae490af (patch)
tree059836951a9a896d054fb91e506ef84c1e0dbca9 /src/declarative/scenegraph/qsgdefaultrectanglenode_p.h
parent2002baaf680a4dd4637bd400161e29e0c0a0dc47 (diff)
Fix Rectangle implementation.
Diffstat (limited to 'src/declarative/scenegraph/qsgdefaultrectanglenode_p.h')
-rw-r--r--src/declarative/scenegraph/qsgdefaultrectanglenode_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/scenegraph/qsgdefaultrectanglenode_p.h b/src/declarative/scenegraph/qsgdefaultrectanglenode_p.h
index 3bf14947de..cd337b6748 100644
--- a/src/declarative/scenegraph/qsgdefaultrectanglenode_p.h
+++ b/src/declarative/scenegraph/qsgdefaultrectanglenode_p.h
@@ -68,6 +68,7 @@ public:
virtual void setPenWidth(qreal width);
virtual void setGradientStops(const QGradientStops &stops);
virtual void setRadius(qreal radius);
+ virtual void setAligned(bool aligned);
virtual void update();
private:
@@ -87,8 +88,9 @@ private:
QRectF m_rect;
QGradientStops m_gradient_stops;
qreal m_radius;
- int m_pen_width;
+ qreal m_pen_width;
+ uint m_aligned : 1;
uint m_gradient_is_opaque : 1;
uint m_dirty_geometry : 1;