LeechCraft Monocle 0.6.70-19424-g027e980fd1
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
LC::Monocle::TextBox Struct Reference

#include "ihavetextcontent.h"

Collaboration diagram for LC::Monocle::TextBox:

Public Attributes

QString Text_
PageRelativeRectBase Rect_
NextSpaceKind NextSpaceKind_
std::optional< QVector< PageRelativeRectBase > > Letters_ {}
 One rect per QChar of Text_.

Detailed Description

Definition at line 26 of file ihavetextcontent.h.

Member Data Documentation

◆ Letters_

std::optional<QVector<PageRelativeRectBase> > LC::Monocle::TextBox::Letters_ {}

One rect per QChar of Text_.

Letters_ is parallel to the UTF-16 units of Text_, so a non-BMP character contributes two entries, both holding its glyph's rect.

Definition at line 37 of file ihavetextcontent.h.

◆ NextSpaceKind_

NextSpaceKind LC::Monocle::TextBox::NextSpaceKind_

Definition at line 30 of file ihavetextcontent.h.

◆ Rect_

PageRelativeRectBase LC::Monocle::TextBox::Rect_

Definition at line 29 of file ihavetextcontent.h.

◆ Text_

QString LC::Monocle::TextBox::Text_

Definition at line 28 of file ihavetextcontent.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19424.g027e980fd1-build/leechcraft-0.6.70-19424-g027e980fd1/src/plugins/monocle/interfaces/monocle/ihavetextcontent.h