mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Text layout algorithm refactoring - use spatial index
This commit is contained in:
@ -97,6 +97,8 @@ struct TextCharacter
|
||||
PDFReal advance = 0.0;
|
||||
QPainterPath boundingBox;
|
||||
|
||||
size_t index = 0; // Just temporary index, it is not serialized, just for text layout algorithm
|
||||
|
||||
void applyTransform(const QMatrix& matrix);
|
||||
|
||||
friend QDataStream& operator<<(QDataStream& stream, const TextCharacter& character);
|
||||
|
Reference in New Issue
Block a user