📄 cairo-matrix.sgml
字号:
<!-- ##### SECTION Title ##### -->cairo_matrix_t<!-- ##### SECTION Short_Description ##### -->Generic matrix operations<!-- ##### SECTION Long_Description ##### --> <para><indexterm><primary>types</primary><secondary>cairo_matrix</secondary></indexterm><indexterm><primary/></indexterm> #cairo_matrix_t is used throughout cairo to convert between different coordinate spaces. A #cairo_matrix_t holds an affine transformation, such as a scale, rotation, shear, or a combination of these. The transformation of a point (<literal>x</literal>,<literal>y</literal>) is given by: </para> <programlisting> x_new = xx * x + xy * y + x0; y_new = yx * x + yy * y + y0; </programlisting> <para> The current transformation matrix of a #cairo_t, represented as a #cairo_matrix_t, defines the transformation from user-space coordinates to device-space coordinates. See cairo_get_matrix() and cairo_set_matrix(). </para><!-- ##### SECTION See_Also ##### --><para> </para><!-- ##### SECTION Stability_Level ##### --><!-- ##### STRUCT cairo_matrix_t ##### --><para></para>@xx: @yx: @xy: @yy: @x0: @y0:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -