Lines Matching refs:TextLine

23 #include "modules/skparagraph/src/TextLine.h"
112 TextLine::TextLine(ParagraphImpl* owner,
210 void TextLine::paint(ParagraphPainter* painter, const RSPath* path, SkScalar hOffset, SkScalar vOffset) {
225 void TextLine::paint(ParagraphPainter* painter, SkScalar x, SkScalar y) {
312 bool TextLine::hasBackgroundRect(const RoundRectAttr& attr) {
316 void TextLine::computeRoundRect(int& index, int& preIndex, std::vector<Run*>& groupRuns, Run* run) {
370 void TextLine::prepareRoundRect() {
396 void TextLine::ensureTextBlobCachePopulated() {
465 void TextLine::format(TextAlign align, SkScalar maxWidth, EllipsisModal ellipsisModal) {
486 SkScalar TextLine::calculateSpacing(const Cluster prevCluster, const Cluster curCluster)
504 SkScalar TextLine::autoSpacing() {
523 void TextLine::scanStyles(StyleType styleType, const RunStyleVisitor& visitor) {
550 SkRect TextLine::extendHeight(const ClipContext& context) const {
556 void TextLine::buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& context) {
643 void TextLine::TextBlobRecord::paint(ParagraphPainter* painter, SkScalar x, SkScalar y) {
654 void TextLine::TextBlobRecord::paint(ParagraphPainter* painter) {
664 void TextLine::paintBackground(ParagraphPainter* painter,
676 void TextLine::paintRoundRect(ParagraphPainter* painter, SkScalar x, SkScalar y, const Run* run) const {
709 void TextLine::paintShadow(ParagraphPainter* painter,
750 SkScalar TextLine::calculateThickness(const TextStyle& style, const ClipContext& content)
756 void TextLine::paintDecorations(ParagraphPainter* painter, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const {
765 void TextLine::justify(SkScalar maxWidth) {
871 void TextLine::shiftCluster(const Cluster* cluster, SkScalar shift, SkScalar prevShift) {
892 void TextLine::spacingCluster(const Cluster* cluster, SkScalar spacing, SkScalar prevSpacing) {
911 void TextLine::countWord(int& wordCount, bool& inWord) {
923 void TextLine::ellipsisNotFitProcess(EllipsisModal ellipsisModal) {
951 void TextLine::createTailEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr, WordBreakType wordBreakType) {
1036 void TextLine::createHeadEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool) {
1089 std::unique_ptr<Run> TextLine::shapeEllipsis(const SkString& ellipsis, const Cluster* cluster) {
1219 void TextLine::measureTextWithSpacesAtTheEnd(ClipContext& context, bool includeGhostSpaces) const
1236 TextLine::ClipContext TextLine::measureTextInsideOneRun(TextRange textRange,
1385 void TextLine::iterateThroughClustersInGlyphsOrder(bool reversed,
1417 void TextLine::computeNextPaintGlyphRange(ClipContext& context,
1439 SkScalar TextLine::iterateThroughSingleRunByStyles(TextAdjustment textAdjustment,
1583 bool TextLine::processEllipsisRun(bool& isAlreadyUseEllipsis,
1608 void TextLine::iterateThroughVisualRuns(EllipsisReadStrategy ellipsisReadStrategy,
1686 void TextLine::iterateThroughVisualRuns(bool includingGhostSpaces, const RunVisitor& visitor) const {
1737 SkVector TextLine::offset() const {
1741 LineMetrics TextLine::getMetrics() const {
1803 bool TextLine::isFirstLine() const {
1807 bool TextLine::isLastLine() const {
1811 bool TextLine::endsWithHardLineBreak() const {
1819 void TextLine::getRectsForRange(TextRange textRange0,
1836 (TextRange textRange, const TextStyle& style, const TextLine::ClipContext& lineContext) {
2032 PositionWithAffinity TextLine::getGlyphPositionAtCoordinate(SkScalar dx) {
2053 (TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context0) {
2187 void TextLine::getRectsForPlaceholders(std::vector<TextBox>& boxes) {
2220 size_t TextLine::getGlyphCount() const
2230 std::vector<std::unique_ptr<RunBase>> TextLine::getGlyphRuns() const
2257 std::vector<std::unique_ptr<RunBase>> TextLine::getGlyphRuns() const
2292 std::unique_ptr<TextLineBase> TextLine::createTruncatedLine(double width, EllipsisModal ellipsisMode,
2296 TextLine textLine = CloneSelf();
2310 return std::make_unique<TextLineBaseImpl>(std::make_unique<TextLine>(std::move(textLine)));
2316 double TextLine::getTypographicBounds(double* ascent, double* descent, double* leading) const
2407 RSRect TextLine::getImageBounds() const
2457 double TextLine::getTrailingSpaceWidth() const
2462 int32_t TextLine::getStringIndexForPosition(SkPoint point) const
2483 double TextLine::getOffsetForStringIndex(int32_t index) const
2505 std::map<int32_t, double> TextLine::getIndexAndOffsets(bool& isHardBreak) const
2520 double TextLine::getAlignmentOffset(double alignmentFactor, double alignmentWidth) const
2552 TextLine TextLine::CloneSelf()
2554 TextLine textLine;