| 32 | path.lineTo(bounds.right, centerY); |
| 33 | return path; |
| 34 | } |
| 35 | |
| 36 | static void drawTextDecoration(DrawingContext& drawingContext, |
| 37 | Paint& paint, |
| 38 | TextLayoutDecorationStyle style, |
| 39 | const std::optional<TextCustomUnderlineStyle>& customUnderlineStyle, |
| 40 | const Rect& bounds) { |
| 41 | if (customUnderlineStyle) { |
| 42 | paint.setStroke(true); |
| 43 | paint.setStrokeWidth(customUnderlineStyle->height); |
| 44 | paint.setStrokeCap(PaintStrokeCapButt); |
nothing calls this directly
no test coverage detected