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

#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.hpp51 行目に定義があります。

関数詳解

◆ indent()

static Annotation typeset::inl::Annotation::indent ( size_t  start,
size_t  end,
float  indentEm 
)
inlinestatic

途中からの字下げ。行頭が [start, end) にある行を indentEm 下げる(end は npos で段落末まで)

annotation.hpp66 行目に定義があります。

参照先 end, typeset::inl::Indent, indentEm, start, type.

◆ moveTo()

static Annotation typeset::inl::Annotation::moveTo ( size_t  start,
Pt  position 
)
inlinestatic

行内の絶対位置。start の文字を行頭から position(pt)から始める(手前なら空きを入れ、既に超えていれば何もしない)

annotation.hpp75 行目に定義があります。

参照先 end, typeset::inl::MoveTo, position, start, type.

◆ ruby()

static Annotation typeset::inl::Annotation::ruby ( size_t  start,
size_t  end,
std::u16string  text,
RubyMode  mode = RubyMode::Group,
float  scale = 0.5f 
)
inlinestatic

annotation.hpp84 行目に定義があります。

参照先 end, typeset::inl::Ruby, rubyMode, scale, start, text, type.

◆ tateChuYoko()

static Annotation typeset::inl::Annotation::tateChuYoko ( size_t  start,
size_t  end 
)
inlinestatic

annotation.hpp94 行目に定義があります。

参照先 end, start, typeset::inl::TateChuYoko, type.

◆ emphasis()

static Annotation typeset::inl::Annotation::emphasis ( size_t  start,
size_t  end,
EmphasisMark  mark = EmphasisMark::Sesame,
float  scale = 0.5f,
bool  oppositeSide = false 
)
inlinestatic

annotation.hpp100 行目に定義があります。

参照先 typeset::inl::Emphasis, end, mark, oppositeSide, scale, start, type.

◆ warichu()

static Annotation typeset::inl::Annotation::warichu ( size_t  start,
size_t  end,
std::u16string  text,
float  scale = 0.5f 
)
inlinestatic

annotation.hpp111 行目に定義があります。

参照先 end, scale, start, text, type, typeset::inl::Warichu.

◆ jidori()

static Annotation typeset::inl::Annotation::jidori ( size_t  start,
size_t  end,
float  em 
)
inlinestatic

annotation.hpp119 行目に定義があります。

参照先 end, typeset::inl::Jidori, jidoriEm, start, type.

メンバ詳解

◆ type

AnnotationType typeset::inl::Annotation::type = AnnotationType::Ruby

annotation.hpp52 行目に定義があります。

参照元 emphasis(), indent(), jidori(), moveTo(), ruby(), tateChuYoko(), warichu().

◆ start

size_t typeset::inl::Annotation::start = 0

annotation.hpp53 行目に定義があります。

参照元 emphasis(), indent(), jidori(), moveTo(), ruby(), tateChuYoko(), warichu().

◆ end

size_t typeset::inl::Annotation::end = 0

annotation.hpp54 行目に定義があります。

参照元 emphasis(), indent(), jidori(), moveTo(), ruby(), tateChuYoko(), warichu().

◆ text

std::u16string typeset::inl::Annotation::text

ルビ文字列 / 割注の内容

annotation.hpp55 行目に定義があります。

参照元 ruby(), warichu().

◆ rubyMode

RubyMode typeset::inl::Annotation::rubyMode = RubyMode::Group

annotation.hpp56 行目に定義があります。

参照元 ruby().

◆ scale

float typeset::inl::Annotation::scale = 0.5f

ルビ・割注・圏点の文字サイズ倍率

annotation.hpp57 行目に定義があります。

参照元 emphasis(), ruby(), warichu().

◆ mark

EmphasisMark typeset::inl::Annotation::mark = EmphasisMark::Sesame

annotation.hpp58 行目に定義があります。

参照元 emphasis().

◆ oppositeSide

bool typeset::inl::Annotation::oppositeSide = false

圏点を注記側の反対(縦組み: 左、横組み: 下)に付ける

annotation.hpp59 行目に定義があります。

参照元 emphasis().

◆ jidoriEm

float typeset::inl::Annotation::jidoriEm = 0.0f

字取りの長さ(em)

annotation.hpp60 行目に定義があります。

参照元 jidori().

◆ offset

float typeset::inl::Annotation::offset = 0.0f

ルビ・圏点と親文字の間隔(親文字の em)。既定はベタ付け

annotation.hpp61 行目に定義があります。

◆ indentEm

float typeset::inl::Annotation::indentEm = 0.0f

Indent の字下げ(em)

annotation.hpp62 行目に定義があります。

参照元 indent().

◆ position

Pt typeset::inl::Annotation::position = 0.0f

MoveTo の位置(pt)

annotation.hpp63 行目に定義があります。

参照元 moveTo().


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