~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimpmath/html/libgimpmath-GimpMatrix.html

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
Import upstream version 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GimpMatrix</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="GIMP Math Library Reference Manual">
8
 
<link rel="up" href="libgimpmath.html" title="Part&#160;I.&#160;GIMP Math Library">
 
8
<link rel="up" href="libgimpmath.html" title="Part I. GIMP Math Library">
9
9
<link rel="prev" href="libgimpmath-GimpMath.html" title="GimpMath">
10
10
<link rel="next" href="libgimpmath-GimpVector.html" title="GimpVector">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="libgimpmath.html" title="Part&#160;I.&#160;GIMP Math Library">
 
13
<link rel="part" href="libgimpmath.html" title="Part I. GIMP Math Library">
14
14
<link rel="index" href="libgimpmath-index.html" title="Index">
15
15
<link rel="index" href="libgimpmath-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
16
16
<link rel="index" href="libgimpmath-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
25
25
<th width="100%" align="center">GIMP Math Library Reference Manual</th>
26
26
<td><a accesskey="n" href="libgimpmath-GimpVector.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
27
27
</tr>
28
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2610234" class="shortcut">Top</a>
29
 
                  &#160;|&#160;
30
 
                  <a href="#id2593502" class="shortcut">Description</a></nobr></td></tr>
 
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#libgimpmath-GimpMatrix.synopsis" class="shortcut">Top</a>
 
29
                   | 
 
30
                  <a href="#libgimpmath-GimpMatrix.description" class="shortcut">Description</a></nobr></td></tr>
31
31
</table>
32
32
<div class="refentry" lang="en">
33
33
<a name="libgimpmath-GimpMatrix"></a><div class="titlepage"></div>
34
34
<div class="refnamediv"><table width="100%"><tr>
35
35
<td valign="top">
36
 
<h2>
37
 
<a name="id2610234"></a><span class="refentrytitle">GimpMatrix</span>
38
 
</h2>
39
 
<p>GimpMatrix &#8212; Utilities to set up and manipulate 3x3 transformation matrices.</p>
 
36
<h2><span class="refentrytitle"><a name="libgimpmath-GimpMatrix.top_of_page"></a>GimpMatrix</span></h2>
 
37
<p>GimpMatrix — Utilities to set up and manipulate 3x3 transformation matrices.</p>
40
38
</td>
41
39
<td valign="top" align="right"></td>
42
40
</tr></table></div>
43
41
<div class="refsynopsisdiv">
44
 
<h2>Synopsis</h2>
 
42
<a name="libgimpmath-GimpMatrix.synopsis"></a><h2>Synopsis</h2>
45
43
<pre class="synopsis">
46
 
 
47
 
 
48
 
 
49
 
                    <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a>;
50
 
                    <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a>;
51
 
                    <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix4">GimpMatrix4</a>;
52
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix2-identity">gimp_matrix2_identity</a>               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix);
53
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix2-mult">gimp_matrix2_mult</a>                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix1,
54
 
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix2);
55
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-identity">gimp_matrix3_identity</a>               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);
56
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-mult">gimp_matrix3_mult</a>                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix1,
57
 
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix2);
58
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-translate">gimp_matrix3_translate</a>              (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
59
 
                                                         <a
60
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
61
 
>gdouble</a> x,
62
 
                                                         <a
63
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
64
 
>gdouble</a> y);
65
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-scale">gimp_matrix3_scale</a>                  (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
66
 
                                                         <a
67
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
68
 
>gdouble</a> x,
69
 
                                                         <a
70
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
71
 
>gdouble</a> y);
72
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-rotate">gimp_matrix3_rotate</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
73
 
                                                         <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
75
 
>gdouble</a> theta);
76
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-xshear">gimp_matrix3_xshear</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
77
 
                                                         <a
78
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
79
 
>gdouble</a> amount);
80
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-yshear">gimp_matrix3_yshear</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
81
 
                                                         <a
82
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
83
 
>gdouble</a> amount);
84
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-affine">gimp_matrix3_affine</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
85
 
                                                         <a
86
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
87
 
>gdouble</a> a,
88
 
                                                         <a
89
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
90
 
>gdouble</a> b,
91
 
                                                         <a
92
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
93
 
>gdouble</a> c,
94
 
                                                         <a
95
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
96
 
>gdouble</a> d,
97
 
                                                         <a
98
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
99
 
>gdouble</a> e,
100
 
                                                         <a
101
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
102
 
>gdouble</a> f);
103
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-transform-point">gimp_matrix3_transform_point</a>        (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
104
 
                                                         <a
105
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
106
 
>gdouble</a> x,
107
 
                                                         <a
108
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
109
 
>gdouble</a> y,
110
 
                                                         <a
111
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
112
 
>gdouble</a> *newx,
113
 
                                                         <a
114
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
115
 
>gdouble</a> *newy);
116
 
<a
117
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
118
 
>gdouble</a>             <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-determinant">gimp_matrix3_determinant</a>            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);
119
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-invert">gimp_matrix3_invert</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);
120
 
<a
121
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
122
 
>gboolean</a>            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-identity">gimp_matrix3_is_identity</a>            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);
123
 
<a
124
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
125
 
>gboolean</a>            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-diagonal">gimp_matrix3_is_diagonal</a>            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);
126
 
<a
127
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
128
 
>gboolean</a>            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-affine">gimp_matrix3_is_affine</a>              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);
129
 
<a
130
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
131
 
>gboolean</a>            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-simple">gimp_matrix3_is_simple</a>              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);
132
 
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix4-to-deg">gimp_matrix4_to_deg</a>                 (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix4">GimpMatrix4</a> *matrix,
133
 
                                                         <a
134
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
135
 
>gdouble</a> *a,
136
 
                                                         <a
137
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
138
 
>gdouble</a> *b,
139
 
                                                         <a
140
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
141
 
>gdouble</a> *c);
142
 
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-TYPE-MATRIX2:CAPS">GIMP_TYPE_MATRIX2</a>
143
 
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-TYPE-PARAM-MATRIX2:CAPS">GIMP_TYPE_PARAM_MATRIX2</a>
144
 
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-IS-PARAM-SPEC-MATRIX2:CAPS">GIMP_IS_PARAM_SPEC_MATRIX2</a>          (pspec)
145
 
<a
146
 
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
147
 
