Home
last modified time | relevance | path

Searched refs:clipR (Results 1 – 5 of 5) sorted by relevance

/external/skia/samplecode/
DSamplePageFlip.cpp59 SkRect clipR = SkRect::MakeWH(SkIntToScalar(bm->width()), SkIntToScalar(bm->height())); in draw_proc() local
60 clipR.inset(SK_Scalar1/4, SK_Scalar1/4); in draw_proc()
75 canvas.clipRect(clipR, SkRegion::kIntersect_Op, true); in draw_proc()
/external/skia/src/core/
DSkScan_Hairline.cpp40 SkIRect clipR, ptsR; in HairLineRgn() local
63 clipR.set(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop), in HairLineRgn()
74 if (!SkIRect::Intersects(ptsR, clipR)) { in HairLineRgn()
77 if (clip->isRect() && clipR.contains(ptsR)) { in HairLineRgn()
256 const SkIRect* clipR = NULL; in hair_path() local
268 clipR = &rclip.getBounds(); in hair_path()
DSkBlitter.cpp536 const SkIRect& clipR = clip->getBounds(); in apply() local
538 if (clip->isEmpty() || (ir && !SkIRect::Intersects(clipR, *ir))) { in apply()
541 if (ir == NULL || !clipR.contains(*ir)) { in apply()
542 fRectBlitter.init(blitter, clipR); in apply()
DSkCanvas.cpp1191 const SkRectCompareType& clipR = this->getLocalClipBoundsCompareType(et); in quickReject() local
1196 if (userT >= clipR.fBottom || userB <= clipR.fTop) { in quickReject()
1201 if (userL >= clipR.fRight || userR <= clipR.fLeft) { in quickReject()
/external/skia/include/core/
DSkCanvas.h434 const SkRectCompareType& clipR = this->getLocalClipBoundsCompareType(et); in quickRejectY() local
439 return SkScalarToCompareType(top) >= clipR.fBottom in quickRejectY()
440 || SkScalarToCompareType(bottom) <= clipR.fTop; in quickRejectY()