OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:clipR
(Results
1 - 4
of
4
) sorted by null
/external/skia/gm/
spritebitmap.cpp
30
SkRect
clipR
= SkRect::MakeXYWH(SkIntToScalar(dx),
36
clipR
.inset(5, 5);
42
canvas->clipRect(
clipR
);
offsetimagefilter.cpp
112
const SkRect*
clipR
= nullptr) {
115
if (
clipR
) {
118
canvas->drawRect(
clipR
->makeInset(SK_ScalarHalf, SK_ScalarHalf), p);
134
if (
clipR
) {
136
canvas->clipRect(*
clipR
);
144
if (
clipR
) {
173
SkRect
clipR
= SkRect::MakeXYWH(40, 40, 40, 40);
175
this->doDraw(canvas, r, SkOffsetImageFilter::Make(20, 20, nullptr, nullptr), &
clipR
);
pathfill.cpp
382
SkRect
clipR
= { 0, 0, SkIntToScalar(100), SkIntToScalar(200) };
392
canvas->clipRect(
clipR
);
394
const SkRect* clipPtr = doclip ? &
clipR
: nullptr;
396
show(canvas, path, paint, clipPtr,
clipR
.fTop,
clipR
.centerY());
397
show(canvas, path, paint, clipPtr,
clipR
.centerY(),
clipR
.fBottom);
/external/skia/tests/
CanvasTest.cpp
128
const SkIRect
clipR
= { 4, 4, 6, 6 };
129
canvas->clipRect(SkRect::Make(
clipR
), SkClipOp::kIntersect);
130
REPORTER_ASSERT(reporter, canvas->getDeviceClipBounds() ==
clipR
);
[
all
...]
Completed in 848 milliseconds