typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
読み取り中…
検索中…
一致する文字列を見つけられません
typeset::inl::ParagraphFragment 構造体

#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< LineBoxlines
 
std::vector< TextStylestyles
 PlacedGlyph::styleIndex → スタイル
 
std::vector< StyleMetricsstyleMetrics
 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.hpp171 行目に定義があります。

関数詳解

◆ lineAdvance()

Pt typeset::inl::ParagraphFragment::lineAdvance ( size_t  li) const
inline

行 li が占める行送り方向の量(行送り+行内オブジェクトのための追加)

paragraph.hpp186 行目に定義があります。

参照先 linePitch, lines.

参照元 blockExtent(), lineCenterOffset().

◆ lineCenterOffset()

Pt typeset::inl::ParagraphFragment::lineCenterOffset ( size_t  li) const
inline

行 li の中心線の、「0 行目の行送りの箱の始端+pitch/2」からの距離(追加が無ければ pitch × li)

paragraph.hpp190 行目に定義があります。

参照先 lineAdvance(), lines.

◆ blockExtent()

Pt typeset::inl::ParagraphFragment::blockExtent ( ) const
inline

全行が占める行送り方向の量

paragraph.hpp196 行目に定義があります。

参照先 lineAdvance(), lines.

メンバ詳解

◆ lines

std::vector<LineBox> typeset::inl::ParagraphFragment::lines

paragraph.hpp172 行目に定義があります。

参照元 blockExtent(), lineAdvance(), lineCenterOffset().

◆ styles

std::vector<TextStyle> typeset::inl::ParagraphFragment::styles

PlacedGlyph::styleIndex → スタイル

paragraph.hpp173 行目に定義があります。

◆ styleMetrics

std::vector<StyleMetrics> typeset::inl::ParagraphFragment::styleMetrics

styles と同じ添字(第一候補フォントから)

paragraph.hpp174 行目に定義があります。

◆ placeholderIds

std::vector<std::string> typeset::inl::ParagraphFragment::placeholderIds

styles と同じ添字。プレースホルダの run だけ非空(id 未指定なら "")

paragraph.hpp175 行目に定義があります。

◆ placeholders

std::vector<bool> typeset::inl::ParagraphFragment::placeholders

styles と同じ添字。プレースホルダの run か

paragraph.hpp176 行目に定義があります。

◆ charStart

size_t typeset::inl::ParagraphFragment::charStart = 0

組んだ範囲(UTF-16)

paragraph.hpp177 行目に定義があります。

◆ charEnd

size_t typeset::inl::ParagraphFragment::charEnd = 0

paragraph.hpp178 行目に定義があります。

◆ complete

bool typeset::inl::ParagraphFragment::complete = false

本文を最後まで組めた

paragraph.hpp179 行目に定義があります。

◆ linePitch

Pt typeset::inl::ParagraphFragment::linePitch = 0.0f

行送り

paragraph.hpp180 行目に定義があります。

参照元 lineAdvance().

◆ rotation

float typeset::inl::ParagraphFragment::rotation = 0.0f

段落の回転(度。emitParagraph が Group で包む)

paragraph.hpp181 行目に定義があります。

◆ baseSize

Pt typeset::inl::ParagraphFragment::baseSize = 0.0f

paragraph.hpp182 行目に定義があります。

◆ text

std::shared_ptr<const std::u16string> typeset::inl::ParagraphFragment::text

元テキスト(ToUnicode 用)

paragraph.hpp183 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: