Searched defs:bounds (Results 151 - 175 of 849) sorted by relevance

1234567891011>>

/external/chromium_org/skia/ext/
H A Danalysis_canvas_unittest.cc233 SkRect bounds = SkRect::MakeWH(255, 255); local
239 canvas.saveLayer(&bounds, &paint);
253 canvas.saveLayer(&bounds, &paint);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DAbstractInlineTextBox.cpp84 LayoutRect AbstractInlineTextBox::bounds() const function in class:blink::AbstractInlineTextBox
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DRasterShape.h50 const IntRect& bounds() const { return m_bounds; } function in class:blink::RasterShapeIntervals
90 virtual LayoutRect shapeMarginLogicalBoundingBox() const OVERRIDE { return static_cast<LayoutRect>(marginIntervals().bounds()); }
H A DRectangleShape.cpp58 const FloatRect& bounds = shapeMarginBounds(); local
59 if (bounds.isEmpty())
65 if (y2 < bounds.y() || y1 >= bounds.maxY())
68 float x1 = bounds.x();
69 float x2 = bounds.maxX();
75 if (y2 < bounds.y() + marginRadiusY) {
76 float yi = y2 - bounds.y() - marginRadiusY;
78 x1 = bounds.x() + marginRadiusX - xi;
79 x2 = bounds
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DRegion.h40 IntRect bounds() const { return m_bounds; } function in class:blink::Region
83 IntRect bounds() const;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDisplayList.h50 static PassRefPtr<DisplayList> create(const FloatRect& bounds) argument
52 return adoptRef(new DisplayList(bounds));
57 const FloatRect& bounds() const { return m_bounds; } function in class:blink::FINAL
84 DisplayList(const FloatRect& bounds) : m_bounds(bounds) argument
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEMorphology.cpp122 SkRect bounds = SkRect::MakeWH(absolutePaintRect().width(), absolutePaintRect().height()); local
123 dstContext->saveLayer(&bounds, &paint);
/external/chromium_org/third_party/skia/gm/
H A Dcoloremoji.cpp68 // compute the bounds of the text
69 SkRect bounds; local
70 paint.measureText(text, strlen(text), &bounds);
72 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf;
73 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf;
77 SkRect upperLeftClip = SkRect::MakeXYWH(bounds.left(), bounds.top(),
79 SkRect lowerRightClip = SkRect::MakeXYWH(bounds.centerX(), bounds.centerY(),
81 SkRect interiorClip = bounds;
[all...]
H A Dconicpaths.cpp120 const SkRect& bounds = fPaths[p].getBounds(); variable
122 if (x + bounds.width() > wrapX) {
140 canvas->translate(-bounds.fLeft, -bounds.fTop);
144 maxH = SkMaxScalar(maxH, bounds.height());
146 SkScalar dx = bounds.width() + SkIntToScalar(kMargin);
H A Dconvexpolyeffect.cpp141 SkRect bounds = p.getBounds(); variable
144 bounds.outset(5.f, 5.f);
145 bounds.toQuad(verts);
195 SkRect bounds = rect; variable
196 bounds.outset(5.f, 5.f);
197 bounds.toQuad(verts);
H A Ddropshadowimagefilter.cpp54 SkIRect bounds; local
55 r.roundOut(&bounds);
58 bm.allocN32Pixels(bounds.width(), bounds.height());
73 SkIRect bounds; local
74 r.roundOut(&bounds);
77 bm.allocN32Pixels(bounds.width(), bounds.height());
H A Dfilterindiabox.cpp20 SkRect bounds = SkRect::MakeWH(SkIntToScalar(bm.width()), local
22 mat.mapRect(&bounds);
23 return SkSize::Make(bounds.width(), bounds.height());
H A Dglyph_pos.cpp128 SkRect bounds; local
130 SkScalar advance = paint.measureText(kText, sizeof(kText) - 1, &bounds);
135 // Green box is the measured text bounds.
137 canvas->drawRect(bounds, paint);
159 SkScalar w = bounds.x();
H A Dimagefilterscropped.cpp60 SkIRect bounds; local
61 r.roundOut(&bounds);
64 bm.allocN32Pixels(bounds.width(), bounds.height());
79 SkIRect bounds; local
80 r.roundOut(&bounds);
83 bm.allocN32Pixels(bounds.width(), bounds.height());
H A Dtwopointradial.cpp20 const SkRect bounds = SkRect::MakeXYWH(SkIntToScalar(-50), local
40 bounds.fLeft, bounds.fTop - paint.getTextSize()/2, paint);
45 canvas->drawRect(bounds, paint);
52 canvas->drawRect(bounds, paint);
/external/chromium_org/third_party/skia/include/core/
H A DSkTextBlob.h28 const SkRect& bounds() const { return fBounds; } function in class:SkTextBlob
79 SkTextBlob(int runCount, const SkRect& bounds);
135 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
136 * be used when computing the blob bounds, to avoid re-measuring.
142 const SkRect* bounds = NULL);
151 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
152 * be used when computing the blob bounds, to avoid re-measuring.
158 const SkRect* bounds = NULL);
166 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
167 * be used when computing the blob bounds, t
[all...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleAAClip.cpp78 SkRect bounds; local
80 bounds.set(0, 0, 20, 20);
81 bounds.inset(SK_ScalarHalf, SK_ScalarHalf);
83 // path.addRect(bounds);
84 // path.addOval(bounds);
85 path.addRoundRect(bounds, 4, 4);
H A DSampleMeasure.cpp45 SkRect bounds; local
53 SkScalar w = p.measureText(text, len, &bounds);
57 canvas->drawRect(bounds, p);
/external/chromium_org/third_party/skia/src/effects/
H A DSkBitmapSource.cpp61 SkRect bounds, dstRect; local
62 fBitmap.getBounds(&bounds);
64 if (fSrcRect == bounds && dstRect == bounds) {
H A DSkDropShadowImageFilter.cpp74 SkIRect bounds;
75 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) {
79 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
98 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft),
99 SkIntToScalar(srcOffset.fY - bounds.fTop));
103 offset->fX = bounds.fLeft;
104 offset->fY = bounds.fTop;
124 SkIRect bounds = src; local
127 bounds
[all...]
H A DSkOffsetImageFilter.cpp44 SkIRect bounds; local
45 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) {
49 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
56 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft),
57 SkIntToScalar(srcOffset.fY - bounds.fTop));
62 offset->fX = bounds.fLeft;
63 offset->fY = bounds.fTop;
84 SkIRect bounds = src; local
85 bounds
[all...]
H A DSkPictureImageFilter.cpp84 SkIRect bounds; local
86 floatBounds.roundOut(&bounds);
87 if (!bounds.intersect(ctx.clipBounds())) {
91 if (bounds.isEmpty()) {
96 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
104 canvas.translate(-SkIntToScalar(bounds.fLeft), -SkIntToScalar(bounds.fTop));
109 offset->fX = bounds.fLeft;
110 offset->fY = bounds
[all...]
H A DSkTileImageFilter.cpp53 SkIRect bounds; local
54 source.getBounds(&bounds);
56 if (!srcIRect.intersect(bounds)) {
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathRenderer.h192 // Helper for getting the device bounds of a path. Inverse filled paths will have bounds set
193 // by devSize. Non-inverse path bounds will not necessarily be clipped to devSize.
198 SkRect* bounds);
204 SkRect* bounds) {
205 GetPathDevBounds(path, device->width(), device->height(), matrix, bounds);
201 GetPathDevBounds(const SkPath& path, const GrSurface* device, const SkMatrix& matrix, SkRect* bounds) argument
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrConvolutionEffect.h30 float bounds[2]) {
36 bounds));
45 float bounds[2]) {
51 bounds));
58 const float* bounds() const { return fBounds; } function in class:GrConvolutionEffect
95 float bounds[2]);
102 float bounds[2]);
25 Create(GrTexture* tex, Direction dir, int halfWidth, const float* kernel, bool useBounds, float bounds[2]) argument
40 CreateGaussian(GrTexture* tex, Direction dir, int halfWidth, float gaussianSigma, bool useBounds, float bounds[2]) argument

Completed in 3622 milliseconds

1234567891011>>