35 Scratchpad(
View *view,
const QColor & defaultColor, QWidget *parent = 0);
73 void fillGradient(
const QPoint &gradientVectorStart = QPoint(),
74 const QPoint &gradientVectorEnd = QPoint(),
75 const QString &gradientShape =
"linear",
76 const QString &gradientRepeat =
"none",
77 bool reverseGradient =
false,
83 void fillBackground();
88 void fillForeground();
93 void fillTransparent();
99 void fillDocument(
bool fullContent =
true);
105 void fillLayer(
bool fullContent =
true);
111 void fillPattern(QTransform transform = QTransform());
117 void setFillColor(QColor color);
123 void setModeManually(
bool value);
132 void setMode(QString modeName);
140 void linkCanvasZoom(
bool value);
146 bool canvasZoomLink();
153 void setCanvasZoomLink(
bool value);
167 bool setScale(qreal scale)
const;
187 void panTo(qint32 x, qint32 y);
198 void loadScratchpadImage(QImage image);
204 QImage copyScratchpadImageData();
228 QRect viewportBounds()
const;
235 QRect contentBounds()
const;
257 const QScopedPointer<Private>
d;