📄 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: <!-- ##### FUNCTION cairo_matrix_init ##### --><para></para>@matrix: @xx: @yx: @xy: @yy: @x0: @y0: <!-- ##### FUNCTION cairo_matrix_init_identity ##### --><para></para>@matrix: <!-- ##### FUNCTION cairo_matrix_init_translate ##### --><para></para>@matrix: @tx: @ty: <!-- ##### FUNCTION cairo_matrix_init_scale ##### --><para></para>@matrix: @sx: @sy: <!-- ##### FUNCTION cairo_matrix_init_rotate ##### --><para></para>@matrix: @radians: <!-- ##### FUNCTION cairo_matrix_translate ##### --><para></para>@matrix: @tx: @ty: <!-- ##### FUNCTION cairo_matrix_scale ##### --><para></para>@matrix: @sx: @sy: <!-- ##### FUNCTION cairo_matrix_rotate ##### --><para></para>@matrix: @radians: <!-- ##### FUNCTION cairo_matrix_invert ##### --><para></para>@matrix: @Returns: <!-- ##### FUNCTION cairo_matrix_multiply ##### --><para></para>@result: @a: @b: <!-- ##### FUNCTION cairo_matrix_transform_distance ##### --><para></para>@matrix: @dx: @dy: <!-- ##### FUNCTION cairo_matrix_transform_point ##### --><para></para>@matrix: @x: @y:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -