HomeSort by relevance Sort by last modified time
    Searched refs:DrawRect (Results 1 - 10 of 10) sorted by null

  /external/skia/tests/
RecordTest.cpp 16 // Sums the area of any DrawRect command it sees.
23 void operator()(const SkRecords::DrawRect& draw) {
39 // Scales out the bottom-right corner of any DrawRect command it sees by 2x.
42 void operator()(SkRecords::DrawRect* draw) {
60 // Add a simple DrawRect command.
63 APPEND(record, SkRecords::DrawRect, paint, rect);
RecordReplaceDrawTest.cpp 43 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint());
58 assert_type<SkRecords::DrawRect>(r, rerecord, 1);
62 assert_type<SkRecords::DrawRect>(r, rerecord, 0);
106 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth / 2), SkIntToScalar(kHeight / 2)),
146 assert_type<SkRecords::DrawRect>(r, rerecord, index + 1);
RecordDrawTest.cpp 63 recorder.drawRect(SkRect::MakeWH(200, 300), SkPaint());
72 REPORTER_ASSERT(r, 1 == count_instances_of_type<SkRecords::DrawRect>(rerecord));
161 recorder.drawRect(SkRect::MakeWH(320, 240), SkPaint());
212 recorder.drawRect(r1, p);
213 recorder.drawRect(r2, p);
214 recorder.drawRect(r3, p);
218 SkRecordPartialDraw(record, &canvas, NULL, 0, 1, 2, SkMatrix::I()); // replay just drawRect of r2
220 REPORTER_ASSERT(r, 1 == count_instances_of_type<SkRecords::DrawRect>(rerecord));
221 int index = find_first_instances_of_type<SkRecords::DrawRect>(rerecord);
222 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, rerecord, index)
    [all...]
RecordOptsTest.cpp 26 recorder.drawRect(SkRect::MakeWH(200, 200), SkPaint());
27 recorder.drawRect(SkRect::MakeWH(300, 300), SkPaint());
28 recorder.drawRect(SkRect::MakeWH(100, 100), SkPaint());
34 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record));
135 recorder.drawRect(draw, opaqueDrawPaint);
141 recorder.drawRect(draw, opaqueDrawPaint);
149 recorder.drawRect(draw, opaqueDrawPaint);
155 recorder.drawRect(draw, opaqueDrawPaint);
161 recorder.drawRect(draw, translucentDrawPaint);
167 recorder.drawRect(draw, opaqueDrawPaint)
    [all...]
RecorderTest.cpp 46 recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint());
50 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>());
  /external/skia/src/core/
SkRecords.h 60 M(DrawRect) \
289 RECORD2(DrawRect, SkPaint, paint, SkRect, rect);
SkRecorder.cpp 141 APPEND(DrawRect, delay_copy(paint), rect);
SkRecordDraw.cpp 113 DRAW(DrawRect, drawRect(r.rect, r.paint));
405 Bounds bounds(const DrawRect& op) const { return this->adjustAndMap(op.rect, &op.paint); }
SkCanvas.cpp     [all...]
  /external/skia/include/core/
SkCanvas.h 43 values. For any given draw call (e.g. drawRect), the geometry of the object
682 void drawRect(const SkRect& rect, const SkPaint& paint);
692 this->drawRect(r, paint);
    [all...]

Completed in 222 milliseconds