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

#include <typeset/page/page.hpp>

公開メンバ関数

Rect bodyRect (int pageNumber) const
 版面(pageNumber は 1 始まり。duplex のとき偶奇で inner/outer が入れ替わる)
 
std::vector< RectcolumnRects (const Rect &body, int cols, Pt gap) const
 版面を段に分ける(縦組みは上下、横組みは左右)
 

公開変数類

Size size = paper::A5
 
Margins margin
 
WritingMode writingMode = WritingMode::VerticalRl
 
int columns = 1
 
Pt columnGap = 0.0f
 
std::optional< RunningTextheader
 
std::optional< RunningTextfooter
 
bool duplex = false
 見開きで内・外の余白を左右ページで入れ替える
 

詳解

page.hpp50 行目に定義があります。

関数詳解

◆ bodyRect()

Rect typeset::page::PageMaster::bodyRect ( int  pageNumber) const

版面(pageNumber は 1 始まり。duplex のとき偶奇で inner/outer が入れ替わる)

◆ columnRects()

std::vector< Rect > typeset::page::PageMaster::columnRects ( const Rect body,
int  cols,
Pt  gap 
) const

版面を段に分ける(縦組みは上下、横組みは左右)

メンバ詳解

◆ size

Size typeset::page::PageMaster::size = paper::A5

page.hpp51 行目に定義があります。

◆ margin

Margins typeset::page::PageMaster::margin

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

◆ writingMode

WritingMode typeset::page::PageMaster::writingMode = WritingMode::VerticalRl

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

◆ columns

int typeset::page::PageMaster::columns = 1

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

◆ columnGap

Pt typeset::page::PageMaster::columnGap = 0.0f

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

◆ header

std::optional<RunningText> typeset::page::PageMaster::header

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

◆ footer

std::optional<RunningText> typeset::page::PageMaster::footer

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

◆ duplex

bool typeset::page::PageMaster::duplex = false

見開きで内・外の余白を左右ページで入れ替える

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


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