OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RunPaint
(Results
1 - 5
of
5
) sorted by null
/external/skia/src/gpu/text/
GrTextUtils.h
44
* This is used to wrap a SkPaint and its post-color filter color. It is also used by
RunPaint
70
// Just for
RunPaint
's constructor
91
class
RunPaint
: public Paint {
93
RunPaint
(const Paint* paint, SkDrawFilter* filter, const SkSurfaceProps& props)
GrAtlasTextContext.cpp
173
GrTextUtils::
RunPaint
runPaint
(&paint, drawFilter, props);
179
if (!
runPaint
.modifyForRun(it)) {
182
if (GrTextUtils::CanDrawAsDistanceFields(
runPaint
, viewMatrix, props, shaderCaps)) {
185
GrTextUtils::DrawDFText(cacheBlob, run, fontCache, props,
runPaint
,
194
cacheBlob, run, fontCache, props,
runPaint
, scalerContextFlags,
201
cacheBlob, run, fontCache, props,
runPaint
, scalerContextFlags,
206
} else if (SkDraw::ShouldDrawTextAsPaths(
runPaint
, viewMatrix)) {
211
GrTextUtils::DrawBmpText(cacheBlob, run, fontCache, props,
runPaint
,
217
GrTextUtils::DrawBmpPosText(cacheBlob, run, fontCache, props,
runPaint
,
[
all
...]
GrTextUtils.cpp
72
bool GrTextUtils::
RunPaint
::modifyForRun(const SkTextBlobRunIterator& run) {
GrAtlasTextBlob.cpp
366
GrTextUtils::
RunPaint
runPaint
(&paint, drawFilter, props);
367
if (!
runPaint
.modifyForRun(it)) {
373
GrTextUtils::DrawTextAsPath(context, rtc, clip,
runPaint
, viewMatrix,
378
GrTextUtils::DrawPosTextAsPath(context, rtc, props, clip,
runPaint
, viewMatrix,
383
GrTextUtils::DrawPosTextAsPath(context, rtc, props, clip,
runPaint
, viewMatrix,
GrStencilAndCoverTextContext.cpp
137
GrTextUtils::
RunPaint
runPaint
(&paint, drawFilter, props);
140
if (!
runPaint
.modifyForRun(it)) {
148
this->drawText(context, rtc, clip,
runPaint
, viewMatrix, props,
153
this->drawPosText(context, rtc, clip,
runPaint
, viewMatrix, props,
158
this->drawPosText(context, rtc, clip,
runPaint
, viewMatrix, props,
273
SkPaint
runPaint
(skPaint);
275
iter.applyFontToPaint(&
runPaint
); // No need to re-seed the paint.
276
if (
runPaint
.getTextSize() <= 0) {
279
TextRun* run = this->addToTail(
runPaint
);
[
all
...]
Completed in 1219 milliseconds