>GParamSpec</a>*         <a class="link" href="libgimpmath-GimpMatrix.html#gimp-param-spec-matrix2">gimp_param_spec_matrix2</a>             (const <a
148
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
149
 
>gchar</a> *name,
150
 
                                                         const <a
151
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
152
 
>gchar</a> *nick,
153
 
                                                         const <a
154
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
155
 
>gchar</a> *blurb,
156
 
                                                         const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *default_value,
157
 
                                                         <a
158
 
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
159
 
>GParamFlags</a> flags);
160
 
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-VALUE-HOLDS-MATRIX2:CAPS">GIMP_VALUE_HOLDS_MATRIX2</a>            (value)
161
 
 
 
44
                    <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a>;
 
45
                    <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a>;
 
46
                    <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix4" title="GimpMatrix4">GimpMatrix4</a>;
 
47
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix2-identity" title="gimp_matrix2_identity ()">gimp_matrix2_identity</a>               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *matrix);
 
48
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix2-mult" title="gimp_matrix2_mult ()">gimp_matrix2_mult</a>                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *matrix1,
 
49
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *matrix2);
 
50
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-identity" title="gimp_matrix3_identity ()">gimp_matrix3_identity</a>               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);
 
51
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-mult" title="gimp_matrix3_mult ()">gimp_matrix3_mult</a>                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix1,
 
52
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix2);
 
53
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-translate" title="gimp_matrix3_translate ()">gimp_matrix3_translate</a>              (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
54
                                                         gdouble x,
 
55
                                                         gdouble y);
 
56
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-scale" title="gimp_matrix3_scale ()">gimp_matrix3_scale</a>                  (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
57
                                                         gdouble x,
 
58
                                                         gdouble y);
 
59
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-rotate" title="gimp_matrix3_rotate ()">gimp_matrix3_rotate</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
60
                                                         gdouble theta);
 
61
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-xshear" title="gimp_matrix3_xshear ()">gimp_matrix3_xshear</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
62
                                                         gdouble amount);
 
63
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-yshear" title="gimp_matrix3_yshear ()">gimp_matrix3_yshear</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
64
                                                         gdouble amount);
 
65
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-affine" title="gimp_matrix3_affine ()">gimp_matrix3_affine</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
66
                                                         gdouble a,
 
67
                                                         gdouble b,
 
68
                                                         gdouble c,
 
69
                                                         gdouble d,
 
70
                                                         gdouble e,
 
71
                                                         gdouble f);
 
72
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-transform-point" title="gimp_matrix3_transform_point ()">gimp_matrix3_transform_point</a>        (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
73
                                                         gdouble x,
 
74
                                                         gdouble y,
 
75
                                                         gdouble *newx,
 
76
                                                         gdouble *newy);
 
77
gdouble             <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-determinant" title="gimp_matrix3_determinant ()">gimp_matrix3_determinant</a>            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);
 
78
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-invert" title="gimp_matrix3_invert ()">gimp_matrix3_invert</a>                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);
 
79
gboolean            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-identity" title="gimp_matrix3_is_identity ()">gimp_matrix3_is_identity</a>            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);
 
80
gboolean            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-diagonal" title="gimp_matrix3_is_diagonal ()">gimp_matrix3_is_diagonal</a>            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);
 
81
gboolean            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-affine" title="gimp_matrix3_is_affine ()">gimp_matrix3_is_affine</a>              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);
 
82
gboolean            <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix3-is-simple" title="gimp_matrix3_is_simple ()">gimp_matrix3_is_simple</a>              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);
 
83
void                <a class="link" href="libgimpmath-GimpMatrix.html#gimp-matrix4-to-deg" title="gimp_matrix4_to_deg ()">gimp_matrix4_to_deg</a>                 (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix4" title="GimpMatrix4">GimpMatrix4</a> *matrix,
 
84
                                                         gdouble *a,
 
85
                                                         gdouble *b,
 
86
                                                         gdouble *c);
 
87
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-TYPE-MATRIX2:CAPS" title="GIMP_TYPE_MATRIX2">GIMP_TYPE_MATRIX2</a>
 
88
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-TYPE-PARAM-MATRIX2:CAPS" title="GIMP_TYPE_PARAM_MATRIX2">GIMP_TYPE_PARAM_MATRIX2</a>
 
89
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-IS-PARAM-SPEC-MATRIX2:CAPS" title="GIMP_IS_PARAM_SPEC_MATRIX2()">GIMP_IS_PARAM_SPEC_MATRIX2</a>          (pspec)
 
90
GParamSpec*         <a class="link" href="libgimpmath-GimpMatrix.html#gimp-param-spec-matrix2" title="gimp_param_spec_matrix2 ()">gimp_param_spec_matrix2</a>             (const gchar *name,
 
91
                                                         const gchar *nick,
 
92
                                                         const gchar *blurb,
 
93
                                                         const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *default_value,
 
94
                                                         GParamFlags flags);
 
95
#define             <a class="link" href="libgimpmath-GimpMatrix.html#GIMP-VALUE-HOLDS-MATRIX2:CAPS" title="GIMP_VALUE_HOLDS_MATRIX2()">GIMP_VALUE_HOLDS_MATRIX2</a>            (value)
162
96
</pre>
163
97
</div>
164
98
<div class="refsect1" lang="en">
165
 
<a name="id2593502"></a><h2>Description</h2>
 
99
<a name="libgimpmath-GimpMatrix.description"></a><h2>Description</h2>
166
100
<p>
167
101
When doing image manipulation you will often need 3x3 transformation
168
102
matrices that define translation, rotation, scaling, shearing and 
176
110
</p>
177
111
</div>
178
112
<div class="refsect1" lang="en">
179
 
<a name="id2532554"></a><h2>Details</h2>
 
113
<a name="libgimpmath-GimpMatrix.details"></a><h2>Details</h2>
180
114
<div class="refsect2" lang="en">
181
 
<a name="id2532565"></a><h3>
182
 
<a name="GimpMatrix2"></a>GimpMatrix2</h3>
183
 
