Searched refs:fRect (Results 1 - 25 of 73) sorted by relevance

123

/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawRectangle.cpp26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float),
28 SK_MEMBER_ALIAS(left, fRect.fLeft, Float),
30 SK_MEMBER_ALIAS(right, fRect.fRight, Float),
31 SK_MEMBER_ALIAS(top, fRect.fTop, Float),
40 fRect.setEmpty();
50 maker.fCanvas->drawRect(fRect, *maker.fPaint);
58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
59 SkScalarToFloat(fRect
[all...]
H A DSkDrawOval.cpp26 maker.fCanvas->drawOval(fRect, *maker.fPaint);
H A DSkDrawClip.cpp33 maker.fCanvas->clipRect(rect->fRect);
H A DSkDrawSaveLayer.cpp44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint);
47 maker.fCanvas->saveLayer(&bounds->fRect, save);
H A DSkPathParts.cpp218 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float),
219 SK_MEMBER_ALIAS(left, fRect.fLeft, Float),
220 SK_MEMBER_ALIAS(right, fRect.fRight, Float),
221 SK_MEMBER_ALIAS(top, fRect.fTop, Float)
229 fRect.setEmpty();
233 fPath->fPath.addRect(fRect, (SkPath::Direction) direction);
249 fPath->fPath.addOval(fRect, (SkPath::Direction) direction);
292 fPath->fPath.addRoundRect(fRect, rx, ry, (SkPath::Direction) direction);
/external/skia/src/animator/
H A DSkDrawRectangle.cpp26 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float),
28 SK_MEMBER_ALIAS(left, fRect.fLeft, Float),
30 SK_MEMBER_ALIAS(right, fRect.fRight, Float),
31 SK_MEMBER_ALIAS(top, fRect.fTop, Float),
40 fRect.setEmpty();
50 maker.fCanvas->drawRect(fRect, *maker.fPaint);
58 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
59 SkScalarToFloat(fRect
[all...]
H A DSkDrawOval.cpp26 maker.fCanvas->drawOval(fRect, *maker.fPaint);
H A DSkDrawClip.cpp33 maker.fCanvas->clipRect(rect->fRect);
H A DSkDrawSaveLayer.cpp44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint);
47 maker.fCanvas->saveLayer(&bounds->fRect, save);
H A DSkPathParts.cpp218 SK_MEMBER_ALIAS(bottom, fRect.fBottom, Float),
219 SK_MEMBER_ALIAS(left, fRect.fLeft, Float),
220 SK_MEMBER_ALIAS(right, fRect.fRight, Float),
221 SK_MEMBER_ALIAS(top, fRect.fTop, Float)
229 fRect.setEmpty();
233 fPath->fPath.addRect(fRect, (SkPath::Direction) direction);
249 fPath->fPath.addOval(fRect, (SkPath::Direction) direction);
292 fPath->fPath.addRoundRect(fRect, rx, ry, (SkPath::Direction) direction);
/external/chromium_org/third_party/skia/include/core/
H A DSkRRect.h115 SkScalar width() const { return fRect.width(); }
116 SkScalar height() const { return fRect.height(); }
122 fRect.setEmpty();
138 fRect = rect;
158 fRect = oval;
191 const SkRect& rect() const { return fRect; }
193 const SkRect& getBounds() const { return fRect; }
205 return a.fRect == b.fRect &&
211 return a.fRect !
304 SkRect fRect; member in class:SkRRect
[all...]
/external/skia/include/core/
H A DSkRRect.h115 SkScalar width() const { return fRect.width(); }
116 SkScalar height() const { return fRect.height(); }
122 fRect.setEmpty();
138 fRect = rect;
158 fRect = oval;
191 const SkRect& rect() const { return fRect; }
193 const SkRect& getBounds() const { return fRect; }
205 return a.fRect == b.fRect &&
211 return a.fRect !
304 SkRect fRect; member in class:SkRRect
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkRRect.cpp33 fRect = rect;
38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) {
91 fRect = rect;
107 fRect = rect;
182 canonicalPt.set(x - fRect.centerX(), y - fRect.centerY());
185 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX &&
186 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) {
189 canonicalPt.set(x - (fRect
[all...]
/external/skia/src/core/
H A DSkRRect.cpp33 fRect = rect;
38 if (xRad >= SkScalarHalf(fRect.width()) && yRad >= SkScalarHalf(fRect.height())) {
91 fRect = rect;
107 fRect = rect;
182 canonicalPt.set(x - fRect.centerX(), y - fRect.centerY());
185 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX &&
186 y < fRect.fTop + fRadii[kUpperLeft_Corner].fY) {
189 canonicalPt.set(x - (fRect
[all...]
/external/skia/gm/
H A Dcanvasstate.cpp118 fRect = SkRect::MakeXYWH(SPACER, SPACER, WIDTH-(2*SPACER), (HEIGHT-(2*SPACER)) / 7);
139 canvas->translate(0, 2*(fRect.height() + 10));
144 canvas->translate(0, 2*(fRect.height() + 10));
156 canvas->saveLayerAlpha(&fRect, layerAlpha, flags);
157 canvas->drawRect(fRect, fBluePaint);
158 canvas->translate(0, fRect.height() + 10);
159 canvas->drawRect(fRect, fBluePaint);
170 SkRect fRect; member in class:skiagm::CanvasLayerStateGM
H A Dsimpleaaclip.cpp58 fRect = fBase;
59 fRect.inset(5, 5);
60 fRect.offset(25, 25);
63 fRectPath.addRoundRect(fRect, SkIntToScalar(5), SkIntToScalar(5));
83 canvas->drawRect(fRect, paint);
112 canvas->clipRect(fRect, op, true);
189 SkRect fRect; member in class:skiagm::SimpleClipGM
192 SkPath fRectPath; // fRect as a round rect
H A Dshadows.cpp29 SkRect fRect; member in class:skiagm::ShadowsGM
34 fRect.set(SkIntToScalar(10), SkIntToScalar(10),
110 canvas->drawRect(fRect, paint);
/external/chromium_org/third_party/skia/include/utils/
H A DSkPictureUtils.h54 dst->fRect = rect;
59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) {
68 SkRect fRect; member in struct:SkPictureUtils::SkPixelRefsAndRectsList::PixelRefAndRect
/external/skia/include/utils/
H A DSkPictureUtils.h54 dst->fRect = rect;
59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) {
68 SkRect fRect; member in struct:SkPictureUtils::SkPixelRefsAndRectsList::PixelRefAndRect
/external/chromium_org/third_party/skia/gm/
H A Dsimpleaaclip.cpp58 fRect = fBase;
59 fRect.inset(5, 5);
60 fRect.offset(25, 25);
63 fRectPath.addRoundRect(fRect, SkIntToScalar(5), SkIntToScalar(5));
83 canvas->drawRect(fRect, paint);
112 canvas->clipRect(fRect, op, true);
186 SkRect fRect; member in class:skiagm::SimpleClipGM
189 SkPath fRectPath; // fRect as a round rect
H A Dshadows.cpp29 SkRect fRect; member in class:skiagm::ShadowsGM
34 fRect.set(SkIntToScalar(10), SkIntToScalar(10),
106 canvas->drawRect(fRect, paint);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleDraw.cpp170 RDraw(const SkRect& r, Style s) : fRect(r), fStyle(s) {}
173 fRect = r;
184 canvas->drawRect(fRect, fPaint);
187 canvas->drawOval(fRect, fPaint);
190 SkScalar rx = fRect.width() / 5;
191 SkScalar ry = fRect.height() / 5;
197 canvas->drawRoundRect(fRect, rx, ry, fPaint);
202 path.addOval(fRect, SkPath::kCW_Direction);
203 SkRect r = fRect;
204 r.inset(fRect
221 SkRect fRect; member in class:RDraw
[all...]
/external/skia/samplecode/
H A DSampleDraw.cpp170 RDraw(const SkRect& r, Style s) : fRect(r), fStyle(s) {}
173 fRect = r;
184 canvas->drawRect(fRect, fPaint);
187 canvas->drawOval(fRect, fPaint);
190 SkScalar rx = fRect.width() / 5;
191 SkScalar ry = fRect.height() / 5;
197 canvas->drawRoundRect(fRect, rx, ry, fPaint);
202 path.addOval(fRect, SkPath::kCW_Direction);
203 SkRect r = fRect;
204 r.inset(fRect
221 SkRect fRect; member in class:RDraw
[all...]
/external/chromium_org/third_party/skia/tests/
H A DInfRectTest.cpp17 SkIRect fRect; member in struct:RectCenter
31 gData[index].fRect.centerX() == gData[index].fCenter.x());
33 gData[index].fRect.centerY() == gData[index].fCenter.y());
/external/skia/tests/
H A DInfRectTest.cpp17 SkIRect fRect; member in struct:RectCenter
31 gData[index].fRect.centerX() == gData[index].fCenter.x());
33 gData[index].fRect.centerY() == gData[index].fCenter.y());

Completed in 405 milliseconds

123