|
typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
|
指定した行だけ行頭を下げる(一字下げ用) [詳解]
#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.hpp の 67 行目に定義があります。
|
inline |
line_breaker.hpp の 69 行目に定義があります。
|
inlineoverridevirtual |
lineIndex 行目の形(段落の先頭を 0 とは限らない。呼び出し側が firstLineIndex を渡す)
typeset::inl::LineShapeProviderを実装しています。
line_breaker.hpp の 71 行目に定義があります。
参照先 at().
参照元 at().
行送りが広がった行の後ろでの形。extraBlock は「行番号 × 行送り」に対して実際の行位置が ずれている量(前の行までの追加の送り)。排除領域を見る実装だけが使う。既定は at(lineIndex)
typeset::inl::LineShapeProviderを再実装しています。
line_breaker.hpp の 72 行目に定義があります。
参照先 typeset::inl::LineShapeProvider::at(), typeset::inl::LineShape::indent, typeset::inl::LineShape::length.