image/qpaintengine_pic.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5 -
6 -
7 -
8 -
9 -
10class QPicturePaintEnginePrivate : public QPaintEnginePrivate -
11{ -
12 inline QPicturePaintEngine* q_func() { return static_cast<QPicturePaintEngine *>(q_ptr); } inline const QPicturePaintEngine* q_func() const { return static_cast<const QPicturePaintEngine *>(q_ptr); } friend class QPicturePaintEngine; -
13public: -
14 QDataStream s; -
15 QPainter *pt; -
16 QPicturePrivate *pic_d; -
17}; -
18 -
19QPicturePaintEngine::QPicturePaintEngine() -
20 : QPaintEngine(*(new QPicturePaintEnginePrivate), AllFeatures) -
21{ -
22 QPicturePaintEnginePrivate * const d = d_func(); -
23 d->pt = 0; -
24}
executed: }
Execution Count:16
16
25 -
26QPicturePaintEngine::QPicturePaintEngine(QPaintEnginePrivate &dptr) -
27 : QPaintEngine(dptr, AllFeatures) -
28{ -
29 QPicturePaintEnginePrivate * const d = d_func(); -
30 d->pt = 0; -
31}
never executed: }
0
32 -
33QPicturePaintEngine::~QPicturePaintEngine() -
34{ -
35} -
36 -
37bool QPicturePaintEngine::begin(QPaintDevice *pd) -
38{ -
39 QPicturePaintEnginePrivate * const d = d_func(); -
40 -
41 -
42 -
43 qt_noop(); -
44 QPicture *pic = static_cast<QPicture *>(pd); -
45 -
46 d->pdev = pd; -
47 d->pic_d = pic->d_func(); -
48 qt_noop(); -
49 -
50 d->s.setDevice(&d->pic_d->pictb); -
51 d->s.setVersion(d->pic_d->formatMajor); -
52 -
53 d->pic_d->pictb.open(QIODevice::WriteOnly | QIODevice::Truncate); -
54 d->s.writeRawData(qt_mfhdr_tag, 4); -
55 d->s << (quint16) 0 << (quint16) d->pic_d->formatMajor << (quint16) d->pic_d->formatMinor; -
56 d->s << (quint8) QPicturePrivate::PdcBegin << (quint8) sizeof(qint32); -
57 d->pic_d->brect = QRect(); -
58 if (d->pic_d->formatMajor >= 4) {
partially evaluated: d->pic_d->formatMajor >= 4
TRUEFALSE
yes
Evaluation Count:16
no
Evaluation Count:0
0-16
59 QRect r = pic->boundingRect(); -
60 d->s << (qint32) r.left() << (qint32) r.top() << (qint32) r.width() -
61 << (qint32) r.height(); -
62 }
executed: }
Execution Count:16
16
63 d->pic_d->trecs = 0; -
64 d->s << (quint32)d->pic_d->trecs; -
65 d->pic_d->formatOk = false; -
66 setActive(true); -
67 return true;
executed: return true;
Execution Count:16
16
68} -
69 -
70bool QPicturePaintEngine::end() -
71{ -
72 QPicturePaintEnginePrivate * const d = d_func(); -
73 -
74 -
75 -
76 d->pic_d->trecs++; -
77 d->s << (quint8) QPicturePrivate::PdcEnd << (quint8) 0; -
78 int cs_start = sizeof(quint32); -
79 int data_start = cs_start + sizeof(quint16); -
80 int brect_start = data_start + 2*sizeof(qint16) + 2*sizeof(quint8); -
81 int pos = d->pic_d->pictb.pos(); -
82 d->pic_d->pictb.seek(brect_start); -
83 if (d->pic_d->formatMajor >= 4) {
partially evaluated: d->pic_d->formatMajor >= 4
TRUEFALSE
yes
Evaluation Count:16
no
Evaluation Count:0
0-16
84 QRect r = static_cast<QPicture *>(d->pdev)->boundingRect(); -
85 d->s << (qint32) r.left() << (qint32) r.top() << (qint32) r.width() -
86 << (qint32) r.height(); -
87 }
executed: }
Execution Count:16
16
88 d->s << (quint32) d->pic_d->trecs; -
89 d->pic_d->pictb.seek(cs_start); -
90 QByteArray buf = d->pic_d->pictb.buffer(); -
91 quint16 cs = (quint16) qChecksum(buf.constData() + data_start, pos - data_start); -
92 d->s << cs; -
93 d->pic_d->pictb.close(); -
94 setActive(false); -
95 return true;
executed: return true;
Execution Count:16
16
96} -
97 -
98 -
99 -
100 -
101 -
102 -
103 -
104void QPicturePaintEngine::updatePen(const QPen &pen) -
105{ -
106 QPicturePaintEnginePrivate * const d = d_func(); -
107 -
108 -
109 -
110 -
111 int pos; -
112 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetPen; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
113 if (d->pic_d->in_memory_only) {
partially evaluated: d->pic_d->in_memory_only
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:16
0-16
114 int index = d->pic_d->pen_list.size(); -
115 d->pic_d->pen_list.append(pen); -
116 d->s << index; -
117 } else {
never executed: }
0
118 d->s << pen; -
119 }
executed: }
Execution Count:16
16
120 writeCmdLength(pos, QRect(), false); -
121}
executed: }
Execution Count:16
16
122 -
123void QPicturePaintEngine::updateCompositionMode(QPainter::CompositionMode cmode) -
124{ -
125 QPicturePaintEnginePrivate * const d = d_func(); -
126 -
127 -
128 -
129 int pos; -
130 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetCompositionMode; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
131 d->s << (qint32)cmode; -
132 writeCmdLength(pos, QRectF(), false); -
133}
never executed: }
0
134 -
135void QPicturePaintEngine::updateClipEnabled(bool enabled) -
136{ -
137 QPicturePaintEnginePrivate * const d = d_func(); -
138 -
139 -
140 -
141 int pos; -
142 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetClipEnabled; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
143 d->s << enabled; -
144 writeCmdLength(pos, QRectF(), false); -
145}
never executed: }
0
146 -
147void QPicturePaintEngine::updateOpacity(qreal opacity) -
148{ -
149 QPicturePaintEnginePrivate * const d = d_func(); -
150 -
151 -
152 -
153 int pos; -
154 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetOpacity; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
155 d->s << double(opacity); -
156 writeCmdLength(pos, QRectF(), false); -
157}
never executed: }
0
158 -
159void QPicturePaintEngine::updateBrush(const QBrush &brush) -
160{ -
161 QPicturePaintEnginePrivate * const d = d_func(); -
162 -
163 -
164 -
165 int pos; -
166 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetBrush; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
167 if (d->pic_d->in_memory_only) {
partially evaluated: d->pic_d->in_memory_only
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:16
0-16
168 int index = d->pic_d->brush_list.size(); -
169 d->pic_d->brush_list.append(brush); -
170 d->s << index; -
171 } else {
never executed: }
0
172 d->s << brush; -
173 }
executed: }
Execution Count:16
16
174 writeCmdLength(pos, QRect(), false); -
175}
executed: }
Execution Count:16
16
176 -
177void QPicturePaintEngine::updateBrushOrigin(const QPointF &p) -
178{ -
179 QPicturePaintEnginePrivate * const d = d_func(); -
180 -
181 -
182 -
183 int pos; -
184 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetBrushOrigin; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
185 d->s << p; -
186 writeCmdLength(pos, QRect(), false); -
187}
never executed: }
0
188 -
189void QPicturePaintEngine::updateFont(const QFont &font) -
190{ -
191 QPicturePaintEnginePrivate * const d = d_func(); -
192 -
193 -
194 -
195 int pos; -
196 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetFont; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
197 QFont fnt = font; -
198 d->s << fnt; -
199 writeCmdLength(pos, QRectF(), false); -
200}
never executed: }
0
201 -
202void QPicturePaintEngine::updateBackground(Qt::BGMode bgMode, const QBrush &bgBrush) -
203{ -
204 QPicturePaintEnginePrivate * const d = d_func(); -
205 -
206 -
207 -
208 int pos; -
209 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetBkColor; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
210 d->s << bgBrush.color(); -
211 writeCmdLength(pos, QRect(), false); -
212 -
213 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetBkMode; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
214 d->s << (qint8) bgMode; -
215 writeCmdLength(pos, QRectF(), false); -
216}
never executed: }
0
217 -
218void QPicturePaintEngine::updateMatrix(const QTransform &matrix) -
219{ -
220 QPicturePaintEnginePrivate * const d = d_func(); -
221 -
222 -
223 -
224 int pos; -
225 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetWMatrix; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
226 d->s << matrix << (qint8) false; -
227 writeCmdLength(pos, QRectF(), false); -
228}
never executed: }
0
229 -
230void QPicturePaintEngine::updateClipRegion(const QRegion &region, Qt::ClipOperation op) -
231{ -
232 QPicturePaintEnginePrivate * const d = d_func(); -
233 -
234 -
235 -
236 -
237 int pos; -
238 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetClipRegion; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
239 d->s << region << qint8(op); -
240 writeCmdLength(pos, QRectF(), false); -
241}
never executed: }
0
242 -
243void QPicturePaintEngine::updateClipPath(const QPainterPath &path, Qt::ClipOperation op) -
244{ -
245 QPicturePaintEnginePrivate * const d = d_func(); -
246 -
247 -
248 -
249 -
250 int pos; -
251 -
252 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetClipPath; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
253 d->s << path << qint8(op); -
254 writeCmdLength(pos, QRectF(), false); -
255}
never executed: }
0
256 -
257void QPicturePaintEngine::updateRenderHints(QPainter::RenderHints hints) -
258{ -
259 QPicturePaintEnginePrivate * const d = d_func(); -
260 -
261 -
262 -
263 int pos; -
264 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcSetRenderHint; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
265 d->s << (quint32) hints; -
266 writeCmdLength(pos, QRect(), false); -
267}
never executed: }
0
268 -
269void QPicturePaintEngine::writeCmdLength(int pos, const QRectF &r, bool corr) -
270{ -
271 QPicturePaintEnginePrivate * const d = d_func(); -
272 int newpos = d->pic_d->pictb.pos(); -
273 int length = newpos - pos; -
274 QRectF br(r); -
275 -
276 if (length < 255) {
evaluated: length < 255
TRUEFALSE
yes
Evaluation Count:48
yes
Evaluation Count:1
1-48
277 d->pic_d->pictb.seek(pos - 1); -
278 d->s << (quint8)length; -
279 } else {
executed: }
Execution Count:48
48
280 d->s << (quint32)0; -
281 d->pic_d->pictb.seek(pos - 1); -
282 d->s << (quint8)255; -
283 char *p = d->pic_d->pictb.buffer().data(); -
284 memmove(p+pos+4, p+pos, length); -
285 d->s << (quint32)length; -
286 newpos += 4; -
287 }
executed: }
Execution Count:1
1
288 d->pic_d->pictb.seek(newpos); -
289 -
290 if (br.width() > 0.0 || br.height() > 0.0) {
evaluated: br.width() > 0.0
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:33
evaluated: br.height() > 0.0
TRUEFALSE
yes
Evaluation Count:1
yes
Evaluation Count:32
1-33
291 if (corr) {
evaluated: corr
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:1
1-16
292 int w2 = painter()->pen().width() / 2; -
293 br.setCoords(br.left() - w2, br.top() - w2, -
294 br.right() + w2, br.bottom() + w2); -
295 }
executed: }
Execution Count:16
16
296 br = painter()->transform().mapRect(br); -
297 if (painter()->hasClipping()) {
partially evaluated: painter()->hasClipping()
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
298 QRect cr = painter()->clipRegion().boundingRect(); -
299 br &= cr; -
300 }
never executed: }
0
301 -
302 if (br.width() > 0.0 || br.height() > 0.0) {
evaluated: br.width() > 0.0
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:1
partially evaluated: br.height() > 0.0
TRUEFALSE
yes
Evaluation Count:1
no
Evaluation Count:0
0-16
303 int minx = qFloor(br.left()); -
304 int miny = qFloor(br.top()); -
305 int maxx = qCeil(br.right()); -
306 int maxy = qCeil(br.bottom()); -
307 -
308 if (d->pic_d->brect.width() > 0 || d->pic_d->brect.height() > 0) {
evaluated: d->pic_d->brect.width() > 0
TRUEFALSE
yes
Evaluation Count:2
yes
Evaluation Count:15
partially evaluated: d->pic_d->brect.height() > 0
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:15
0-15
309 minx = qMin(minx, d->pic_d->brect.left()); -
310 miny = qMin(miny, d->pic_d->brect.top()); -
311 maxx = qMax(maxx, d->pic_d->brect.x() + d->pic_d->brect.width()); -
312 maxy = qMax(maxy, d->pic_d->brect.y() + d->pic_d->brect.height()); -
313 d->pic_d->brect = QRect(minx, miny, maxx - minx, maxy - miny); -
314 } else {
executed: }
Execution Count:2
2
315 d->pic_d->brect = QRect(minx, miny, maxx - minx, maxy - miny); -
316 }
executed: }
Execution Count:15
15
317 } -
318 }
executed: }
Execution Count:17
17
319}
executed: }
Execution Count:49
49
320 -
321void QPicturePaintEngine::drawEllipse(const QRectF &rect) -
322{ -
323 QPicturePaintEnginePrivate * const d = d_func(); -
324 -
325 -
326 -
327 int pos; -
328 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawEllipse; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
329 d->s << rect; -
330 writeCmdLength(pos, rect, true); -
331}
never executed: }
0
332 -
333void QPicturePaintEngine::drawPath(const QPainterPath &path) -
334{ -
335 QPicturePaintEnginePrivate * const d = d_func(); -
336 -
337 -
338 -
339 int pos; -
340 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawPath; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
341 d->s << path; -
342 writeCmdLength(pos, path.boundingRect(), true); -
343}
executed: }
Execution Count:10
10
344 -
345void QPicturePaintEngine::drawPolygon(const QPointF *points, int numPoints, PolygonDrawMode mode) -
346{ -
347 QPicturePaintEnginePrivate * const d = d_func(); -
348 -
349 -
350 -
351 int pos; -
352 -
353 QPolygonF polygon; -
354 for (int i=0; i<numPoints; ++i)
evaluated: i<numPoints
TRUEFALSE
yes
Evaluation Count:12
yes
Evaluation Count:6
6-12
355 polygon << points[i];
executed: polygon << points[i];
Execution Count:12
12
356 -
357 if (mode == PolylineMode) {
partially evaluated: mode == PolylineMode
TRUEFALSE
yes
Evaluation Count:6
no
Evaluation Count:0
0-6
358 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawPolyline; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
359 d->s << polygon; -
360 } else {
executed: }
Execution Count:6
6
361 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawPolygon; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
362 d->s << polygon; -
363 d->s << (qint8)(mode == OddEvenMode ? 0 : 1); -
364 }
never executed: }
0
365 -
366 writeCmdLength(pos, polygon.boundingRect(), true); -
367}
executed: }
Execution Count:6
6
368 -
369void QPicturePaintEngine::drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) -
370{ -
371 QPicturePaintEnginePrivate * const d = d_func(); -
372 -
373 -
374 -
375 int pos; -
376 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawPixmap; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
377 -
378 if (d->pic_d->in_memory_only) {
partially evaluated: d->pic_d->in_memory_only
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:1
0-1
379 int index = d->pic_d->pixmap_list.size(); -
380 d->pic_d->pixmap_list.append(pm); -
381 d->s << r << index << sr; -
382 } else {
never executed: }
0
383 d->s << r << pm << sr; -
384 }
executed: }
Execution Count:1
1
385 writeCmdLength(pos, r, false); -
386}
executed: }
Execution Count:1
1
387 -
388void QPicturePaintEngine::drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s) -
389{ -
390 QPicturePaintEnginePrivate * const d = d_func(); -
391 -
392 -
393 -
394 int pos; -
395 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawTiledPixmap; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
396 if (d->pic_d->in_memory_only) {
never evaluated: d->pic_d->in_memory_only
0
397 int index = d->pic_d->pixmap_list.size(); -
398 d->pic_d->pixmap_list.append(pixmap); -
399 d->s << r << index << s; -
400 } else {
never executed: }
0
401 d->s << r << pixmap << s; -
402 }
never executed: }
0
403 writeCmdLength(pos, r, false); -
404}
never executed: }
0
405 -
406void QPicturePaintEngine::drawImage(const QRectF &r, const QImage &image, const QRectF &sr, -
407 Qt::ImageConversionFlags flags) -
408{ -
409 QPicturePaintEnginePrivate * const d = d_func(); -
410 -
411 -
412 -
413 int pos; -
414 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawImage; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
415 if (d->pic_d->in_memory_only) {
never evaluated: d->pic_d->in_memory_only
0
416 int index = d->pic_d->image_list.size(); -
417 d->pic_d->image_list.append(image); -
418 d->s << r << index << sr << (quint32) flags; -
419 } else {
never executed: }
0
420 d->s << r << image << sr << (quint32) flags; -
421 }
never executed: }
0
422 writeCmdLength(pos, r, false); -
423}
never executed: }
0
424 -
425void QPicturePaintEngine::drawTextItem(const QPointF &p , const QTextItem &ti) -
426{ -
427 QPicturePaintEnginePrivate * const d = d_func(); -
428 -
429 -
430 -
431 -
432 const QTextItemInt &si = static_cast<const QTextItemInt &>(ti); -
433 if (si.chars == 0)
never evaluated: si.chars == 0
0
434 QPaintEngine::drawTextItem(p, ti);
never executed: QPaintEngine::drawTextItem(p, ti);
0
435 -
436 if (d->pic_d->formatMajor >= 9) {
never evaluated: d->pic_d->formatMajor >= 9
0
437 int pos; -
438 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawTextItem; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
439 QFont fnt = ti.font(); -
440 fnt.setUnderline(false); -
441 fnt.setStrikeOut(false); -
442 fnt.setOverline(false); -
443 -
444 qreal justificationWidth = 0; -
445 if (si.justified)
never evaluated: si.justified
0
446 justificationWidth = si.width.toReal();
never executed: justificationWidth = si.width.toReal();
0
447 -
448 d->s << p << ti.text() << fnt << ti.renderFlags() << double(fnt.d->dpi)/qt_defaultDpi() << justificationWidth; -
449 writeCmdLength(pos, QRectF(), false); -
450 } else if (d->pic_d->formatMajor >= 8) {
never executed: }
never evaluated: d->pic_d->formatMajor >= 8
0
451 -
452 int pos; -
453 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawTextItem; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
454 d->s << QPointF(p.x(), p.y() - ti.ascent()) << ti.text() << ti.font() << ti.renderFlags(); -
455 writeCmdLength(pos, QRectF(), false); -
456 } else {
never executed: }
0
457 -
458 int pos; -
459 d->pic_d->trecs++; d->s << (quint8) QPicturePrivate::PdcDrawText2; d->s << (quint8) 0; pos = d->pic_d->pictb.pos(); -
460 d->s << p << ti.text(); -
461 writeCmdLength(pos, QRectF(p, QSizeF(1,1)), true); -
462 }
never executed: }
0
463} -
464 -
465void QPicturePaintEngine::updateState(const QPaintEngineState &state) -
466{ -
467 QPaintEngine::DirtyFlags flags = state.state(); -
468 if (flags & DirtyPen) updatePen(state.pen());
executed: updatePen(state.pen());
Execution Count:16
evaluated: flags & DirtyPen
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:1
1-16
469 if (flags & DirtyBrush) updateBrush(state.brush());
executed: updateBrush(state.brush());
Execution Count:16
evaluated: flags & DirtyBrush
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:1
1-16
470 if (flags & DirtyBrushOrigin) updateBrushOrigin(state.brushOrigin());
never executed: updateBrushOrigin(state.brushOrigin());
partially evaluated: flags & DirtyBrushOrigin
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
471 if (flags & DirtyFont) updateFont(state.font());
never executed: updateFont(state.font());
partially evaluated: flags & DirtyFont
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
472 if (flags & DirtyBackground) updateBackground(state.backgroundMode(), state.backgroundBrush());
never executed: updateBackground(state.backgroundMode(), state.backgroundBrush());
partially evaluated: flags & DirtyBackground
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
473 if (flags & DirtyTransform) updateMatrix(state.transform());
never executed: updateMatrix(state.transform());
partially evaluated: flags & DirtyTransform
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
474 if (flags & DirtyClipEnabled) updateClipEnabled(state.isClipEnabled());
never executed: updateClipEnabled(state.isClipEnabled());
partially evaluated: flags & DirtyClipEnabled
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
475 if (flags & DirtyClipRegion) updateClipRegion(state.clipRegion(), state.clipOperation());
never executed: updateClipRegion(state.clipRegion(), state.clipOperation());
partially evaluated: flags & DirtyClipRegion
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
476 if (flags & DirtyClipPath) updateClipPath(state.clipPath(), state.clipOperation());
never executed: updateClipPath(state.clipPath(), state.clipOperation());
partially evaluated: flags & DirtyClipPath
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
477 if (flags & DirtyHints) updateRenderHints(state.renderHints());
never executed: updateRenderHints(state.renderHints());
partially evaluated: flags & DirtyHints
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
478 if (flags & DirtyCompositionMode) updateCompositionMode(state.compositionMode());
never executed: updateCompositionMode(state.compositionMode());
partially evaluated: flags & DirtyCompositionMode
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
479 if (flags & DirtyOpacity) updateOpacity(state.opacity());
never executed: updateOpacity(state.opacity());
partially evaluated: flags & DirtyOpacity
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:17
0-17
480}
executed: }
Execution Count:17
17
481 -
482 -
483 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial