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

全行同じ長さ [詳解]

#include <typeset/inl/line_breaker.hpp>

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

公開メンバ関数

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

詳解

全行同じ長さ

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

構築子と解体子

◆ ConstantLineShape()

typeset::inl::ConstantLineShape::ConstantLineShape ( Pt  length,
Pt  indent = 0.0f 
)
inlineexplicit

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

関数詳解

◆ at() [1/2]

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

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

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

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

◆ at() [2/2]

virtual LineShape typeset::inl::LineShapeProvider::at ( int  lineIndex,
Pt   
) const
inlinevirtualinherited

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

typeset::inl::OffsetLineShape, typeset::inl::IndentedLineShape, typeset::page::RegionLineShapeで再実装されています。

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

参照先 typeset::inl::LineShapeProvider::at().

参照元 typeset::inl::LineShapeProvider::at().


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