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

#include <typeset/inl/line_breaker.hpp>

typeset::inl::ConstantLineShape, typeset::inl::IndentedLineShape, typeset::inl::OffsetLineShape, typeset::page::RegionLineShapeに継承されています。

公開メンバ関数

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

詳解

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

構築子と解体子

◆ ~LineShapeProvider()

virtual typeset::inl::LineShapeProvider::~LineShapeProvider ( )
virtualdefault

関数詳解

◆ at() [1/2]

virtual LineShape typeset::inl::LineShapeProvider::at ( int  lineIndex) const
pure virtual

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

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

参照元 typeset::inl::OffsetLineShape::at(), typeset::inl::IndentedLineShape::at().

◆ at() [2/2]

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

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

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

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

参照先 at().

参照元 at().


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