|
|
|
|
|
|
maxWordWidth = tMaxWordWidth; |
|
|
|
} |
|
|
|
|
|
|
|
this._computeLineOffset(lineNumber, paintRecords, ref yOffset, ref preMaxDescent); |
|
|
|
this._computeLineOffset(lineNumber, lineGlyphPositions, paintRecords, ref yOffset, ref preMaxDescent); |
|
|
|
this._populateGlyphLines(lineNumber, lineGlyphPositions); |
|
|
|
this._addPaintRecordsWithOffset(paintRecords, lineXOffset, yOffset); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void _computeLineOffset(int lineNumber, |
|
|
|
GlyphPosition[] lineGlyphPositions, |
|
|
|
PaintRecord[] paintRecords, |
|
|
|
ref float yOffset, ref float preMaxDescent) { |
|
|
|
void _populateGlyphLines(int lineNumber, GlyphPosition[] lineGlyphPositions) { |
|
|
|
} |
|
|
|
|
|
|
|
void _computeLineOffset(int lineNumber, PaintRecord[] paintRecords, ref float yOffset, ref float preMaxDescent) { |
|
|
|
|
|
|
|
float maxLineSpacing = 0; |
|
|
|
float maxDescent = 0; |
|
|
|