|
typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
|
#include <typeset/inl/annotation.hpp>
静的公開メンバ関数 | |
| static Annotation | indent (size_t start, size_t end, float indentEm) |
| 途中からの字下げ。行頭が [start, end) にある行を indentEm 下げる(end は npos で段落末まで) | |
| static Annotation | moveTo (size_t start, Pt position) |
| 行内の絶対位置。start の文字を行頭から position(pt)から始める(手前なら空きを入れ、既に超えていれば何もしない) | |
| static Annotation | ruby (size_t start, size_t end, std::u16string text, RubyMode mode=RubyMode::Group, float scale=0.5f) |
| static Annotation | tateChuYoko (size_t start, size_t end) |
| static Annotation | emphasis (size_t start, size_t end, EmphasisMark mark=EmphasisMark::Sesame, float scale=0.5f, bool oppositeSide=false) |
| static Annotation | warichu (size_t start, size_t end, std::u16string text, float scale=0.5f) |
| static Annotation | jidori (size_t start, size_t end, float em) |
公開変数類 | |
| AnnotationType | type = AnnotationType::Ruby |
| size_t | start = 0 |
| size_t | end = 0 |
| std::u16string | text |
| ルビ文字列 / 割注の内容 | |
| RubyMode | rubyMode = RubyMode::Group |
| float | scale = 0.5f |
| ルビ・割注・圏点の文字サイズ倍率 | |
| EmphasisMark | mark = EmphasisMark::Sesame |
| bool | oppositeSide = false |
| 圏点を注記側の反対(縦組み: 左、横組み: 下)に付ける | |
| float | jidoriEm = 0.0f |
| 字取りの長さ(em) | |
| float | offset = 0.0f |
| ルビ・圏点と親文字の間隔(親文字の em)。既定はベタ付け | |
| float | indentEm = 0.0f |
| Indent の字下げ(em) | |
| Pt | position = 0.0f |
| MoveTo の位置(pt) | |
annotation.hpp の 51 行目に定義があります。
|
inlinestatic |
途中からの字下げ。行頭が [start, end) にある行を indentEm 下げる(end は npos で段落末まで)
annotation.hpp の 66 行目に定義があります。
参照先 end, typeset::inl::Indent, indentEm, start, type.
|
inlinestatic |
行内の絶対位置。start の文字を行頭から position(pt)から始める(手前なら空きを入れ、既に超えていれば何もしない)
annotation.hpp の 75 行目に定義があります。
参照先 end, typeset::inl::MoveTo, position, start, type.
|
inlinestatic |
annotation.hpp の 84 行目に定義があります。
参照先 end, typeset::inl::Ruby, rubyMode, scale, start, text, type.
|
inlinestatic |
annotation.hpp の 94 行目に定義があります。
参照先 end, start, typeset::inl::TateChuYoko, type.
|
inlinestatic |
annotation.hpp の 100 行目に定義があります。
参照先 typeset::inl::Emphasis, end, mark, oppositeSide, scale, start, type.
|
inlinestatic |
annotation.hpp の 111 行目に定義があります。
|
inlinestatic |
annotation.hpp の 119 行目に定義があります。
参照先 end, typeset::inl::Jidori, jidoriEm, start, type.
| AnnotationType typeset::inl::Annotation::type = AnnotationType::Ruby |
annotation.hpp の 52 行目に定義があります。
参照元 emphasis(), indent(), jidori(), moveTo(), ruby(), tateChuYoko(), warichu().
| size_t typeset::inl::Annotation::start = 0 |
annotation.hpp の 53 行目に定義があります。
参照元 emphasis(), indent(), jidori(), moveTo(), ruby(), tateChuYoko(), warichu().
| size_t typeset::inl::Annotation::end = 0 |
annotation.hpp の 54 行目に定義があります。
参照元 emphasis(), indent(), jidori(), moveTo(), ruby(), tateChuYoko(), warichu().
| std::u16string typeset::inl::Annotation::text |
| RubyMode typeset::inl::Annotation::rubyMode = RubyMode::Group |
annotation.hpp の 56 行目に定義があります。
参照元 ruby().
| float typeset::inl::Annotation::scale = 0.5f |
| EmphasisMark typeset::inl::Annotation::mark = EmphasisMark::Sesame |
annotation.hpp の 58 行目に定義があります。
参照元 emphasis().
| bool typeset::inl::Annotation::oppositeSide = false |
| float typeset::inl::Annotation::jidoriEm = 0.0f |
| float typeset::inl::Annotation::offset = 0.0f |
ルビ・圏点と親文字の間隔(親文字の em)。既定はベタ付け
annotation.hpp の 61 行目に定義があります。
| float typeset::inl::Annotation::indentEm = 0.0f |
| Pt typeset::inl::Annotation::position = 0.0f |