<a class="indexterm" name="id2532577"></a><pre class="programlisting">typedef struct {
 
115
<a name="GimpMatrix2"></a><h3>GimpMatrix2</h3>
 
116
<pre class="programlisting">typedef struct {
184
117
  gdouble coeff[2][2];
185
118
} GimpMatrix2;
186
119
</pre>
190
123
</div>
191
124
<hr>
192
125
<div class="refsect2" lang="en">
193
 
<a name="id2532593"></a><h3>
194
 
<a name="GimpMatrix3"></a>GimpMatrix3</h3>
195
 
<a class="indexterm" name="id2532605"></a><pre class="programlisting">typedef struct {
 
126
<a name="GimpMatrix3"></a><h3>GimpMatrix3</h3>
 
127
<pre class="programlisting">typedef struct {
196
128
  gdouble coeff[3][3];
197
129
} GimpMatrix3;
198
130
</pre>
202
134
</div>
203
135
<hr>
204
136
<div class="refsect2" lang="en">
205
 
<a name="id2532621"></a><h3>
206
 
<a name="GimpMatrix4"></a>GimpMatrix4</h3>
207
 
<a class="indexterm" name="id2532633"></a><pre class="programlisting">typedef struct {
 
137
<a name="GimpMatrix4"></a><h3>GimpMatrix4</h3>
 
138
<pre class="programlisting">typedef struct {
208
139
  gdouble coeff[4][4];
209
140
} GimpMatrix4;
210
141
</pre>
214
145
</div>
215
146
<hr>
216
147
<div class="refsect2" lang="en">
217
 
<a name="id2532649"></a><h3>
218
 
<a name="gimp-matrix2-identity"></a>gimp_matrix2_identity ()</h3>
219
 
<a class="indexterm" name="id2532661"></a><pre class="programlisting">void                gimp_matrix2_identity               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix);</pre>
220
 
<p>
221
 
Sets the matrix to the identity matrix.</p>
222
 
<p>
223
 
 
224
 
</p>
225
 
<div class="variablelist"><table border="0">
226
 
<col align="left" valign="top">
227
 
<tbody><tr>
228
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
229
 
<td> A matrix.
230
 
</td>
231
 
</tr></tbody>
232
 
</table></div>
233
 
</div>
234
 
<hr>
235
 
<div class="refsect2" lang="en">
236
 
<a name="id2532710"></a><h3>
237
 
<a name="gimp-matrix2-mult"></a>gimp_matrix2_mult ()</h3>
238
 
<a class="indexterm" name="id2532722"></a><pre class="programlisting">void                gimp_matrix2_mult                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix1,
239
 
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix2);</pre>
240
 
<p>
241
 
Multiplies two matrices and puts the result into the second one.</p>
242
 
<p>
243
 
 
244
 
</p>
245
 
<div class="variablelist"><table border="0">
246
 
<col align="left" valign="top">
247
 
<tbody>
248
 
<tr>
249
 
<td><p><span class="term"><em class="parameter"><code>matrix1</code></em>&#160;:</span></p></td>
250
 
<td> The first input matrix.
251
 
</td>
252
 
</tr>
253
 
<tr>
254
 
<td><p><span class="term"><em class="parameter"><code>matrix2</code></em>&#160;:</span></p></td>
255
 
<td> The second input matrix which will be overwritten by the result.
256
 
</td>
257
 
</tr>
258
 
</tbody>
259
 
</table></div>
260
 
</div>
261
 
<hr>
262
 
<div class="refsect2" lang="en">
263
 
<a name="id2532795"></a><h3>
264
 
<a name="gimp-matrix3-identity"></a>gimp_matrix3_identity ()</h3>
265
 
<a class="indexterm" name="id2532806"></a><pre class="programlisting">void                gimp_matrix3_identity               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
266
 
<p>
267
 
Sets the matrix to the identity matrix.</p>
268
 
<p>
269
 
 
270
 
</p>
271
 
<div class="variablelist"><table border="0">
272
 
<col align="left" valign="top">
273
 
<tbody><tr>
274
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
275
 
<td> A matrix.
276
 
</td>
277
 
</tr></tbody>
278
 
</table></div>
279
 
</div>
280
 
<hr>
281
 
<div class="refsect2" lang="en">
282
 
<a name="id2617540"></a><h3>
283
 
<a name="gimp-matrix3-mult"></a>gimp_matrix3_mult ()</h3>
284
 
<a class="indexterm" name="id2617551"></a><pre class="programlisting">void                gimp_matrix3_mult                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix1,
285
 
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix2);</pre>
286
 
<p>
287
 
Multiplies two matrices and puts the result into the second one.</p>
288
 
<p>
289
 
 
290
 
</p>
291
 
<div class="variablelist"><table border="0">
292
 
<col align="left" valign="top">
293
 
<tbody>
294
 
<tr>
295
 
<td><p><span class="term"><em class="parameter"><code>matrix1</code></em>&#160;:</span></p></td>
296
 
<td> The first input matrix.
297
 
</td>
298
 
</tr>
299
 
<tr>
300
 
<td><p><span class="term"><em class="parameter"><code>matrix2</code></em>&#160;:</span></p></td>
301
 
<td> The second input matrix which will be overwritten by the result.
302
 
</td>
303
 
</tr>
304
 
</tbody>
305
 
</table></div>
306
 
</div>
307
 
<hr>
308
 
<div class="refsect2" lang="en">
309
 
<a name="id2617616"></a><h3>
310
 
<a name="gimp-matrix3-translate"></a>gimp_matrix3_translate ()</h3>
311
 
<a class="indexterm" name="id2617627"></a><pre class="programlisting">void                gimp_matrix3_translate              (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
312
 
                                                         <a
313
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
314
 
>gdouble</a> x,
315
 
                                                         <a
316
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
317
 
>gdouble</a> y);</pre>
 
148
<a name="gimp-matrix2-identity"></a><h3>gimp_matrix2_identity ()</h3>
 
149
<pre class="programlisting">void                gimp_matrix2_identity               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *matrix);</pre>
 
150
<p>
 
151
Sets the matrix to the identity matrix.</p>
 
152
<p>
 
153
 
 
154
</p>
 
155
<div class="variablelist"><table border="0">
 
156
<col align="left" valign="top">
 
157
<tbody><tr>
 
158
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
 
159
<td> A matrix.
 
160
</td>
 
161
</tr></tbody>
 
162
</table></div>
 
163
</div>
 
164
<hr>
 
165
<div class="refsect2" lang="en">
 
166
<a name="gimp-matrix2-mult"></a><h3>gimp_matrix2_mult ()</h3>
 
167
<pre class="programlisting">void                gimp_matrix2_mult                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *matrix1,
 
168
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *matrix2);</pre>
 
169
<p>
 
170
Multiplies two matrices and puts the result into the second one.</p>
 
171
<p>
 
172
 
 
173
</p>
 
174
<div class="variablelist"><table border="0">
 
175
<col align="left" valign="top">
 
176
<tbody>
 
177
<tr>
 
178
<td><p><span class="term"><em class="parameter"><code>matrix1</code></em> :</span></p></td>
 
179
<td> The first input matrix.
 
180
</td>
 
181
</tr>
 
