Fixed outline / fill inconsistencies in raster paint engine.
[profile/ivi/qtbase.git] / src / gui / painting / qpagedpaintdevice.cpp
index e5b2c07..1d71fe1 100644 (file)
@@ -1,8 +1,7 @@
 /****************************************************************************
 **
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/
 **
 ** This file is part of the QtGui module of the Qt Toolkit.
 **
 **
 **
 **
+**
 ** $QT_END_LICENSE$
 **
 ****************************************************************************/
 
+#include "qpagedpaintdevice_p.h"
 #include <qpagedpaintdevice.h>
 
-class QPagedPaintDevicePrivate
-{
-public:
-    QPagedPaintDevice::PageSize pageSize;
-    QSizeF pageSizeMM;
-    QPagedPaintDevice::Margins margins;
-};
+QT_BEGIN_NAMESPACE
 
 static const struct {
     float width;
@@ -87,6 +82,7 @@ static const struct {
 
 /*!
     \class QPagedPaintDevice
+    \inmodule QtGui
 
     \brief The QPagedPaintDevice class is a represents a paintdevice that supports
     multiple pages.
@@ -159,7 +155,7 @@ QPagedPaintDevice::~QPagedPaintDevice()
 /*!
   \fn bool QPagedPaintDevice::newPage()
 
-  Starts a new page.
+  Starts a new page. Returns \c true on success.
 */
 
 
@@ -225,3 +221,5 @@ QPagedPaintDevice::Margins QPagedPaintDevice::margins() const
 {
     return d->margins;
 }
+
+QT_END_NAMESPACE