OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dashInfo
(Results
1 - 4
of
4
) sorted by null
/external/skia/src/gpu/
GrStrokeInfo.h
93
SkPathEffect::
DashInfo
dashInfo
;
94
fDashType = pe->asADash(&
dashInfo
);
96
fIntervals.reset(
dashInfo
.fCount);
97
dashInfo
.fIntervals = fIntervals.get();
98
pe->asADash(&
dashInfo
);
99
fDashPhase =
dashInfo
.fPhase;
107
* Like the above, but sets with an explicit SkPathEffect::
DashInfo
109
bool setDashInfo(const SkPathEffect::
DashInfo
& info) {
GrTestUtils.cpp
245
SkPathEffect::
DashInfo
dashInfo
;
246
dashInfo
.fCount = random->nextRangeU(1, 50) * 2;
247
dashInfo
.fIntervals = new SkScalar[
dashInfo
.fCount];
249
for (int i = 0; i <
dashInfo
.fCount; i++) {
250
dashInfo
.fIntervals[i] = random->nextRangeScalar(SkDoubleToScalar(0.01),
252
sum +=
dashInfo
.fIntervals[i];
254
dashInfo
.fPhase = random->nextRangeScalar(0, sum);
255
strokeInfo.setDashInfo(
dashInfo
);
[
all
...]
/external/skia/tools/json/
SkJSONCanvas.cpp
366
SkPathEffect::
DashInfo
dashInfo
;
367
SkPathEffect::DashType dashType = pathEffect->asADash(&
dashInfo
);
369
dashInfo
.fIntervals = (SkScalar*) sk_malloc_throw(
dashInfo
.fCount * sizeof(SkScalar));
370
pathEffect->asADash(&
dashInfo
);
373
for (int32_t i = 0; i <
dashInfo
.fCount; i++) {
374
intervals.append(Json::Value(
dashInfo
.fIntervals[i]));
376
free(
dashInfo
.fIntervals);
378
dashing[SKJSONCANVAS_ATTRIBUTE_PHASE] =
dashInfo
.fPhase
[
all
...]
/external/skia/tools/debugger/
SkDrawCommand.cpp
[
all
...]
Completed in 63 milliseconds