HomeSort by relevance Sort by last modified time
    Searched defs:bounds (Results 51 - 75 of 1323) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skia/src/gpu/
GrSWMaskHelper.cpp 79 SkIRect bounds = SkIRect::MakeWH(resultBounds.width(), resultBounds.height()); local
81 const SkImageInfo bmImageInfo = SkImageInfo::MakeA8(bounds.width(), bounds.height());
89 fRasterClip.setRect(bounds);
  /external/skia/src/pathops/
SkPathOpsTightBounds.cpp 74 SkPathOpsBounds bounds = current->bounds(); local
76 bounds.add(current->bounds());
79 bounds.set(bounds.left() * scaleFactor, bounds.top() * scaleFactor,
80 bounds.right() * scaleFactor, bounds.bottom() * scaleFactor);
82 *result = bounds;
    [all...]
  /external/skia/tests/
AnnotationTest.cpp 97 SkRect bounds = SkRect::MakeIWH(400, 400); local
98 std::unique_ptr<SkCanvas> canvas = SkSVGCanvas::Make(bounds, xmlWriter.get());
116 SkRect bounds = SkRect::MakeIWH(400, 400); local
117 std::unique_ptr<SkCanvas> canvas = SkSVGCanvas::Make(bounds, xmlWriter.get());
PathOpsBoundsTest.cpp 19 {{2, 0, 4, 1}, {3, 0, 3, 0}}, // intersecting an empty bounds is OK
49 SkPathOpsBounds bounds; local
50 bounds.setEmpty();
51 bounds.add(1, 2, 3, 4);
54 REPORTER_ASSERT(reporter, bounds == expected);
55 bounds.setEmpty();
58 bounds.add(ordinal);
59 REPORTER_ASSERT(reporter, bounds == expected);
60 bounds.setEmpty();
62 bounds.add(botRight)
    [all...]
RecorderTest.cpp 59 SkRect bounds = SkRect::MakeWH(320, 240); local
67 recorder.saveLayer(&bounds, &paint);
ShadowTest.cpp 72 SkRect bounds; local
73 SkDrawShadowMetrics::GetLocalBounds(path, rec, ctm, &bounds);
74 ctm.mapRect(&bounds);
78 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds()));
86 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds()));
  /external/skia/tools/shape/
SkShaper_primitive.cpp 48 SkRect bounds; local
52 (void)paint.measureText(utf8text, textBytes, &bounds);
55 builder->allocRunTextPosH(paint, glyphCount, point.y(), textBytes, SkString(), &bounds);
  /external/skia/tools/
skhello.cpp 22 SkRect bounds = canvas->getLocalClipBounds(); local
26 bounds.centerX(), bounds.centerY(),
  /external/skia/tools/viewer/
BisectSlide.cpp 58 SkRect bounds; local
60 this->getTotalMatrix().mapRect(&bounds, path.getBounds());
61 bounds.roundOut(&ibounds);
  /external/skqp/bench/
ChromeBench.cpp 484 SkIRect bounds = canvas->getDeviceClipBounds(); local
485 SkASSERT(bounds.right()-bounds.left() >= W);
486 SkASSERT(bounds.bottom()-bounds.top() >= H);
PictureOverheadBench.cpp 30 SkRect bounds = SkRect::Make(iBounds); variable
39 rec.beginRecording(bounds);
85 SkRect bounds = SkRect::Make(iBounds); variable
94 rec.beginRecording(bounds);
  /external/skqp/experimental/sksg/effects/
SkSGTransform.cpp 64 auto bounds = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, m)); local
65 m.mapRect(&bounds);
67 return bounds;
  /external/skqp/gm/
complexclip_blur_tiled.cpp 38 SkRect bounds = canvas->getLocalClipBounds(); variable
43 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) {
44 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) {
dropshadowimagefilter.cpp 55 SkIRect bounds; local
56 r.roundOut(&bounds);
59 bm.allocN32Pixels(bounds.width(), bounds.height());
glyph_pos.cpp 97 SkRect bounds; local
99 SkScalar advance = paint.measureText(kText, sizeof(kText) - 1, &bounds);
104 // Green box is the measured text bounds.
106 canvas->drawRect(bounds, paint);
128 SkScalar w = bounds.x();
imageblurtiled.cpp 37 SkRect bounds = canvas->getLocalClipBounds(); variable
38 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) {
39 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) {
textblobblockreordering.cpp 32 SkRect bounds; variable
33 paint.measureText(text, strlen(text), &bounds);
35 SkScalar yOffset = bounds.height();
59 SkRect bounds = fBlob->bounds(); variable
60 const int yDelta = SkScalarFloorToInt(bounds.height()) + 20;
61 const int xDelta = SkScalarFloorToInt(bounds.width());
70 canvas->drawRect(bounds, redPaint);
textblobcolortrans.cpp 37 SkRect bounds; variable
38 paint.measureText(text, strlen(text), &bounds);
40 SkScalar yOffset = bounds.height();
48 paint.measureText(text, strlen(text), &bounds);
70 SkRect bounds = fBlob->bounds(); variable
80 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight;
81 y += SkScalarFloorToInt(bounds.height())) {
textblobtransforms.cpp 34 SkRect bounds; variable
35 paint.measureText(text, strlen(text), &bounds);
39 SkScalar xOffset = bounds.width() + 5;
44 paint.measureText(text, strlen(text), &bounds);
45 SkScalar yOffset = bounds.height();
70 SkRect bounds = fBlob->bounds(); variable
78 SkScalar xOffset = SkScalarCeilToScalar(bounds.width());
79 SkScalar yOffset = SkScalarCeilToScalar(bounds.height());
  /external/skqp/samplecode/
SampleLayerMask.cpp 44 SkRect bounds = r; local
45 bounds.offset(-bounds.fLeft, -bounds.fTop);
46 c.drawOval(bounds, paint);
  /external/skqp/src/core/
SkDrawable.cpp 78 const SkRect bounds = this->getBounds(); local
79 SkCanvas* canvas = recorder.beginRecording(bounds, nullptr, 0);
82 draw_bbox(canvas, bounds);
SkRecordedDrawable.cpp 45 // Write the bounds.
72 // Read the bounds.
73 SkRect bounds; local
74 buffer.readRect(&bounds);
79 info.fCullRect = bounds;
88 playback.draw(recorder.beginRecording(bounds), nullptr, &buffer);
  /external/skqp/src/effects/
SkPaintImageFilter.cpp 42 SkIRect bounds; local
44 if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
48 sk_sp<SkSpecialSurface> surf(source->makeSurface(ctx.outputProperties(), bounds.size()));
59 matrix.postTranslate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top()));
60 SkRect rect = SkRect::MakeIWH(bounds.width(), bounds.height());
68 offset->fX = bounds.fLeft;
69 offset->fY = bounds.fTop;
  /external/skqp/src/gpu/
GrSWMaskHelper.cpp 79 SkIRect bounds = SkIRect::MakeWH(resultBounds.width(), resultBounds.height()); local
81 const SkImageInfo bmImageInfo = SkImageInfo::MakeA8(bounds.width(), bounds.height());
89 fRasterClip.setRect(bounds);
  /external/skqp/src/pathops/
SkPathOpsTightBounds.cpp 74 SkPathOpsBounds bounds = current->bounds(); local
76 bounds.add(current->bounds());
79 bounds.set(bounds.left() * scaleFactor, bounds.top() * scaleFactor,
80 bounds.right() * scaleFactor, bounds.bottom() * scaleFactor);
82 *result = bounds;
    [all...]

Completed in 923 milliseconds

1 23 4 5 6 7 8 91011>>