typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
読み取り中…
検索中…
一致する文字列を見つけられません
writing_mode.hpp ファイル
#include "typeset/geom.hpp"

[ソースコード]

クラス

struct  typeset::LogicalPoint
 論理座標。inline_ は行頭からの送り、block は行の中心線からのずれ (block 正方向は横組みで下、縦組み(rl)で左、縦組み(lr)で右…ではなく、 **縦組みでは常に右を正**とする。richtext の u 軸と同じ。行送りの向きとは独立) [詳解]
 

名前空間

namespace  typeset
 geom — 単位と幾何
 

列挙型

enum class  typeset::WritingMode : uint8_t { typeset::HorizontalTb , typeset::VerticalRl , typeset::VerticalLr }
 
enum class  typeset::TextOrientation : uint8_t { typeset::Mixed , typeset::Upright , typeset::Sideways }
 縦組み中の文字の正立/横倒し(CSS text-orientation 相当) [詳解]
 

関数

bool typeset::isVertical (WritingMode wm)
 
Point typeset::toPhysical (WritingMode wm, LogicalPoint p, Point lineOrigin)
 論理座標 → 物理座標
 
LogicalPoint typeset::toLogical (WritingMode wm, Point p, Point lineOrigin)
 物理座標 → 論理座標(toPhysical の逆)
 

変数

constexpr float typeset::kSidewaysRotation = -1.5707963267948966f
 横倒しグリフの回転角(ラジアン)