diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2011-05-09 16:59:37 +0200 |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2011-05-09 17:31:03 +0200 |
commit | 4fb6ee7d258049237db33da30ee08f106ae490af (patch) | |
tree | 059836951a9a896d054fb91e506ef84c1e0dbca9 /src/declarative/scenegraph/qsgdefaultrectanglenode_p.h | |
parent | 2002baaf680a4dd4637bd400161e29e0c0a0dc47 (diff) |
Fix Rectangle implementation.
Diffstat (limited to 'src/declarative/scenegraph/qsgdefaultrectanglenode_p.h')
-rw-r--r-- | src/declarative/scenegraph/qsgdefaultrectanglenode_p.h | 4 |
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; |