equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
473 d->systemStateChanged(); |
473 d->systemStateChanged(); |
474 |
474 |
475 QRasterPaintEngineState *s = state(); |
475 QRasterPaintEngineState *s = state(); |
476 ensureOutlineMapper(); |
476 ensureOutlineMapper(); |
477 d->outlineMapper->m_clip_rect = d->deviceRect.adjusted(-10, -10, 10, 10); |
477 d->outlineMapper->m_clip_rect = d->deviceRect.adjusted(-10, -10, 10, 10); |
|
478 |
|
479 // This is the upp |
478 QRect bounds(-QT_RASTER_COORD_LIMIT, -QT_RASTER_COORD_LIMIT, |
480 QRect bounds(-QT_RASTER_COORD_LIMIT, -QT_RASTER_COORD_LIMIT, |
479 2*QT_RASTER_COORD_LIMIT, 2*QT_RASTER_COORD_LIMIT); |
481 QT_RASTER_COORD_LIMIT*2 - 1, QT_RASTER_COORD_LIMIT * 2 - 1); |
480 d->outlineMapper->m_clip_rect = bounds.intersected(d->outlineMapper->m_clip_rect); |
482 d->outlineMapper->m_clip_rect = bounds.intersected(d->outlineMapper->m_clip_rect); |
481 |
483 |
482 |
484 |
483 d->rasterizer->setClipRect(d->deviceRect); |
485 d->rasterizer->setClipRect(d->deviceRect); |
484 |
486 |