|
typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
|
配置済みグリフ 1 個 [詳解]
#include <typeset/dl/display_list.hpp>
公開変数類 | |
| uint32_t | gid = 0 |
| Point | pos |
| ペン位置(原点。横組みならベースライン左端) | |
| Mat2 | xform |
| uint32_t | charIndex = kNoChar |
| GlyphRun::text 内の位置(UTF-16)。ToUnicode 用 | |
配置済みグリフ 1 個
xform は「フォントサイズに拡大したグリフ」に掛ける 2x2(y-down ページ空間)。 回転・平体長体・フェイク斜体をここに畳む。組み立ては glyph_transform.hpp。
display_list.hpp の 36 行目に定義があります。
| uint32_t typeset::dl::Glyph::gid = 0 |
display_list.hpp の 37 行目に定義があります。
| Point typeset::dl::Glyph::pos |
ペン位置(原点。横組みならベースライン左端)
display_list.hpp の 38 行目に定義があります。
| Mat2 typeset::dl::Glyph::xform |
display_list.hpp の 39 行目に定義があります。
| uint32_t typeset::dl::Glyph::charIndex = kNoChar |
GlyphRun::text 内の位置(UTF-16)。ToUnicode 用
display_list.hpp の 40 行目に定義があります。