182
<tr>
 
183
<td><p><span class="term"><em class="parameter"><code>matrix2</code></em> :</span></p></td>
 
184
<td> The second input matrix which will be overwritten by the result.
 
185
</td>
 
186
</tr>
 
187
</tbody>
 
188
</table></div>
 
189
</div>
 
190
<hr>
 
191
<div class="refsect2" lang="en">
 
192
<a name="gimp-matrix3-identity"></a><h3>gimp_matrix3_identity ()</h3>
 
193
<pre class="programlisting">void                gimp_matrix3_identity               (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
 
194
<p>
 
195
Sets the matrix to the identity matrix.</p>
 
196
<p>
 
197
 
 
198
</p>
 
199
<div class="variablelist"><table border="0">
 
200
<col align="left" valign="top">
 
201
<tbody><tr>
 
202
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
 
203
<td> A matrix.
 
204
</td>
 
205
</tr></tbody>
 
206
</table></div>
 
207
</div>
 
208
<hr>
 
209
<div class="refsect2" lang="en">
 
210
<a name="gimp-matrix3-mult"></a><h3>gimp_matrix3_mult ()</h3>
 
211
<pre class="programlisting">void                gimp_matrix3_mult                   (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix1,
 
212
                                                         <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix2);</pre>
 
213
<p>
 
214
Multiplies two matrices and puts the result into the second one.</p>
 
215
<p>
 
216
 
 
217
</p>
 
218
<div class="variablelist"><table border="0">
 
219
<col align="left" valign="top">
 
220
<tbody>
 
221
<tr>
 
222
<td><p><span class="term"><em class="parameter"><code>matrix1</code></em> :</span></p></td>
 
223
<td> The first input matrix.
 
224
</td>
 
225
</tr>
 
226
<tr>
 
227
<td><p><span class="term"><em class="parameter"><code>matrix2</code></em> :</span></p></td>
 
228
<td> The second input matrix which will be overwritten by the result.
 
229
</td>
 
230
</tr>
 
231
</tbody>
 
232
</table></div>
 
233
</div>
 
234
<hr>
 
235
<div class="refsect2" lang="en">
 
236
<a name="gimp-matrix3-translate"></a><h3>gimp_matrix3_translate ()</h3>
 
237
<pre class="programlisting">void                gimp_matrix3_translate              (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
238
                                                         gdouble x,
 
239
                                                         gdouble y);</pre>
318
240
<p>
319
241
Translates the matrix by x and y.</p>
320
242
<p>
324
246
<col align="left" valign="top">
325
247
<tbody>
326
248
<tr>
327
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
249
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
328
250
<td> The matrix that is to be translated.
329
251
</td>
330
252
</tr>
331
253
<tr>
332
 
<td><p><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></p></td>
 
254
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
333
255
<td> Translation in X direction.
334
256
</td>
335
257
</tr>
336
258
<tr>
337
 
<td><p><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></p></td>
 
259
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
338
260
<td> Translation in Y direction.
339
261
</td>
340
262
</tr>
343
265
</div>
344
266
<hr>
345
267
<div class="refsect2" lang="en">
346
 
<a name="id2617714"></a><h3>
347
 
<a name="gimp-matrix3-scale"></a>gimp_matrix3_scale ()</h3>
348
 
<a class="indexterm" name="id2617726"></a><pre class="programlisting">void                gimp_matrix3_scale                  (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
349
 
                                                         <a
350
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
351
 
>gdouble</a> x,
352
 
                                                         <a
353
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
354
 
>gdouble</a> y);</pre>
 
268
<a name="gimp-matrix3-scale"></a><h3>gimp_matrix3_scale ()</h3>
 
269
<pre class="programlisting">void                gimp_matrix3_scale                  (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
270
                                                         gdouble x,
 
271
                                                         gdouble y);</pre>
355
272
<p>
356
273
Scales the matrix by x and y</p>
357
274
<p>
361
278
<col align="left" valign="top">
362
279
<tbody>
363
280
<tr>
364
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
281
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
365
282
<td> The matrix that is to be scaled.
366
283
</td>
367
284
</tr>
368
285
<tr>
369
 
<td><p><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></p></td>
 
286
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
370
287
<td> X scale factor.
371
288
</td>
372
289
</tr>
373
290
<tr>
374
 
<td><p><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></p></td>
 
291
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
375
292
<td> Y scale factor.
376
293
</td>
377
294
</tr>
380
297
</div>
381
298
<hr>
382
299
<div class="refsect2" lang="en">
383
 
<a name="id2617794"></a><h3>
384
 
<a name="gimp-matrix3-rotate"></a>gimp_matrix3_rotate ()</h3>
385
 
<a class="indexterm" name="id2617804"></a><pre class="programlisting">void                gimp_matrix3_rotate                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
386
 
                                                         <a
387
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
388
 
>gdouble</a> theta);</pre>
 
300
<a name="gimp-matrix3-rotate"></a><h3>gimp_matrix3_rotate ()</h3>
 
301
<pre class="programlisting">void                gimp_matrix3_rotate                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
302
                                                         gdouble theta);</pre>
389
303
<p>
390
304
Rotates the matrix by theta degrees.</p>
391
305
<p>
395
309
<col align="left" valign="top">
396
310
<tbody>
397
311
<tr>
398
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
312
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
399
313
<td> The matrix that is to be rotated.
400
314
</td>
401
315
</tr>
402
316
<tr>
403
 
<td><p><span class="term"><em class="parameter"><code>theta</code></em>&#160;:</span></p></td>
 
317
<td><p><span class="term"><em class="parameter"><code>theta</code></em> :</span></p></td>
404
318
<td> The angle of rotation (in radians).
405
319
</td>
406
320
</tr>
409
323
</div>
410
324
<hr>
411
325
<div class="refsect2" lang="en">
412
 
<a name="id2617870"></a><h3>
413
 
<a name="gimp-matrix3-xshear"></a>gimp_matrix3_xshear ()</h3>
414
 
<a class="indexterm" name="id2617880"></a><pre class="programlisting">void                gimp_matrix3_xshear                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
415
 
                                                         <a
416
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
417
 
>gdouble</a> amount);</pre>
 
326
<a name="gimp-matrix3-xshear"></a><h3>gimp_matrix3_xshear ()</h3>
 
327
<pre class="programlisting">void                gimp_matrix3_xshear                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
328
                                                         gdouble amount);</pre>
418
329
<p>
419
330
Shears the matrix in the X direction.</p>
420
331
<p>
424
335
<col align="left" valign="top">
425
336
<tbody>
426
337
<tr>
427
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
338
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
428
339
<td> The matrix that is to be sheared.
429
340
</td>
430
341
</tr>
431
342
<tr>
432
 
<td><p><span class="term"><em class="parameter"><code>amount</code></em>&#160;:</span></p></td>
 
343
<td><p><span class="term"><em class="parameter"><code>amount</code></em> :</span></p></td>
433
344
<td> X shear amount.
434
345
</td>
435
346
</tr>
438
349
</div>
439
350
<hr>
440
351
<div class="refsect2" lang="en">
441
 
<a name="id2617945"></a><h3>
442
 
<a name="gimp-matrix3-yshear"></a>gimp_matrix3_yshear ()</h3>
443
 
<a class="indexterm" name="id2617955"></a><pre class="programlisting">void                gimp_matrix3_yshear                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
444
 
                                                         <a
445
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
446
 
>gdouble</a> amount);</pre>
 
352
<a name="gimp-matrix3-yshear"></a><h3>gimp_matrix3_yshear ()</h3>
 
353
<pre class="programlisting">void                gimp_matrix3_yshear                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
354
                                                         gdouble amount);</pre>
447
355
<p>
448
356
Shears the matrix in the Y direction.</p>
449
357
<p>
453
361
<col align="left" valign="top">
454
362
<tbody>
455
363
<tr>
456
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
364
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
457
365
<td> The matrix that is to be sheared.
458
366
</td>
459
367
</tr>
460
368
<tr>
461
 
<td><p><span class="term"><em class="parameter"><code>amount</code></em>&#160;:</span></p></td>
 
369
<td><p><span class="term"><em class="parameter"><code>amount</code></em> :</span></p></td>
462
370
<td> Y shear amount.
463
371
</td>
464
372
</tr>
467
375
</div>
468
376
<hr>
469
377
<div class="refsect2" lang="en">
470
 
<a name="id2618020"></a><h3>
471
 
<a name="gimp-matrix3-affine"></a>gimp_matrix3_affine ()</h3>
472
 
<a class="indexterm" name="id2618030"></a><pre class="programlisting">void                gimp_matrix3_affine                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
473
 
                                                         <a
474
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
475
 
>gdouble</a> a,
476
 
                                                         <a
477
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
478
 
>gdouble</a> b,
479
 
                                                         <a
480
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
481
 
>gdouble</a> c,
482
 
                                                         <a
483
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
484
 
>gdouble</a> d,
485
 
                                                         <a
486
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
487
 
>gdouble</a> e,
488
 
                                                         <a
489
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
490
 
>gdouble</a> f);</pre>
 
378
<a name="gimp-matrix3-affine"></a><h3>gimp_matrix3_affine ()</h3>
 
379
<pre class="programlisting">void                gimp_matrix3_affine                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
380
                                                         gdouble a,
 
381
                                                         gdouble b,
 
382
                                                         gdouble c,
 
383
                                                         gdouble d,
 
384
                                                         gdouble e,
 
385
                                                         gdouble f);</pre>
491
386
<p>
492
387
Applies the affine transformation given by six values to <em class="parameter"><code>matrix</code></em>.
493
388
The six values form define an affine transformation matrix as
504
399
<col align="left" valign="top">
505
400
<tbody>
506
401
<tr>
507
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
402
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
508
403
<td> The input matrix.
509
404
</td>
510
405
</tr>
511
406
<tr>
512
 
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
513
 
<td>
514
 
</td>
515
 
</tr>
516
 
<tr>
517
 
<td><p><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></p></td>
518
 
<td>
519
 
</td>
520
 
</tr>
521
 
<tr>
522
 
<td><p><span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></p></td>
523
 
<td>
524
 
</td>
525
 
</tr>
526
 
<tr>
527
 
<td><p><span class="term"><em class="parameter"><code>d</code></em>&#160;:</span></p></td>
528
 
<td>
529
 
</td>
530
 
</tr>
531
 
<tr>
532
 
<td><p><span class="term"><em class="parameter"><code>e</code></em>&#160;:</span></p></td>
533
 
<td>
534
 
</td>
535
 
</tr>
536
 
<tr>
537
 
<td><p><span class="term"><em class="parameter"><code>f</code></em>&#160;:</span></p></td>
 
407
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
 
408
<td>
 
409
</td>
 
410
</tr>
 
411
<tr>
 
412
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
 
413
<td>
 
414
</td>
 
415
</tr>
 
416
<tr>
 
417
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
 
418
<td>
 
419
</td>
 
420
</tr>
 
421
<tr>
 
422
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
 
423
<td>
 
424
</td>
 
425
</tr>
 
426
<tr>
 
427
<td><p><span class="term"><em class="parameter"><code>e</code></em> :</span></p></td>
 
428
<td>
 
429
</td>
 
430
</tr>
 
431
<tr>
 
432
<td><p><span class="term"><em class="parameter"><code>f</code></em> :</span></p></td>
538
433
<td>
539
434
</td>
540
435
</tr>
543
438
</div>
544
439
<hr>
545
440
<div class="refsect2" lang="en">
546
 
<a name="id2618200"></a><h3>
547
 
<a name="gimp-matrix3-transform-point"></a>gimp_matrix3_transform_point ()</h3>
548
 
<a class="indexterm" name="id2618212"></a><pre class="programlisting">void                gimp_matrix3_transform_point        (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
549
 
                                                         <a
550
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
551
 
>gdouble</a> x,
552
 
                                                         <a
553
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
554
 
>gdouble</a> y,
555
 
                                                         <a
556
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
557
 
>gdouble</a> *newx,
558
 
                                                         <a
559
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
560
 
>gdouble</a> *newy);</pre>
 
441
<a name="gimp-matrix3-transform-point"></a><h3>gimp_matrix3_transform_point ()</h3>
 
442
<pre class="programlisting">void                gimp_matrix3_transform_point        (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix,
 
443
                                                         gdouble x,
 
444
                                                         gdouble y,
 
445
                                                         gdouble *newx,
 
446
                                                         gdouble *newy);</pre>
561
447
<p>
562
448
Transforms a point in 2D as specified by the transformation matrix.</p>
563
449
<p>
567
453
<col align="left" valign="top">
568
454
<tbody>
569
455
<tr>
570
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
456
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
571
457
<td> The transformation matrix.
572
458
</td>
573
459
</tr>
574
460
<tr>
575
 
<td><p><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></p></td>
 
461
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
576
462
<td> The source X coordinate.
577
463
</td>
578
464
</tr>
579
465
<tr>
580
 
<td><p><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></p></td>
 
466
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
581
467
<td> The source Y coordinate.
582
468
</td>
583
469
</tr>
584
470
<tr>
585
 
<td><p><span class="term"><em class="parameter"><code>newx</code></em>&#160;:</span></p></td>
 
471
<td><p><span class="term"><em class="parameter"><code>newx</code></em> :</span></p></td>
586
472
<td> The transformed X coordinate.
587
473
</td>
588
474
</tr>
589
475
<tr>
590
 
<td><p><span class="term"><em class="parameter"><code>newy</code></em>&#160;:</span></p></td>
 
476
<td><p><span class="term"><em class="parameter"><code>newy</code></em> :</span></p></td>
591
477
<td> The transformed Y coordinate.
592
478
</td>
593
479
</tr>
596
482
</div>
597
483
<hr>
598
484
<div class="refsect2" lang="en">
599
 
<a name="id2618337"></a><h3>
600
 
<a name="gimp-matrix3-determinant"></a>gimp_matrix3_determinant ()</h3>
601
 
<a class="indexterm" name="id2618347"></a><pre class="programlisting"><a
602
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
603
 
>gdouble</a>             gimp_matrix3_determinant            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
 
485
<a name="gimp-matrix3-determinant"></a><h3>gimp_matrix3_determinant ()</h3>
 
486
<pre class="programlisting">gdouble             gimp_matrix3_determinant            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
604
487
<p>
605
488
Calculates the determinant of the given matrix.</p>
606
489
<p>
610
493
<col align="left" valign="top">
611
494
<tbody>
612
495
<tr>
613
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
496
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
614
497
<td> The input matrix.
615
498
</td>
616
499
</tr>
617
500
<tr>
618
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
501
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
619
502
<td> The determinant.
620
503
</td>
621
504
</tr>
624
507
</div>
625
508
<hr>
626
509
<div class="refsect2" lang="en">
627
 
<a name="id2618402"></a><h3>
628
 
<a name="gimp-matrix3-invert"></a>gimp_matrix3_invert ()</h3>
629
 
<a class="indexterm" name="id2618412"></a><pre class="programlisting">void                gimp_matrix3_invert                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
 
510
<a name="gimp-matrix3-invert"></a><h3>gimp_matrix3_invert ()</h3>
 
511
<pre class="programlisting">void                gimp_matrix3_invert                 (<a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
630
512
<p>
631
513
Inverts the given matrix.</p>
632
514
<p>
635
517
<div class="variablelist"><table border="0">
636
518
<col align="left" valign="top">
637
519
<tbody><tr>
638
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
520
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
639
521
<td> The matrix that is to be inverted.
640
522
</td>
641
523
</tr></tbody>
643
525
</div>
644
526
<hr>
645
527
<div class="refsect2" lang="en">
646
 
<a name="id2618457"></a><h3>
647
 
<a name="gimp-matrix3-is-identity"></a>gimp_matrix3_is_identity ()</h3>
648
 
<a class="indexterm" name="id2618467"></a><pre class="programlisting"><a
649
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
650
 
>gboolean</a>            gimp_matrix3_is_identity            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
 
528
<a name="gimp-matrix3-is-identity"></a><h3>gimp_matrix3_is_identity ()</h3>
 
529
<pre class="programlisting">gboolean            gimp_matrix3_is_identity            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
651
530
<p>
652
531
Checks if the given matrix is the identity matrix.</p>
653
532
<p>
657
536
<col align="left" valign="top">
658
537
<tbody>
659
538
<tr>
660
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
539
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
661
540
<td> The matrix that is to be tested.
662
541
</td>
663
542
</tr>
664
543
<tr>
665
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
666
 
<td> <a
667
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
668
 
><code class="literal">TRUE</code></a> if the matrix is the identity matrix, <a
669
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
670
 
><code class="literal">FALSE</code></a> otherwise
 
544
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
545
<td> <code class="literal">TRUE</code> if the matrix is the identity matrix, <code class="literal">FALSE</code> otherwise
671
546
</td>
672
547
</tr>
673
548
</tbody>
675
550
</div>
676
551
<hr>
677
552
<div class="refsect2" lang="en">
678
 
<a name="id2618540"></a><h3>
679
 
<a name="gimp-matrix3-is-diagonal"></a>gimp_matrix3_is_diagonal ()</h3>
680
 
<a class="indexterm" name="id2618550"></a><pre class="programlisting"><a
681
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
682
 
>gboolean</a>            gimp_matrix3_is_diagonal            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
 
553
<a name="gimp-matrix3-is-diagonal"></a><h3>gimp_matrix3_is_diagonal ()</h3>
 
554
<pre class="programlisting">gboolean            gimp_matrix3_is_diagonal            (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
683
555
<p>
684
556
Checks if the given matrix is diagonal.</p>
685
557
<p>
689
561
<col align="left" valign="top">
690
562
<tbody>
691
563
<tr>
692
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
564
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
693
565
<td> The matrix that is to be tested.
694
566
</td>
695
567
</tr>
696
568
<tr>
697
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
698
 
<td> <a
699
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
700
 
><code class="literal">TRUE</code></a> if the matrix is diagonal, <a
701
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
702
 
><code class="literal">FALSE</code></a> otherwise
 
569
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
570
<td> <code class="literal">TRUE</code> if the matrix is diagonal, <code class="literal">FALSE</code> otherwise
703
571
</td>
704
572
</tr>
705
573
</tbody>
707
575
</div>
708
576
<hr>
709
577
<div class="refsect2" lang="en">
710
 
<a name="id2618622"></a><h3>
711
 
<a name="gimp-matrix3-is-affine"></a>gimp_matrix3_is_affine ()</h3>
712
 
<a class="indexterm" name="id2618635"></a><pre class="programlisting"><a
713
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
714
 
>gboolean</a>            gimp_matrix3_is_affine              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
 
578
<a name="gimp-matrix3-is-affine"></a><h3>gimp_matrix3_is_affine ()</h3>
 
579
<pre class="programlisting">gboolean            gimp_matrix3_is_affine              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
715
580
<p>
716
581
Checks if the given matrix defines an affine transformation.</p>
717
582
<p>
721
586
<col align="left" valign="top">
722
587
<tbody>
723
588
<tr>
724
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
589
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
725
590
<td> The matrix that is to be tested.
726
591
</td>
727
592
</tr>
728
593
<tr>
729
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
730
 
<td> <a
731
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
732
 
><code class="literal">TRUE</code></a> if the matrix defines an affine transformation,
733
 
         <a
734
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
735
 
><code class="literal">FALSE</code></a> otherwise
 
594
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
595
<td> <code class="literal">TRUE</code> if the matrix defines an affine transformation,
 
596
         <code class="literal">FALSE</code> otherwise
736
597
 
737
598
</td>
738
599
</tr>
743
604
</div>
744
605
<hr>
745
606
<div class="refsect2" lang="en">
746
 
<a name="id2618714"></a><h3>
747
 
<a name="gimp-matrix3-is-simple"></a>gimp_matrix3_is_simple ()</h3>
748
 
<a class="indexterm" name="id2618724"></a><pre class="programlisting"><a
749
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
750
 
>gboolean</a>            gimp_matrix3_is_simple              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
 
607
<a name="gimp-matrix3-is-simple"></a><h3>gimp_matrix3_is_simple ()</h3>
 
608
<pre class="programlisting">gboolean            gimp_matrix3_is_simple              (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix3" title="GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
751
609
<p>
752
610
Checks if we'll need to interpolate when applying this matrix as
753
611
a transformation.</p>
758
616
<col align="left" valign="top">
759
617
<tbody>
760
618
<tr>
761
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
 
619
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
762
620
<td> The matrix that is to be tested.
763
621
</td>
764
622
</tr>
765
623
<tr>
766
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
767
 
<td> <a
768
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
769
 
><code class="literal">TRUE</code></a> if all entries of the upper left 2x2 matrix are
770
 
         either 0 or 1, <a
771
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
772
 
><code class="literal">FALSE</code></a> otherwise
 
624
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
625
<td> <code class="literal">TRUE</code> if all entries of the upper left 2x2 matrix are
 
626
         either 0 or 1, <code class="literal">FALSE</code> otherwise
773
627
</td>
774
628
</tr>
775
629
</tbody>
777
631
</div>
778
632
<hr>
779
633
<div class="refsect2" lang="en">
780
 
<a name="id2618798"></a><h3>
781
 
<a name="gimp-matrix4-to-deg"></a>gimp_matrix4_to_deg ()</h3>
782
 
<a class="indexterm" name="id2618808"></a><pre class="programlisting">void                gimp_matrix4_to_deg                 (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix4">GimpMatrix4</a> *matrix,
783
 
                                                         <a
784
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
785
 
>gdouble</a> *a,
786
 
                                                         <a
787
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
788
 
>gdouble</a> *b,
789
 
                                                         <a
790
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
791
 
>gdouble</a> *c);</pre>
 
634
<a name="gimp-matrix4-to-deg"></a><h3>gimp_matrix4_to_deg ()</h3>
 
635
<pre class="programlisting">void                gimp_matrix4_to_deg                 (const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix4" title="GimpMatrix4">GimpMatrix4</a> *matrix,
 
636
                                                         gdouble *a,
 
637
                                                         gdouble *b,
 
638
                                                         gdouble *c);</pre>
792
639
<p>
793
640
</p>
794
641
<p>
798
645
<col align="left" valign="top">
799
646
<tbody>
800
647
<tr>
801
 
<td><p><span class="term"><em class="parameter"><code>matrix</code></em>&#160;:</span></p></td>
802
 
<td>
803
 
</td>
804
 
</tr>
805
 
<tr>
806
 
<td><p><span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></p></td>
807
 
<td>
808
 
</td>
809
 
</tr>
810
 
<tr>
811
 
<td><p><span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></p></td>
812
 
<td>
813
 
</td>
814
 
</tr>
815
 
<tr>
816
 
<td><p><span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></p></td>
 
648
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
 
649
<td>
 
650
</td>
 
651
</tr>
 
652
<tr>
 
653
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
 
654
<td>
 
655
</td>
 
656
</tr>
 
657
<tr>
 
658
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
 
659
<td>
 
660
</td>
 
661
</tr>
 
662
<tr>
 
663
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
817
664
<td>
818
665
</td>
819
666
</tr>
822
669
</div>
823
670
<hr>
824
671
<div class="refsect2" lang="en">
825
 
<a name="id2618910"></a><h3>
826
 
<a name="GIMP-TYPE-MATRIX2:CAPS"></a>GIMP_TYPE_MATRIX2</h3>
827
 
<a class="indexterm" name="id2618920"></a><pre class="programlisting">#define GIMP_TYPE_MATRIX2               (gimp_matrix2_get_type ())
828
 
</pre>
829
 
<p>
830
 
 
831
 
</p>
832
 
</div>
833
 
<hr>
834
 
<div class="refsect2" lang="en">
835
 
<a name="id2618935"></a><h3>
836
 
<a name="GIMP-TYPE-PARAM-MATRIX2:CAPS"></a>GIMP_TYPE_PARAM_MATRIX2</h3>
837
 
<a class="indexterm" name="id2618947"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_MATRIX2            (gimp_param_matrix2_get_type ())
838
 
</pre>
839
 
<p>
840
 
 
841
 
</p>
842
 
</div>
843
 
<hr>
844
 
<div class="refsect2" lang="en">
845
 
<a name="id2618962"></a><h3>
846
 
<a name="GIMP-IS-PARAM-SPEC-MATRIX2:CAPS"></a>GIMP_IS_PARAM_SPEC_MATRIX2()</h3>
847
 
<a class="indexterm" name="id2618974"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MATRIX2(pspec)  (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MATRIX2))
 
672
<a name="GIMP-TYPE-MATRIX2:CAPS"></a><h3>GIMP_TYPE_MATRIX2</h3>
 
673
<pre class="programlisting">#define GIMP_TYPE_MATRIX2               (gimp_matrix2_get_type ())
 
674
</pre>
 
675
<p>
 
676
 
 
677
</p>
 
678
</div>
 
679
<hr>
 
680
<div class="refsect2" lang="en">
 
681
<a name="GIMP-TYPE-PARAM-MATRIX2:CAPS"></a><h3>GIMP_TYPE_PARAM_MATRIX2</h3>
 
682
<pre class="programlisting">#define GIMP_TYPE_PARAM_MATRIX2            (gimp_param_matrix2_get_type ())
 
683
</pre>
 
684
<p>
 
685
 
 
686
</p>
 
687
</div>
 
688
<hr>
 
689
<div class="refsect2" lang="en">
 
690
<a name="GIMP-IS-PARAM-SPEC-MATRIX2:CAPS"></a><h3>GIMP_IS_PARAM_SPEC_MATRIX2()</h3>
 
691
<pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MATRIX2(pspec)  (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MATRIX2))
848
692
</pre>
849
693
<p>
850
694
 
852
696
<div class="variablelist"><table border="0">
853
697
<col align="left" valign="top">
854
698
<tbody><tr>
855
 
<td><p><span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></p></td>
 
699
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
856
700
<td>
857
701
 
858
702
 
862
706
</div>
863
707
<hr>
864
708
<div class="refsect2" lang="en">
865
 
<a name="id2619006"></a><h3>
866
 
<a name="gimp-param-spec-matrix2"></a>gimp_param_spec_matrix2 ()</h3>
867
 
<a class="indexterm" name="id2619019"></a><pre class="programlisting"><a
868
 
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
869
 
>GParamSpec</a>*         gimp_param_spec_matrix2             (const <a
870
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
871
 
>gchar</a> *name,
872
 
                                                         const <a
873
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
874
 
>gchar</a> *nick,
875
 
                                                         const <a
876
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
877
 
>gchar</a> *blurb,
878
 
                                                         const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *default_value,
879
 
                                                         <a
880
 
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
881
 
>GParamFlags</a> flags);</pre>
 
709
<a name="gimp-param-spec-matrix2"></a><h3>gimp_param_spec_matrix2 ()</h3>
 
710
<pre class="programlisting">GParamSpec*         gimp_param_spec_matrix2             (const gchar *name,
 
711
                                                         const gchar *nick,
 
712
                                                         const gchar *blurb,
 
713
                                                         const <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2">GimpMatrix2</a> *default_value,
 
714
                                                         GParamFlags flags);</pre>
882
715
<p>
883
 
Creates a param spec to hold a <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2"><span class="type">GimpMatrix2</span></a> value.
884
 
See <a
885
 
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#g-param-spec-internal"
886
 
><code class="function">g_param_spec_internal()</code></a> for more information.</p>
 
716
Creates a param spec to hold a <a class="link" href="libgimpmath-GimpMatrix.html#GimpMatrix2" title="GimpMatrix2"><span class="type">GimpMatrix2</span></a> value.
 
717
See <code class="function">g_param_spec_internal()</code> for more information.</p>
887
718
<p>
888
719
 
889
720
</p>
891
722
<col align="left" valign="top">
892
723
<tbody>
893
724
<tr>
894
 
<td><p><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></p></td>
 
725
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
895
726
<td>          Canonical name of the param
896
727
</td>
897
728
</tr>
898
729
<tr>
899
 
<td><p><span class="term"><em class="parameter"><code>nick</code></em>&#160;:</span></p></td>
 
730
<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td>
900
731
<td>          Nickname of the param
901
732
</td>
902
733
</tr>
903
734
<tr>
904
 
<td><p><span class="term"><em class="parameter"><code>blurb</code></em>&#160;:</span></p></td>
 
735
<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td>
905
736
<td>         Brief desciption of param.
906
737
</td>
907
738
</tr>
908
739
<tr>
909
 
<td><p><span class="term"><em class="parameter"><code>default_value</code></em>&#160;:</span></p></td>
 
740
<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td>
910
741
<td> Value to use if none is assigned.
911
742
</td>
912
743
</tr>
913
744
<tr>
914
 
<td><p><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></p></td>
915
 
<td>         a combination of <a
916
 
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
917
 
><span class="type">GParamFlags</span></a>
 
745
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
 
746
<td>         a combination of <span class="type">GParamFlags</span>
918
747
</td>
919
748
</tr>
920
749
<tr>
921
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
922
 
<td> a newly allocated <a
923
 
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
924
 
><span class="type">GParamSpec</span></a> instance
 
750
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
751
<td> a newly allocated <span class="type">GParamSpec</span> instance
925
752
 
926
753
</td>
927
754
</tr>
932
759
</div>
933
760
<hr>
934
761
<div class="refsect2" lang="en">
935
 
<a name="id2619186"></a><h3>
936
 
<a name="GIMP-VALUE-HOLDS-MATRIX2:CAPS"></a>GIMP_VALUE_HOLDS_MATRIX2()</h3>
937
 
<a class="indexterm" name="id2619198"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MATRIX2(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MATRIX2))
 
762
<a name="GIMP-VALUE-HOLDS-MATRIX2:CAPS"></a><h3>GIMP_VALUE_HOLDS_MATRIX2()</h3>
 
763
<pre class="programlisting">#define GIMP_VALUE_HOLDS_MATRIX2(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MATRIX2))
938
764
</pre>
939
765
<p>
940
766
 
942
768
<div class="variablelist"><table border="0">
943
769
<col align="left" valign="top">
944
770
<tbody><tr>
945
 
<td><p><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></p></td>
 
771
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
946
772
<td>
947
773
 
948
774
 
952
778
</div>
953
779
</div>
954
780
<div class="refsect1" lang="en">
955
 
<a name="id2619231"></a><h2>See Also</h2>
956
 
<p>
957
 
<a class="link" href="libgimpmath-GimpVector.html#GimpVector2"><span class="type">GimpVector2</span></a>
958
 
</p>
959
 
<p>
960
 
<a class="link" href="libgimpmath-GimpVector.html#GimpVector3"><span class="type">GimpVector3</span></a>
961
 
</p>
962
 
<p>
963
 
<a class="link" href="libgimpmath-GimpVector.html#GimpVector4"><span class="type">GimpVector4</span></a>
964
 
</p>
965
 
</div>
966
 
<div class="refsect1" lang="en">
967
 
<a name="id2619266"></a><div class="refsect2" lang="en"><a name="id2619267"></a></div>
 
781
<a name="libgimpmath-GimpMatrix.see-also"></a><h2>See Also</h2>
 
782
<p>
 
783
<a class="link" href="libgimpmath-GimpVector.html#GimpVector2" title="GimpVector2"><span class="type">GimpVector2</span></a>
 
784
</p>
 
785
<p>
 
786
<a class="link" href="libgimpmath-GimpVector.html#GimpVector3" title="GimpVector3"><span class="type">GimpVector3</span></a>
 
787
</p>
 
788
<p>
 
789
<a class="link" href="libgimpmath-GimpVector.html#GimpVector4" title="GimpVector4"><span class="type">GimpVector4</span></a>
 
790
</p>
 
791
</div>
 
792
</div>
 
793
<div class="footer">
968
794
<hr>
969
 
<div class="refsect2" lang="en"><a name="id2619268"></a></div>
970
 
</div>
971
 
</div>
 
795
          Generated by GTK-Doc V1.10</div>
972
796
</body>
973
797
</html>