Home
last modified time | relevance | path

Searched refs:interceptPaint (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/core/
DSkTextBlob.cpp851 SkPaint interceptPaint{paint}; in get_glyph_run_intercepts() local
854 interceptPaint.setMaskFilter(nullptr); // don't want this affecting our path-cache lookup in get_glyph_run_intercepts()
857 if (interceptPaint.getPathEffect() == nullptr) { in get_glyph_run_intercepts()
867 if (interceptPaint.getStrokeWidth() > 0 in get_glyph_run_intercepts()
868 && interceptPaint.getStyle() != SkPaint::kFill_Style) { in get_glyph_run_intercepts()
869 interceptPaint.setStrokeWidth( in get_glyph_run_intercepts()
870 sk_ieee_float_divide(interceptPaint.getStrokeWidth(), scale)); in get_glyph_run_intercepts()
874 interceptPaint.setStyle(SkPaint::kFill_Style); in get_glyph_run_intercepts()
875 interceptPaint.setPathEffect(nullptr); in get_glyph_run_intercepts()
877 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(interceptFont, &interceptPaint); in get_glyph_run_intercepts()
/third_party/skia/src/core/
DSkTextBlob.cpp869 SkPaint interceptPaint{paint}; in get_glyph_run_intercepts() local
872 interceptPaint.setMaskFilter(nullptr); // don't want this affecting our path-cache lookup in get_glyph_run_intercepts()
875 if (interceptPaint.getPathEffect() == nullptr) { in get_glyph_run_intercepts()
885 if (interceptPaint.getStrokeWidth() > 0 in get_glyph_run_intercepts()
886 && interceptPaint.getStyle() != SkPaint::kFill_Style) { in get_glyph_run_intercepts()
887 interceptPaint.setStrokeWidth( in get_glyph_run_intercepts()
888 sk_ieee_float_divide(interceptPaint.getStrokeWidth(), scale)); in get_glyph_run_intercepts()
892 interceptPaint.setStyle(SkPaint::kFill_Style); in get_glyph_run_intercepts()
893 interceptPaint.setPathEffect(nullptr); in get_glyph_run_intercepts()
895 SkStrikeSpec strikeSpec = SkStrikeSpec::MakeWithNoDevice(interceptFont, &interceptPaint); in get_glyph_run_intercepts()