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

指定した行だけ行頭を下げる(一字下げ用) [詳解]

#include <typeset/inl/line_breaker.hpp>

typeset::inl::LineShapeProviderを継承しています。

公開メンバ関数

 IndentedLineShape (const LineShapeProvider &base, int indentLine, Pt indent)
 
LineShape at (int lineIndex) const override
 lineIndex 行目の形(段落の先頭を 0 とは限らない。呼び出し側が firstLineIndex を渡す)
 
LineShape at (int lineIndex, Pt extraBlock) const override
 行送りが広がった行の後ろでの形。extraBlock は「行番号 × 行送り」に対して実際の行位置が ずれている量(前の行までの追加の送り)。排除領域を見る実装だけが使う。既定は at(lineIndex)
 

詳解

指定した行だけ行頭を下げる(一字下げ用)

line_breaker.hpp67 行目に定義があります。

構築子と解体子

◆ IndentedLineShape()

typeset::inl::IndentedLineShape::IndentedLineShape ( const LineShapeProvider base,
int  indentLine,
Pt  indent 
)
inline

line_breaker.hpp69 行目に定義があります。

関数詳解

◆ at() [1/2]

LineShape typeset::inl::IndentedLineShape::at ( int  lineIndex) const
inlineoverridevirtual

lineIndex 行目の形(段落の先頭を 0 とは限らない。呼び出し側が firstLineIndex を渡す)

typeset::inl::LineShapeProviderを実装しています。

line_breaker.hpp71 行目に定義があります。

参照先 at().

参照元 at().

◆ at() [2/2]

LineShape typeset::inl::IndentedLineShape::at ( int  lineIndex,
Pt   
) const
inlineoverridevirtual

行送りが広がった行の後ろでの形。extraBlock は「行番号 × 行送り」に対して実際の行位置が ずれている量(前の行までの追加の送り)。排除領域を見る実装だけが使う。既定は at(lineIndex)

typeset::inl::LineShapeProviderを再実装しています。

line_breaker.hpp72 行目に定義があります。

参照先 typeset::inl::LineShapeProvider::at(), typeset::inl::LineShape::indent, typeset::inl::LineShape::length.


このクラス詳解は次のファイルから抽出されました: