|
typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
|
2x3 アフィン行列(行優先) x' = xx*x + xy*y + dx y' = yx*x + yy*y + dy [詳解]
#include <typeset/geom.hpp>
公開メンバ関数 | |
| bool | isIdentity () const |
| Mat2 | linear () const |
| float | determinant () const |
| Point | apply (Point p) const |
| Point | applyVector (Point v) const |
静的公開メンバ関数 | |
| static Matrix | identity () |
| static Matrix | translation (Pt tx, Pt ty) |
| static Matrix | rotation (float radians) |
| 回転(ラジアン。y-down なので画面上では時計回りが正) | |
| static Matrix | scaling (float sx, float sy) |
| static Matrix | fromMat2 (const Mat2 &r, Pt tx=0.0f, Pt ty=0.0f) |
公開変数類 | |
| float | xx = 1.0f |
| float | xy = 0.0f |
| float | dx = 0.0f |
| float | yx = 0.0f |
| float | yy = 1.0f |
| float | dy = 0.0f |
|
inlinestatic |
|
inlinestatic |
参照先 dx, dy, typeset::Mat2::xx, xx, typeset::Mat2::xy, xy, typeset::Mat2::yx, yx, typeset::Mat2::yy, yy.
|
inline |
参照先 dx, dy, typeset::Point::x, xx, xy, typeset::Point::y, yx, yy.
参照先 typeset::Point::x, xx, xy, typeset::Point::y, yx, yy.
| float typeset::Matrix::xx = 1.0f |
| float typeset::Matrix::xy = 0.0f |
| float typeset::Matrix::dx = 0.0f |
参照元 apply(), fromMat2(), isIdentity(), translation().
| float typeset::Matrix::yx = 0.0f |
| float typeset::Matrix::yy = 1.0f |
| float typeset::Matrix::dy = 0.0f |
参照元 apply(), fromMat2(), isIdentity(), translation().