Home
last modified time | relevance | path

Searched refs:rgn (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/samplecode/
DSampleRegion.cpp124 static void make_rgn(SkRegion* rgn, int left, int top, int right, int bottom, in make_rgn() argument
129 rgn->debugSetRuns(runs, count); in make_rgn()
130 SkASSERT(rgn->getBounds() == r); in make_rgn()
182 static void paint_rgn(SkCanvas* canvas, const SkRegion& rgn, in paint_rgn() argument
185 scale_rgn(&scaled, rgn, 0.5f); in paint_rgn()
187 SkRegion::Iterator iter(rgn); in paint_rgn()
207 void build_base_rgn(SkRegion* rgn) { in build_base_rgn() argument
208 rgn->setRect(fBase); in build_base_rgn()
211 rgn->op(r, SkRegion::kUnion_Op); in build_base_rgn()
214 void build_rgn(SkRegion* rgn, SkRegion::Op op) { in build_rgn() argument
[all …]
/external/skia/tests/
DRegionTest.cpp13 static void Union(SkRegion* rgn, const SkIRect& rect) { in Union() argument
14 rgn->op(rect, SkRegion::kUnion_Op); in Union()
17 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) argument
18 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) argument
19 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) argument
73 SkRegion rgn; in test_fromchrome() local
74 Union(&rgn, SkIRect::MakeXYWH(0, 0, 10, 10)); in test_fromchrome()
75 Union(&rgn, SkIRect::MakeLTRB(5, 10, 20, 20)); in test_fromchrome()
76 TEST_INTERSECT(rgn, SkIRect::MakeXYWH(15, 0, 5, 11)); in test_fromchrome()
117 static void randRgn(SkRandom& rand, SkRegion* rgn, int n) { in randRgn() argument
[all …]
DAAClipTest.cpp58 static void copyToMask(const SkRegion& rgn, SkMask* mask) { in copyToMask() argument
61 if (rgn.isEmpty()) { in copyToMask()
68 mask->fBounds = rgn.getBounds(); in copyToMask()
83 SkRegion tmpRgn(rgn); in copyToMask()
84 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); in copyToMask()
99 static void make_rand_rgn(SkRegion* rgn, SkRandom& rand) { in make_rand_rgn() argument
102 rgn->op(rand_rect(rand, 100), SkRegion::kXOR_Op); in make_rand_rgn()
106 static bool operator==(const SkRegion& rgn, const SkAAClip& aaclip) { in operator ==() argument
109 copyToMask(rgn, &mask0); in operator ==()
118 static bool equalsAAClip(const SkRegion& rgn) { in equalsAAClip() argument
[all …]
DDeviceLooperTest.cpp75 static void make_rgn(SkRegion* rgn, int w, int h, unsigned mask) { in make_rgn() argument
88 rgn->op(r, SkRegion::kUnion_Op); in make_rgn()
122 SkRegion rgn; in test_complex() local
123 make_rgn(&rgn, w, h, mask); in test_complex()
126 rc.op(rgn, SkRegion::kReplace_Op); in test_complex()
/external/skia/src/core/
DSkRegion.cpp171 bool SkRegion::op(const SkIRect& rect, const SkRegion& rgn, Op op) { in op() argument
174 return this->op(tmp, rgn, op); in op()
177 bool SkRegion::op(const SkRegion& rgn, const SkIRect& rect, Op op) { in op() argument
180 return this->op(rgn, tmp, op); in op()
393 bool SkRegion::contains(const SkRegion& rgn) const { in contains()
395 SkDEBUGCODE(rgn.validate();) in contains()
397 if (this->isEmpty() || rgn.isEmpty() || !fBounds.contains(rgn.fBounds)) { in contains()
403 if (rgn.isRect()) { in contains()
404 return this->contains(rgn.getBounds()); in contains()
411 return !Oper(rgn, *this, kDifference_Op, NULL); in contains()
[all …]
DSkReader32.h121 bool readRegion(SkRegion* rgn) { in readRegion() argument
122 return this->readObjectFromMemory(rgn); in readRegion()
DSkRasterClip.cpp225 bool SkRasterClip::op(const SkRegion& rgn, SkRegion::Op op) { in op() argument
229 (void)fBW.op(rgn, op); in op()
232 tmp.setRegion(rgn); in op()
DSkAAClip.cpp783 bool SkAAClip::setRegion(const SkRegion& rgn) { in setRegion() argument
784 if (rgn.isEmpty()) { in setRegion()
787 if (rgn.isRect()) { in setRegion()
788 return this->setRect(rgn.getBounds()); in setRegion()
793 SkRegion::Iterator iter(rgn); in setRegion()
800 const SkIRect& bounds = rgn.getBounds(); in setRegion()
810 SkRegion::Iterator iter(rgn); in setRegion()
DSkScan_Path.cpp614 SkRegion rgn(ir); in FillPath() local
615 FillPath(path, rgn, blitter); in FillPath()
DSkCanvas.cpp1510 void SkCanvas::clipRegion(const SkRegion& rgn, SkRegion::Op op) { in clipRegion() argument
1512 this->onClipRegion(rgn, op); in clipRegion()
1515 void SkCanvas::onClipRegion(const SkRegion& rgn, SkRegion::Op op) { in onClipRegion() argument
1523 fClipStack->clipDevRect(rgn.getBounds(), op); in onClipRegion()
1525 fMCRec->fRasterClip.op(rgn, op); in onClipRegion()
/external/skia/include/core/
DSkRegion.h220 bool quickReject(const SkRegion& rgn) const { in quickReject() argument
221 return this->isEmpty() || rgn.isEmpty() || in quickReject()
222 !SkIRect::Intersects(fBounds, rgn.fBounds); in quickReject()
276 bool op(const SkRegion& rgn, Op op) { return this->op(*this, rgn, op); } in op() argument
283 bool op(const SkIRect& rect, const SkRegion& rgn, Op);
290 bool op(const SkRegion& rgn, const SkIRect& rect, Op);
321 const SkRegion* rgn() const { return fRgn; } in rgn() function
DSkWriter32.h151 void writeRegion(const SkRegion& rgn) { in writeRegion() argument
152 size_t size = rgn.writeToMemory(NULL); in writeRegion()
154 rgn.writeToMemory(this->reserve(size)); in writeRegion()
/external/libvncserver/rfb/
Drfbregion.h26 extern void sraRgnDestroy(sraRegion *rgn);
27 extern void sraRgnMakeEmpty(sraRegion *rgn);
37 extern unsigned long sraRgnCountRects(const sraRegion *rgn);
38 extern rfbBool sraRgnEmpty(const sraRegion *rgn);
/external/libvncserver/libvncserver/
Drfbregion.c541 sraRgnDestroy(sraRegion *rgn) { in sraRgnDestroy() argument
542 sraSpanListDestroy((sraSpanList*)rgn); in sraRgnDestroy()
546 sraRgnMakeEmpty(sraRegion *rgn) { in sraRgnMakeEmpty() argument
547 sraSpanListMakeEmpty((sraSpanList*)rgn); in sraRgnMakeEmpty()
620 sraRgnPopRect(sraRegion *rgn, sraRect *rect, unsigned long flags) { in sraRgnPopRect() argument
628 vcurr = ((sraSpanList*)rgn)->back._prev; in sraRgnPopRect()
629 vend = &(((sraSpanList*)rgn)->front); in sraRgnPopRect()
631 vcurr = ((sraSpanList*)rgn)->front._next; in sraRgnPopRect()
632 vend = &(((sraSpanList*)rgn)->back); in sraRgnPopRect()
672 sraRgnCountRects(const sraRegion *rgn) { in sraRgnCountRects() argument
[all …]
/external/skia/src/images/
DSkPageFlipper.cpp53 void SkPageFlipper::inval(const SkRegion& rgn) { in inval() argument
56 if (r.op(rgn, SkRegion::kIntersect_Op)) { in inval()
/external/skia/src/effects/
DSk2DPathEffect.cpp34 SkRegion rgn; in filterPath() local
35 rgn.setPath(tmp, SkRegion(ir)); in filterPath()
36 SkRegion::Iterator iter(rgn); in filterPath()
DSkAlphaThresholdFilter.cpp248 SkRegion rgn; in CreateProc() local
249 buffer.readRegion(&rgn); in CreateProc()
250 return SkAlphaThresholdFilter::Create(rgn, inner, outer, common.getInput(0)); in CreateProc()
/external/skia/src/utils/
DSkCullPoints.cpp202 SkRegion rgn; in SkHitTestPath() local
203 return rgn.setPath(*pathPtr, clip) ^ isInverse; in SkHitTestPath()
DSkDumpCanvas.cpp117 static void toString(const SkRegion& rgn, SkString* str) { in toString() argument
119 toString(rgn.getBounds(), str); in toString()
121 if (rgn.isComplex()) { in toString()
/external/pdfium/samples/
Dpdfium_test.cc247 HRGN rgn = CreateRectRgn(0, 0, width, height); in WriteEmf() local
248 SelectClipRgn(dc, rgn); in WriteEmf()
249 DeleteObject(rgn); in WriteEmf()
/external/skia/src/pipe/
DSkGPipeRead.cpp268 SkRegion rgn; in clipRegion_rp() local
269 reader->readRegion(&rgn); in clipRegion_rp()
270 canvas->clipRegion(rgn, (SkRegion::Op)DrawOp_unpackData(op32)); in clipRegion_rp()
/external/icu/icu4c/source/data/lang/
Dmk.txt447 rgn{"ромањолски"}
Dth.txt466 rgn{"โรมัณโญ"}
Dja.txt461 rgn{"ロマーニャ語"}
Dzh_Hant.txt458 rgn{"羅馬格諾里文"}

12