Searched refs:LineMetricStyle (Results 1 – 5 of 5) sorted by relevance
136 SkScalar calculateHeight(LineMetricStyle ascentStyle, LineMetricStyle descentStyle) const { in calculateHeight()137 auto ascent = ascentStyle == LineMetricStyle::Typographic ? this->ascent() in calculateHeight()139 auto descent = descentStyle == LineMetricStyle::Typographic ? this->descent() in calculateHeight()264 this->calculateHeight(LineMetricStyle::CSS, LineMetricStyle::CSS)); in iterateThroughClustersInTextOrder()284 this->calculateHeight(LineMetricStyle::CSS, LineMetricStyle::CSS)); in iterateThroughClustersInTextOrder()499 SkScalar runTop(const Run* run, LineMetricStyle ascentStyle) const { in runTop()501 … (ascentStyle == LineMetricStyle::Typographic ? run->ascent() : run->correctAscent()) + delta(); in runTop()
141 void setAscentStyle(LineMetricStyle style) { fAscentStyle = style; } in setAscentStyle()142 void setDescentStyle(LineMetricStyle style) { fDescentStyle = style; } in setDescentStyle()201 LineMetricStyle fAscentStyle;202 LineMetricStyle fDescentStyle;
540 parent->lines().front().setAscentStyle(LineMetricStyle::Typographic); in moveForward()543 parent->lines().back().setDescentStyle(LineMetricStyle::Typographic); in moveForward()
117 , fAscentStyle(LineMetricStyle::CSS) in TextLine()118 , fDescentStyle(LineMetricStyle::CSS) in TextLine()1072 result.clip.fTop = this->sizes().runTop(run, LineMetricStyle::CSS); in iterateThroughSingleRunByStyles()1074 run->calculateHeight(LineMetricStyle::CSS, LineMetricStyle::CSS); in iterateThroughSingleRunByStyles()
149 enum class LineMetricStyle : uint8_t { enum