Home
last modified time | relevance | path

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

/external/skia/modules/skparagraph/src/
DTextLine.h30 struct ClipContext { struct
79 …tor = std::function<void(TextRange textRange, const TextStyle& style, const ClipContext& context)>;
105 ClipContext measureTextInsideOneRun(TextRange textRange,
114 SkRect extendHeight(const ClipContext& context) const;
126 void buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& context);
127 …alar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const;
128 …alar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const;
129 …alar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const;
DDecorations.h15 …void paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& context, SkS…
23 …void calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, SkScalar baseline, Sk…
DTextLine.cpp175 …[textCanvas, x, y, this](TextRange textRange, const TextStyle& style, const ClipContext& context) { in paint()
188 …as, x, y, &bounds, this](TextRange textRange, const TextStyle& style, const ClipContext& context) { in paint()
211 …[textCanvas, x, y, this](TextRange textRange, const TextStyle& style, const ClipContext& context) { in paint()
234 [this](TextRange textRange, const TextStyle& style, const ClipContext& context) { in ensureTextBlobCachePopulated()
272 [visitor](TextRange textRange, const TextStyle& style, const ClipContext& context) { in scanStyles()
279 SkRect TextLine::extendHeight(const ClipContext& context) const { in extendHeight()
312 void TextLine::buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& contex… in buildTextBlob()
359 …alar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const… in paintBackground()
365 …alar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const… in paintShadow()
411 …alar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const… in paintDecorations()
[all …]
DDecorations.cpp23 void Decorations::paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& … in paint()
95 void Decorations::calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, in calculateGaps()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp215 … (TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
997 …orter, &index](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1087 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1114 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1160 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1206 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
2146 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
2239 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
3659 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
3666 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
[all …]