|
typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
|
#include <typeset/inl/paragraph.hpp>
公開メンバ関数 | |
| Pt | lineAdvance (size_t li) const |
| 行 li が占める行送り方向の量(行送り+行内オブジェクトのための追加) | |
| Pt | lineCenterOffset (size_t li) const |
| 行 li の中心線の、「0 行目の行送りの箱の始端+pitch/2」からの距離(追加が無ければ pitch × li) | |
| Pt | blockExtent () const |
| 全行が占める行送り方向の量 | |
公開変数類 | |
| std::vector< LineBox > | lines |
| std::vector< TextStyle > | styles |
| PlacedGlyph::styleIndex → スタイル | |
| std::vector< StyleMetrics > | styleMetrics |
| styles と同じ添字(第一候補フォントから) | |
| std::vector< std::string > | placeholderIds |
| styles と同じ添字。プレースホルダの run だけ非空(id 未指定なら "") | |
| std::vector< bool > | placeholders |
| styles と同じ添字。プレースホルダの run か | |
| size_t | charStart = 0 |
| 組んだ範囲(UTF-16) | |
| size_t | charEnd = 0 |
| bool | complete = false |
| 本文を最後まで組めた | |
| Pt | linePitch = 0.0f |
| 行送り | |
| float | rotation = 0.0f |
| 段落の回転(度。emitParagraph が Group で包む) | |
| Pt | baseSize = 0.0f |
| std::shared_ptr< const std::u16string > | text |
| 元テキスト(ToUnicode 用) | |
paragraph.hpp の 171 行目に定義があります。
|
inline |
行 li が占める行送り方向の量(行送り+行内オブジェクトのための追加)
paragraph.hpp の 186 行目に定義があります。
|
inline |
行 li の中心線の、「0 行目の行送りの箱の始端+pitch/2」からの距離(追加が無ければ pitch × li)
paragraph.hpp の 190 行目に定義があります。
参照先 lineAdvance(), lines.
|
inline |
| std::vector<LineBox> typeset::inl::ParagraphFragment::lines |
paragraph.hpp の 172 行目に定義があります。
| std::vector<TextStyle> typeset::inl::ParagraphFragment::styles |
PlacedGlyph::styleIndex → スタイル
paragraph.hpp の 173 行目に定義があります。
| std::vector<StyleMetrics> typeset::inl::ParagraphFragment::styleMetrics |
styles と同じ添字(第一候補フォントから)
paragraph.hpp の 174 行目に定義があります。
| std::vector<std::string> typeset::inl::ParagraphFragment::placeholderIds |
styles と同じ添字。プレースホルダの run だけ非空(id 未指定なら "")
paragraph.hpp の 175 行目に定義があります。
| std::vector<bool> typeset::inl::ParagraphFragment::placeholders |
styles と同じ添字。プレースホルダの run か
paragraph.hpp の 176 行目に定義があります。
| size_t typeset::inl::ParagraphFragment::charStart = 0 |
組んだ範囲(UTF-16)
paragraph.hpp の 177 行目に定義があります。
| size_t typeset::inl::ParagraphFragment::charEnd = 0 |
paragraph.hpp の 178 行目に定義があります。
| bool typeset::inl::ParagraphFragment::complete = false |
本文を最後まで組めた
paragraph.hpp の 179 行目に定義があります。
| Pt typeset::inl::ParagraphFragment::linePitch = 0.0f |
| float typeset::inl::ParagraphFragment::rotation = 0.0f |
段落の回転(度。emitParagraph が Group で包む)
paragraph.hpp の 181 行目に定義があります。
| Pt typeset::inl::ParagraphFragment::baseSize = 0.0f |
paragraph.hpp の 182 行目に定義があります。
| std::shared_ptr<const std::u16string> typeset::inl::ParagraphFragment::text |
元テキスト(ToUnicode 用)
paragraph.hpp の 183 行目に定義があります。