RGraphicsViewImage
Class in GUI Module
Header: #include <src/gui/RGraphicsViewImage.h>
Inherits: QObject, RGraphicsView
Description
Section titled “Description”QImage based 2d graphics view.
This graphics view renders a rectangular area of a RGraphicsSceneQt into a QImage.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RGraphicsViewImage(QObject *parent=NULL) |
|
| virtual | ~RGraphicsViewImage() |
| void | addToBackground(const RGraphicsSceneDrawable &drawable) |
| void | addToOverlay(int overlayId, RObject::Id objectId, const RGraphicsSceneDrawable &drawable) |
| void | clear() |
| void | clearBackground() |
| void | clearOverlay(int overlayId) |
| void | clearOverlay(int overlayId, RObject::Id objectId) |
| virtual void | emitUpdateSnapInfo(RSnap *snap, RSnapRestriction *restriction) |
| virtual void | emitUpdateTextLabel(const RTextLabel &textLabel) |
| virtual QImage | getBuffer() constgetBuffer |
| bool | getColorCorrectionOverride() const |
| virtual QCursor | getCursor() |
| virtual double | getDevicePixelRatio() const |
| double | getDrawingScale() const |
| QImage | getGraphicsBufferWithPreview() const |
| virtual int | getHeight() const |
| RVector | getLastKnownScreenPosition() const |
| double | getMaximumLineweight() const |
| double | getMinimumLineweight() const |
| int | getNumThreads() const |
| RVector | getPaintOffset() const |
| bool | getPanOptimization() |
| QTransform | getTransform() const |
| virtual int | getWidth() const |
| virtual void | giveFocus() |
| virtual bool | hasFocus() |
| bool | isAlphaEnabled() const |
| virtual bool | isShared() constReimplementations may return true to prevent this view from being deleted. |
| virtual double | mapDistanceFromView(double d) constMaps the given view distance in pixels to a model distance. |
| virtual double | mapDistanceToView(double d) constMaps the given model distance to a screen distance in pixels. |
| virtual RVector | mapFromView(const RVector &v, double z=0.0) constMaps the given view coordinate in pixels to a model coordinate. |
| virtual RVector | mapToView(const RVector &v) constMaps the given model coordinate to a view coordinate in pixels. |
| virtual void | paintCursorLine(const RLine &ucsPosition) |
| virtual void | paintDrawableThread(RGraphicsViewWorker *worker, RGraphicsSceneDrawable &drawable, const RBox &clipRectangle, bool preview=false) |
| virtual void | paintEntities(QPainter *painter, const RBox &queryBox) |
| void | paintEntitiesMulti(const RBox &queryBox) |
| virtual void | paintEntityThread(RGraphicsViewWorker *worker, RObject::Id id, bool preview=false)Looks up entity drawable and paints it using the given worker. |
| virtual void | paintGridLine(const RLine &ucsPosition) |
| virtual void | paintGridPoint(const RVector &ucsPosition) |
| virtual void | paintImage(RGraphicsViewWorker *worker, const RImageData &image, bool workingSet=true) |
| virtual void | paintOverlay() |
| virtual void | paintText(RGraphicsViewWorker *worker, const RTextBasedData &text, bool workingSet=true) |
| virtual void | regenerate(bool force=false)Regenerates the view from the underlying scene. |
| virtual bool | registerForFocus() constReimplementations may return true to register this view and allow it to be returned by RDocumentInterface::getLastKnownViewWithFocus. |
| virtual void | removeFocus() |
| virtual void | repaintView()Triggers a paintEvent based on a buffered offscreen bitmap (very fast). |
| virtual void | resizeImage(int w, int h) |
| void | restoreViewport() |
| void | saveViewport() |
| void | setAlphaEnabled(bool on) |
| virtual void | setBackgroundColor(const QColor &col) |
| void | setBackgroundTransform(double bgFactor, const RVector &bgOffset) |
| void | setColorCorrectionOverride(bool on) |
| virtual void | setCursor(const QCursor &cursor) |
| virtual void | setCursor(Qt::CursorShape cursorShape) |
| void | setDrawingScale(double s) |
| void | setLastKnownModelPosition(const RVector &p) |
| void | setLastKnownScreenPosition(const RVector &p) |
| void | setMaximumLineweight(double lw) |
| void | setMinimumLineweight(double lw) |
| void | setNumThreads(int n) |
| void | setPaintOffset(const RVector &offset) |
| void | setPaintOrigin(bool val) |
| void | setPanOptimization(bool on) |
| virtual void | setScene(RGraphicsSceneQt *scene, bool regen=true) |
| virtual void | simulateMouseMoveEvent() |
| virtual void | updateImage()Repaints the view. |
| virtual void | viewportChangeEvent() |
Protected Functions
Section titled “Protected Functions”| void | applyColorCorrection(QBrush &brush) |
| void | applyColorCorrection(QPen &pen) |
| void | applyColorMode(QBrush &brush) |
| void | applyColorMode(QPen &pen) |
| void | applyMinimumLineweight(QPen &pen) |
| void | applyPrintingPenWorkaround(RGraphicsViewWorker *worker, QPen &pen)Works around the way Qt’s PDF paint engine (PDF export, printing on Linux) strokes pens which it cannot write natively: pens with a transparent color (or any pen while the painter opacity is not 1.0). |
| virtual void | drawCircle(RGraphicsViewWorker *worker, QPointF pt, double pSize) |
| virtual void | drawDot(RGraphicsViewWorker *worker, QPointF pt) |
| virtual void | drawEx(RGraphicsViewWorker *worker, QPointF pt, double pSize) |
| virtual void | drawPlus(RGraphicsViewWorker *worker, QPointF pt, double pSize) |
| virtual void | drawSquare(RGraphicsViewWorker *worker, QPointF pt, double pSize) |
| virtual void | drawVBar(RGraphicsViewWorker *worker, QPointF pt, double pSize) |
| QColor | getCorrectedColor(const QColor &col) |
| double | getPointSize(double pSize) |
| QList< RPainterPath > | getTextLayoutsPainterPaths(const RTextBasedData &text, const QList< RTextLayout > &textLayouts) |
| virtual RGraphicsViewWorker * | initWorker(int threadId) |
| virtual void | initWorkers()Updates the graphics buffer from scratch. |
| void | invalidate(bool force=false) |
| virtual void | paintBackground(RGraphicsViewWorker *worker, const QRect &rect=QRect()) |
| virtual void | paintCursor(RGraphicsViewWorker *worker) |
| virtual void | paintDocument(const QRect &rect=QRect()) |
| virtual void | paintErase(RGraphicsViewWorker *worker, const QRect &rect=QRect()) |
| virtual void | paintGrid(RGraphicsViewWorker *worker, const QRect &rect=QRect()) |
| virtual void | paintMetaGrid(RGraphicsViewWorker *worker, const QRect &rect=QRect()) |
| virtual void | paintOrigin(RGraphicsViewWorker *worker)Paints the absolute zero point (origin). |
| virtual void | paintReferencePoint(RGraphicsViewWorker *worker, const RRefPoint &pos, bool highlight) |
| virtual void | paintRelativeZero(RGraphicsViewWorker *worker) |
| void | updateTransformation() const |
Protected Attributes
Section titled “Protected Attributes”Signals
Section titled “Signals”| void | updateSnapInfo(RGraphicsViewWorker *worker, RSnap *snap, RSnapRestriction *restriction) |
| void | updateTextLabel(RGraphicsViewWorker *worker, const RTextLabel &textLabel) |
| void | viewportChanged() |
Member Documentation
Section titled “Member Documentation”RGraphicsViewImage
Section titled “RGraphicsViewImage”RGraphicsViewImage::RGraphicsViewImage(QObject *parent=NULL)All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
~RGraphicsViewImage
Section titled “~RGraphicsViewImage”virtual RGraphicsViewImage::~RGraphicsViewImage()virtual
addToBackground
Section titled “addToBackground”void RGraphicsViewImage::addToBackground(const RGraphicsSceneDrawable &drawable)addToOverlay
Section titled “addToOverlay”void RGraphicsViewImage::addToOverlay(int overlayId, RObject::Id objectId, const RGraphicsSceneDrawable &drawable)void RGraphicsViewImage::clear()clearBackground
Section titled “clearBackground”void RGraphicsViewImage::clearBackground()clearOverlay
Section titled “clearOverlay”void RGraphicsViewImage::clearOverlay(int overlayId)clearOverlay
Section titled “clearOverlay”void RGraphicsViewImage::clearOverlay(int overlayId, RObject::Id objectId)emitUpdateSnapInfo
Section titled “emitUpdateSnapInfo”virtual void RGraphicsViewImage::emitUpdateSnapInfo(RSnap *snap, RSnapRestriction *restriction)virtual
emitUpdateTextLabel
Section titled “emitUpdateTextLabel”virtual void RGraphicsViewImage::emitUpdateTextLabel(const RTextLabel &textLabel)virtual
getBuffer
Section titled “getBuffer”virtual QImage RGraphicsViewImage::getBuffer() constvirtual const
getBuffer
Returns: Buffer to rendered graphics view, if supported by the implementation.
Reimplemented from getBuffer.
getColorCorrectionOverride
Section titled “getColorCorrectionOverride”bool RGraphicsViewImage::getColorCorrectionOverride() constinline const
getCursor
Section titled “getCursor”virtual QCursor RGraphicsViewImage::getCursor()virtual
Reimplemented from getCursor.
getDevicePixelRatio
Section titled “getDevicePixelRatio”virtual double RGraphicsViewImage::getDevicePixelRatio() constvirtual const
Reimplemented from getDevicePixelRatio.
getDrawingScale
Section titled “getDrawingScale”double RGraphicsViewImage::getDrawingScale() constinline const
getGraphicsBufferWithPreview
Section titled “getGraphicsBufferWithPreview”QImage RGraphicsViewImage::getGraphicsBufferWithPreview() constinline const
getHeight
Section titled “getHeight”virtual int RGraphicsViewImage::getHeight() constvirtual const
Returns: Height of the view in pixels.
Reimplemented from getHeight.
getLastKnownScreenPosition
Section titled “getLastKnownScreenPosition”RVector RGraphicsViewImage::getLastKnownScreenPosition() constinline const
getMaximumLineweight
Section titled “getMaximumLineweight”double RGraphicsViewImage::getMaximumLineweight() constinline const
getMinimumLineweight
Section titled “getMinimumLineweight”double RGraphicsViewImage::getMinimumLineweight() constinline const
getNumThreads
Section titled “getNumThreads”int RGraphicsViewImage::getNumThreads() constinline const
getPaintOffset
Section titled “getPaintOffset”RVector RGraphicsViewImage::getPaintOffset() constinline const
getPanOptimization
Section titled “getPanOptimization”bool RGraphicsViewImage::getPanOptimization()getTransform
Section titled “getTransform”QTransform RGraphicsViewImage::getTransform() constconst
getWidth
Section titled “getWidth”virtual int RGraphicsViewImage::getWidth() constvirtual const
Returns: Width of the view in pixels.
Reimplemented from getWidth.
giveFocus
Section titled “giveFocus”virtual void RGraphicsViewImage::giveFocus()virtual
Reimplemented from giveFocus.
hasFocus
Section titled “hasFocus”virtual bool RGraphicsViewImage::hasFocus()virtual
Returns: True if this view currently has the focus.
Reimplemented from hasFocus.
isAlphaEnabled
Section titled “isAlphaEnabled”bool RGraphicsViewImage::isAlphaEnabled() constinline const
isShared
Section titled “isShared”virtual bool RGraphicsViewImage::isShared() constvirtual inline const
Reimplementations may return true to prevent this view from being deleted.
Reimplemented from isShared.
mapDistanceFromView
Section titled “mapDistanceFromView”virtual double RGraphicsViewImage::mapDistanceFromView(double d) constvirtual const
Maps the given view distance in pixels to a model distance.
If the view projection is not orthogonal the result is undefined.
Reimplemented from mapDistanceFromView.
mapDistanceToView
Section titled “mapDistanceToView”virtual double RGraphicsViewImage::mapDistanceToView(double d) constvirtual const
Maps the given model distance to a screen distance in pixels.
If the view projection is not orthogonal the result is undefined.
Reimplemented from mapDistanceToView.
mapFromView
Section titled “mapFromView”virtual RVector RGraphicsViewImage::mapFromView(const RVector &v, double z=0.0) constvirtual const
Maps the given view coordinate in pixels to a model coordinate.
Parameters:
v: view coordinate in pixels, v.z is always 0z: known z coordinate in model units
Reimplemented from mapFromView.
mapToView
Section titled “mapToView”virtual RVector RGraphicsViewImage::mapToView(const RVector &v) constvirtual const
Maps the given model coordinate to a view coordinate in pixels.
Reimplemented from mapToView.
paintCursorLine
Section titled “paintCursorLine”virtual void RGraphicsViewImage::paintCursorLine(const RLine &ucsPosition)virtual
Reimplemented from paintCursorLine.
paintDrawableThread
Section titled “paintDrawableThread”virtual void RGraphicsViewImage::paintDrawableThread(RGraphicsViewWorker *worker, RGraphicsSceneDrawable &drawable, const RBox &clipRectangle, bool preview=false)virtual
paintEntities
Section titled “paintEntities”virtual void RGraphicsViewImage::paintEntities(QPainter *painter, const RBox &queryBox)virtual
paintEntitiesMulti
Section titled “paintEntitiesMulti”void RGraphicsViewImage::paintEntitiesMulti(const RBox &queryBox)paintEntityThread
Section titled “paintEntityThread”virtual void RGraphicsViewImage::paintEntityThread(RGraphicsViewWorker *worker, RObject::Id id, bool preview=false)virtual
Looks up entity drawable and paints it using the given worker.
paintGridLine
Section titled “paintGridLine”virtual void RGraphicsViewImage::paintGridLine(const RLine &ucsPosition)virtual
Reimplemented from paintGridLine.
paintGridPoint
Section titled “paintGridPoint”virtual void RGraphicsViewImage::paintGridPoint(const RVector &ucsPosition)virtual
Reimplemented from paintGridPoint.
paintImage
Section titled “paintImage”virtual void RGraphicsViewImage::paintImage(RGraphicsViewWorker *worker, const RImageData &image, bool workingSet=true)virtual
paintOverlay
Section titled “paintOverlay”virtual void RGraphicsViewImage::paintOverlay()virtual
paintText
Section titled “paintText”virtual void RGraphicsViewImage::paintText(RGraphicsViewWorker *worker, const RTextBasedData &text, bool workingSet=true)virtual
regenerate
Section titled “regenerate”virtual void RGraphicsViewImage::regenerate(bool force=false)virtual
Regenerates the view from the underlying scene.
Reimplemented from regenerate.
registerForFocus
Section titled “registerForFocus”virtual bool RGraphicsViewImage::registerForFocus() constvirtual inline const
Reimplementations may return true to register this view and allow it to be returned by RDocumentInterface::getLastKnownViewWithFocus.
Reimplemented from registerForFocus.
removeFocus
Section titled “removeFocus”virtual void RGraphicsViewImage::removeFocus()virtual
Reimplemented from removeFocus.
repaintView
Section titled “repaintView”virtual void RGraphicsViewImage::repaintView()virtual
Triggers a paintEvent based on a buffered offscreen bitmap (very fast).
Reimplemented from repaintView.
resizeImage
Section titled “resizeImage”virtual void RGraphicsViewImage::resizeImage(int w, int h)virtual
restoreViewport
Section titled “restoreViewport”void RGraphicsViewImage::restoreViewport()saveViewport
Section titled “saveViewport”void RGraphicsViewImage::saveViewport()setAlphaEnabled
Section titled “setAlphaEnabled”void RGraphicsViewImage::setAlphaEnabled(bool on)inline
setBackgroundColor
Section titled “setBackgroundColor”virtual void RGraphicsViewImage::setBackgroundColor(const QColor &col)virtual
Reimplemented from setBackgroundColor.
setBackgroundTransform
Section titled “setBackgroundTransform”void RGraphicsViewImage::setBackgroundTransform(double bgFactor, const RVector &bgOffset)setColorCorrectionOverride
Section titled “setColorCorrectionOverride”void RGraphicsViewImage::setColorCorrectionOverride(bool on)inline
setCursor
Section titled “setCursor”virtual void RGraphicsViewImage::setCursor(const QCursor &cursor)virtual
Reimplemented from setCursor.
setCursor
Section titled “setCursor”virtual void RGraphicsViewImage::setCursor(Qt::CursorShape cursorShape)virtual
Reimplemented from setCursor.
setDrawingScale
Section titled “setDrawingScale”void RGraphicsViewImage::setDrawingScale(double s)inline
setLastKnownModelPosition
Section titled “setLastKnownModelPosition”void RGraphicsViewImage::setLastKnownModelPosition(const RVector &p)inline
setLastKnownScreenPosition
Section titled “setLastKnownScreenPosition”void RGraphicsViewImage::setLastKnownScreenPosition(const RVector &p)inline
setMaximumLineweight
Section titled “setMaximumLineweight”void RGraphicsViewImage::setMaximumLineweight(double lw)inline
setMinimumLineweight
Section titled “setMinimumLineweight”void RGraphicsViewImage::setMinimumLineweight(double lw)inline
setNumThreads
Section titled “setNumThreads”void RGraphicsViewImage::setNumThreads(int n)setPaintOffset
Section titled “setPaintOffset”void RGraphicsViewImage::setPaintOffset(const RVector &offset)inline
setPaintOrigin
Section titled “setPaintOrigin”void RGraphicsViewImage::setPaintOrigin(bool val)setPanOptimization
Section titled “setPanOptimization”void RGraphicsViewImage::setPanOptimization(bool on)setScene
Section titled “setScene”virtual void RGraphicsViewImage::setScene(RGraphicsSceneQt *scene, bool regen=true)virtual
simulateMouseMoveEvent
Section titled “simulateMouseMoveEvent”virtual void RGraphicsViewImage::simulateMouseMoveEvent()virtual
Reimplemented from simulateMouseMoveEvent.
updateImage
Section titled “updateImage”virtual void RGraphicsViewImage::updateImage()virtual
Repaints the view.
If the view has been invalidated before, the view is redrawn from scratch. Otherwise, only a cached buffer is drawn (very fast).
See also: invalidate
viewportChangeEvent
Section titled “viewportChangeEvent”virtual void RGraphicsViewImage::viewportChangeEvent()virtual
Reimplemented from viewportChangeEvent.
applyColorCorrection
Section titled “applyColorCorrection”void RGraphicsViewImage::applyColorCorrection(QBrush &brush)protected
applyColorCorrection
Section titled “applyColorCorrection”void RGraphicsViewImage::applyColorCorrection(QPen &pen)protected
applyColorMode
Section titled “applyColorMode”void RGraphicsViewImage::applyColorMode(QBrush &brush)protected
applyColorMode
Section titled “applyColorMode”void RGraphicsViewImage::applyColorMode(QPen &pen)protected
applyMinimumLineweight
Section titled “applyMinimumLineweight”void RGraphicsViewImage::applyMinimumLineweight(QPen &pen)protected
applyPrintingPenWorkaround
Section titled “applyPrintingPenWorkaround”void RGraphicsViewImage::applyPrintingPenWorkaround(RGraphicsViewWorker *worker, QPen &pen)protected
Works around the way Qt’s PDF paint engine (PDF export, printing on Linux) strokes pens which it cannot write natively: pens with a transparent color (or any pen while the painter opacity is not 1.0).
Such pens are stroked by Qt itself in painter coordinates (drawing units here) and the stroke outline is exported as a filled polygon. While doing so, Qt replaces pen widths below 0.0001 painter units with a fixed width of 0.1 painter units and flattens curves with a fixed tolerance of 0.25 painter units (see QPdf::Stroker::setPen, QStrokerOps::strokePath). In a drawing in Meters, the minimum print line weight of 0.01mm is 0.00001 drawing units: a transparent hatch printed from such a drawing (directly or through a viewport) ends up with 100mm wide pattern lines and polygonal arcs.
Cosmetic pens are stroked by Qt in device coordinates instead, with the pen width in device pixels and a curve tolerance of 0.25 device pixels. The given pen is converted to an equivalent cosmetic pen if it would be stroked by Qt, using the current painter transformation to scale the width to device pixels. Opaque pens are not touched since those are written natively with their exact width.
The Windows print engine strokes non-cosmetic pens in painter coordinates in the same way (QWin32PrintEnginePrivate::strokePath), cosmetic pens in device coordinates.
drawCircle
Section titled “drawCircle”virtual void RGraphicsViewImage::drawCircle(RGraphicsViewWorker *worker, QPointF pt, double pSize)virtual protected
drawDot
Section titled “drawDot”virtual void RGraphicsViewImage::drawDot(RGraphicsViewWorker *worker, QPointF pt)virtual protected
drawEx
Section titled “drawEx”virtual void RGraphicsViewImage::drawEx(RGraphicsViewWorker *worker, QPointF pt, double pSize)virtual protected
drawPlus
Section titled “drawPlus”virtual void RGraphicsViewImage::drawPlus(RGraphicsViewWorker *worker, QPointF pt, double pSize)virtual protected
drawSquare
Section titled “drawSquare”virtual void RGraphicsViewImage::drawSquare(RGraphicsViewWorker *worker, QPointF pt, double pSize)virtual protected
drawVBar
Section titled “drawVBar”virtual void RGraphicsViewImage::drawVBar(RGraphicsViewWorker *worker, QPointF pt, double pSize)virtual protected
getCorrectedColor
Section titled “getCorrectedColor”QColor RGraphicsViewImage::getCorrectedColor(const QColor &col)protected
getPointSize
Section titled “getPointSize”double RGraphicsViewImage::getPointSize(double pSize)protected
getTextLayoutsPainterPaths
Section titled “getTextLayoutsPainterPaths”QList< RPainterPath > RGraphicsViewImage::getTextLayoutsPainterPaths(const RTextBasedData &text, const QList< RTextLayout > &textLayouts)protected
initWorker
Section titled “initWorker”virtual RGraphicsViewWorker * RGraphicsViewImage::initWorker(int threadId)virtual protected
initWorkers
Section titled “initWorkers”virtual void RGraphicsViewImage::initWorkers()virtual protected
Updates the graphics buffer from scratch.
This can be relatively slow and is only called on view port changes or document changes.
invalidate
Section titled “invalidate”void RGraphicsViewImage::invalidate(bool force=false)protected
paintBackground
Section titled “paintBackground”virtual void RGraphicsViewImage::paintBackground(RGraphicsViewWorker *worker, const QRect &rect=QRect())virtual protected
paintCursor
Section titled “paintCursor”virtual void RGraphicsViewImage::paintCursor(RGraphicsViewWorker *worker)virtual protected
paintDocument
Section titled “paintDocument”virtual void RGraphicsViewImage::paintDocument(const QRect &rect=QRect())virtual protected
paintErase
Section titled “paintErase”virtual void RGraphicsViewImage::paintErase(RGraphicsViewWorker *worker, const QRect &rect=QRect())virtual protected
paintGrid
Section titled “paintGrid”virtual void RGraphicsViewImage::paintGrid(RGraphicsViewWorker *worker, const QRect &rect=QRect())virtual protected
paintMetaGrid
Section titled “paintMetaGrid”virtual void RGraphicsViewImage::paintMetaGrid(RGraphicsViewWorker *worker, const QRect &rect=QRect())virtual protected
paintOrigin
Section titled “paintOrigin”virtual void RGraphicsViewImage::paintOrigin(RGraphicsViewWorker *worker)virtual protected
Paints the absolute zero point (origin).
paintReferencePoint
Section titled “paintReferencePoint”virtual void RGraphicsViewImage::paintReferencePoint(RGraphicsViewWorker *worker, const RRefPoint &pos, bool highlight)virtual protected
paintRelativeZero
Section titled “paintRelativeZero”virtual void RGraphicsViewImage::paintRelativeZero(RGraphicsViewWorker *worker)virtual protected
updateTransformation
Section titled “updateTransformation”void RGraphicsViewImage::updateTransformation() constconst protected
alphaEnabled
Section titled “alphaEnabled”bool RGraphicsViewImage::alphaEnabledprotected
backgroundDecoration
Section titled “backgroundDecoration”QList<RGraphicsSceneDrawable> RGraphicsViewImage::backgroundDecorationprotected
backgroundFactor
Section titled “backgroundFactor”double RGraphicsViewImage::backgroundFactorprotected
backgroundOffset
Section titled “backgroundOffset”RVector RGraphicsViewImage::backgroundOffsetprotected
bgColorLightness
Section titled “bgColorLightness”int RGraphicsViewImage::bgColorLightnessprotected
clipBox
Section titled “clipBox”RBox RGraphicsViewImage::clipBoxprotected
colorCorrection
Section titled “colorCorrection”bool RGraphicsViewImage::colorCorrectionprotected
colorCorrectionDisableForPrinting
Section titled “colorCorrectionDisableForPrinting”bool RGraphicsViewImage::colorCorrectionDisableForPrintingprotected
colorCorrectionOverride
Section titled “colorCorrectionOverride”int RGraphicsViewImage::colorCorrectionOverrideprotected
colorThreshold
Section titled “colorThreshold”int RGraphicsViewImage::colorThresholdprotected
currentScale
Section titled “currentScale”double RGraphicsViewImage::currentScaleprotected
decorationWorker
Section titled “decorationWorker”RGraphicsViewWorker* RGraphicsViewImage::decorationWorkerprotected
doPaintOrigin
Section titled “doPaintOrigin”bool RGraphicsViewImage::doPaintOriginprotected
drawingScale
Section titled “drawingScale”double RGraphicsViewImage::drawingScaleprotected
editingWorkingSet
Section titled “editingWorkingSet”bool RGraphicsViewImage::editingWorkingSetprotected
cached per update: constant while one update is rendered
graphicsBuffer
Section titled “graphicsBuffer”QImage RGraphicsViewImage::graphicsBufferprotected
graphicsBufferNeedsUpdate
Section titled “graphicsBufferNeedsUpdate”bool RGraphicsViewImage::graphicsBufferNeedsUpdateprotected
graphicsBufferWithPreview
Section titled “graphicsBufferWithPreview”QImage RGraphicsViewImage::graphicsBufferWithPreviewprotected
isSelected
Section titled “isSelected”bool RGraphicsViewImage::isSelectedprotected
lastFactor
Section titled “lastFactor”double RGraphicsViewImage::lastFactorprotected
lastOffset
Section titled “lastOffset”RVector RGraphicsViewImage::lastOffsetprotected
lastScaleString
Section titled “lastScaleString”QString RGraphicsViewImage::lastScaleStringprotected
lastSize
Section titled “lastSize”QSize RGraphicsViewImage::lastSizeprotected
maximumLineweight
Section titled “maximumLineweight”double RGraphicsViewImage::maximumLineweightprotected
minimumLineweight
Section titled “minimumLineweight”double RGraphicsViewImage::minimumLineweightprotected
mutexSi
Section titled “mutexSi”QMutex RGraphicsViewImage::mutexSiprotected
numThreads
Section titled “numThreads”int RGraphicsViewImage::numThreadsprotected
orderedIds
Section titled “orderedIds”QList<RObject::Id> RGraphicsViewImage::orderedIdsprotected
cached list of visible entities in draw order and what it is valid for
orderedIdsBox
Section titled “orderedIdsBox”RBox RGraphicsViewImage::orderedIdsBoxprotected
orderedIdsValid
Section titled “orderedIdsValid”bool RGraphicsViewImage::orderedIdsValidprotected
orderedIdsVersion
Section titled “orderedIdsVersion”int RGraphicsViewImage::orderedIdsVersionprotected
overlayDrawables
Section titled “overlayDrawables”QMap<int, QMap<RObject::Id, QList<RGraphicsSceneDrawable> > > RGraphicsViewImage::overlayDrawablesprotected
paintOffset
Section titled “paintOffset”RVector RGraphicsViewImage::paintOffsetprotected
panOptimization
Section titled “panOptimization”bool RGraphicsViewImage::panOptimizationprotected
previousView
Section titled “previousView”QTransform RGraphicsViewImage::previousViewprotected
sceneQt
Section titled “sceneQt”RGraphicsSceneQt* RGraphicsViewImage::sceneQtprotected
selectedIds
Section titled “selectedIds”QSet<RObject::Id> RGraphicsViewImage::selectedIdsprotected
showOnlyPlottable
Section titled “showOnlyPlottable”bool RGraphicsViewImage::showOnlyPlottableprotected
transform
Section titled “transform”QTransform RGraphicsViewImage::transformprotected
workers
Section titled “workers”QList<RGraphicsViewWorker*> RGraphicsViewImage::workersprotected
updateSnapInfo
Section titled “updateSnapInfo”void RGraphicsViewImage::updateSnapInfo(RGraphicsViewWorker *worker, RSnap *snap, RSnapRestriction *restriction)updateTextLabel
Section titled “updateTextLabel”void RGraphicsViewImage::updateTextLabel(RGraphicsViewWorker *worker, const RTextLabel &textLabel)viewportChanged
Section titled “viewportChanged”void RGraphicsViewImage::viewportChanged()