Lines Matching refs:href
10 class <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> {
12 …a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeScale'>MakeScale</a>(<a h…
13 …static <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeScale'>MakeScale<…
14 …a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeTrans'>MakeTrans</a>(<a h…
15 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeAll'>MakeAll</a>(<a href='u…
16 …<a href='undocumented#SkScalar'>SkScalar</a> skewY, <a href='undocumented#SkScalar'>SkScalar</a> s…
17 …<a href='undocumented#SkScalar'>SkScalar</a> pers0, <a href='undocumented#SkScalar'>SkScalar</a> p…
19 enum <a href='#SkMatrix_TypeMask'>TypeMask</a> {
20 <a href='#SkMatrix_kIdentity_Mask'>kIdentity_Mask</a> = 0,
21 <a href='#SkMatrix_kTranslate_Mask'>kTranslate_Mask</a> = 0x01,
22 <a href='#SkMatrix_kScale_Mask'>kScale_Mask</a> = 0x02,
23 <a href='#SkMatrix_kAffine_Mask'>kAffine_Mask</a> = 0x04,
24 <a href='#SkMatrix_kPerspective_Mask'>kPerspective_Mask</a> = 0x08,
27 <a href='#SkMatrix_TypeMask'>TypeMask</a> <a href='#SkMatrix_getType'>getType</a>() const;
28 bool <a href='#SkMatrix_isIdentity'>isIdentity</a>() const;
29 bool <a href='#SkMatrix_isScaleTranslate'>isScaleTranslate</a>() const;
30 bool <a href='#SkMatrix_isTranslate'>isTranslate</a>() const;
31 bool <a href='#SkMatrix_rectStaysRect'>rectStaysRect</a>() const;
32 bool <a href='#SkMatrix_preservesAxisAlignment'>preservesAxisAlignment</a>() const;
33 bool <a href='#SkMatrix_hasPerspective'>hasPerspective</a>() const;
34 …bool <a href='#SkMatrix_isSimilarity'>isSimilarity</a>(<a href='undocumented#SkScalar'>SkScalar</a…
35 …bool <a href='#SkMatrix_preservesRightAngles'>preservesRightAngles</a>(<a href='undocumented#SkSca…
37 …href='#SkMatrix_kMScaleX'>kMScaleX</a> = 0 static constexpr int <a href='#SkMatrix_kMSkewX'>kMS…
38 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_array_operator'>operator[]</a>(int…
39 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_get'>get</a>(int index) const;
40 … <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getScaleX'>getScaleX</a>() const;
41 … <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getScaleY'>getScaleY</a>() const;
42 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getSkewY'>getSkewY</a>() const;
43 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getSkewX'>getSkewX</a>() const;
44 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getTranslateX'>getTranslateX</a>()…
45 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getTranslateY'>getTranslateY</a>()…
46 … <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getPerspX'>getPerspX</a>() const;
47 … <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getPerspY'>getPerspY</a>() const;
48 …<a href='undocumented#SkScalar'>SkScalar</a>& <a href='#SkMatrix_array1_operator'>operator[]</a>(i…
49 …void <a href='#SkMatrix_set'>set</a>(int index, <a href='undocumented#SkScalar'>SkScalar</a> value…
50 … void <a href='#SkMatrix_setScaleX'>setScaleX</a>(<a href='undocumented#SkScalar'>SkScalar</a> v);
51 … void <a href='#SkMatrix_setScaleY'>setScaleY</a>(<a href='undocumented#SkScalar'>SkScalar</a> v);
52 void <a href='#SkMatrix_setSkewY'>setSkewY</a>(<a href='undocumented#SkScalar'>SkScalar</a> v);
53 void <a href='#SkMatrix_setSkewX'>setSkewX</a>(<a href='undocumented#SkScalar'>SkScalar</a> v);
54 …void <a href='#SkMatrix_setTranslateX'>setTranslateX</a>(<a href='undocumented#SkScalar'>SkScalar<…
55 …void <a href='#SkMatrix_setTranslateY'>setTranslateY</a>(<a href='undocumented#SkScalar'>SkScalar<…
56 … void <a href='#SkMatrix_setPerspX'>setPerspX</a>(<a href='undocumented#SkScalar'>SkScalar</a> v);
57 … void <a href='#SkMatrix_setPerspY'>setPerspY</a>(<a href='undocumented#SkScalar'>SkScalar</a> v);
58 …<a href='#SkMatrix_setAll'>setAll</a>(<a href='undocumented#SkScalar'>SkScalar</a> scaleX, <a href…
59 …<a href='undocumented#SkScalar'>SkScalar</a> skewY, <a href='undocumented#SkScalar'>SkScalar</a> s…
60 …<a href='undocumented#SkScalar'>SkScalar</a> persp0, <a href='undocumented#SkScalar'>SkScalar</a> …
61 …void <a href='#SkMatrix_get9'>get9</a>(<a href='undocumented#SkScalar'>SkScalar</a> buffer[9]) con…
62 …void <a href='#SkMatrix_set9'>set9</a>(const <a href='undocumented#SkScalar'>SkScalar</a> buffer[9…
63 void <a href='#SkMatrix_reset'>reset()</a>;
64 void <a href='#SkMatrix_setIdentity'>setIdentity</a>();
65 …void <a href='#SkMatrix_setTranslate'>setTranslate</a>(<a href='undocumented#SkScalar'>SkScalar</a…
66 …void <a href='#SkMatrix_setTranslate'>setTranslate</a>(const <a href='SkPoint_Reference#SkVector'>…
67 …href='#SkMatrix_setScale'>setScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a href='u…
68 …void <a href='#SkMatrix_setScale'>setScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a…
69 … href='#SkMatrix_setRotate'>setRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degrees, <a…
70 …void <a href='#SkMatrix_setRotate'>setRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degr…
71 …void <a href='#SkMatrix_setSinCos'>setSinCos</a>(<a href='undocumented#SkScalar'>SkScalar</a> sinV…
72 … <a href='undocumented#SkScalar'>SkScalar</a> px, <a href='undocumented#SkScalar'>SkScalar</a> py);
73 …void <a href='#SkMatrix_setSinCos'>setSinCos</a>(<a href='undocumented#SkScalar'>SkScalar</a> sinV…
74 …<a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>& <a href='#SkMatrix_setRSXform'>setRSXform</a>(…
75 …href='#SkMatrix_setSkew'>setSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a href='und…
76 …void <a href='#SkMatrix_setSkew'>setSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a h…
77 …void <a href='#SkMatrix_setConcat'>setConcat</a>(const <a href='SkMatrix_Reference#SkMatrix'>SkMat…
78 …void <a href='#SkMatrix_preTranslate'>preTranslate</a>(<a href='undocumented#SkScalar'>SkScalar</a…
79 …href='#SkMatrix_preScale'>preScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a href='u…
80 …void <a href='#SkMatrix_preScale'>preScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a…
81 … href='#SkMatrix_preRotate'>preRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degrees, <a…
82 …void <a href='#SkMatrix_preRotate'>preRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degr…
83 …href='#SkMatrix_preSkew'>preSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a href='und…
84 …void <a href='#SkMatrix_preSkew'>preSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a h…
85 …void <a href='#SkMatrix_preConcat'>preConcat</a>(const <a href='SkMatrix_Reference#SkMatrix'>SkMat…
86 …void <a href='#SkMatrix_postTranslate'>postTranslate</a>(<a href='undocumented#SkScalar'>SkScalar<…
87 …href='#SkMatrix_postScale'>postScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a href=…
88 …void <a href='#SkMatrix_postScale'>postScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, …
89 bool <a href='#SkMatrix_postIDiv'>postIDiv</a>(int divx, int divy);
90 …href='#SkMatrix_postRotate'>postRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degrees, <…
91 …void <a href='#SkMatrix_postRotate'>postRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> de…
92 …href='#SkMatrix_postSkew'>postSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a href='u…
93 …void <a href='#SkMatrix_postSkew'>postSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a…
94 …void <a href='#SkMatrix_postConcat'>postConcat</a>(const <a href='SkMatrix_Reference#SkMatrix'>SkM…
96 enum <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> {
97 <a href='#SkMatrix_kFill_ScaleToFit'>kFill_ScaleToFit</a>,
98 <a href='#SkMatrix_kStart_ScaleToFit'>kStart_ScaleToFit</a>,
99 <a href='#SkMatrix_kCenter_ScaleToFit'>kCenter_ScaleToFit</a>,
100 <a href='#SkMatrix_kEnd_ScaleToFit'>kEnd_ScaleToFit</a>,
103 …href='#SkMatrix_setRectToRect'>setRectToRect</a>(const <a href='SkRect_Reference#SkRect'>SkRect</a…
104 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeRectToRect'>MakeRectToRect<…
105 …bool <a href='#SkMatrix_setPolyToPoly'>setPolyToPoly</a>(const <a href='SkPoint_Reference#SkPoint'…
106 …bool <a href='#SkMatrix_invert'>invert</a>(<a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* inv…
107 …static void <a href='#SkMatrix_SetAffineIdentity'>SetAffineIdentity</a>(<a href='undocumented#SkSc…
108 …bool <a href='#SkMatrix_asAffine'>asAffine</a>(<a href='undocumented#SkScalar'>SkScalar</a> affine…
109 …void <a href='#SkMatrix_setAffine'>setAffine</a>(const <a href='undocumented#SkScalar'>SkScalar</a…
110 …void <a href='#SkMatrix_mapPoints'>mapPoints</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> d…
111 …void <a href='#SkMatrix_mapPoints'>mapPoints</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> p…
112 …void <a href='#SkMatrix_mapHomogeneousPoints'>mapHomogeneousPoints</a>(<a href='undocumented#SkPoi…
113 …void <a href='#SkMatrix_mapXY'>mapXY</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='…
114 …<a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='#SkMatrix_mapXY'>mapXY</a>(<a href='undoc…
115 …void <a href='#SkMatrix_mapVectors'>mapVectors</a>(<a href='SkPoint_Reference#SkVector'>SkVector</…
116 …void <a href='#SkMatrix_mapVectors'>mapVectors</a>(<a href='SkPoint_Reference#SkVector'>SkVector</…
117 …<a href='#SkMatrix_mapVector'>mapVector</a>(<a href='undocumented#SkScalar'>SkScalar</a> dx, <a hr…
118 …<a href='SkPoint_Reference#SkVector'>SkVector</a> <a href='#SkMatrix_mapVector'>mapVector</a>(<a h…
119 …bool <a href='#SkMatrix_mapRect'>mapRect</a>(<a href='SkRect_Reference#SkRect'>SkRect</a>* dst, co…
120 …bool <a href='#SkMatrix_mapRect'>mapRect</a>(<a href='SkRect_Reference#SkRect'>SkRect</a>* <a href…
121 …<a href='SkRect_Reference#SkRect'>SkRect</a> <a href='#SkMatrix_mapRect'>mapRect</a>(const <a href…
122 …href='#SkMatrix_mapRectToQuad'>mapRectToQuad</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> d…
123 …void <a href='#SkMatrix_mapRectScaleTranslate'>mapRectScaleTranslate</a>(<a href='SkRect_Reference…
124 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_mapRadius'>mapRadius</a>(<a href='…
125 bool <a href='#SkMatrix_isFixedStepInX'>isFixedStepInX</a>() const;
126 …<a href='SkPoint_Reference#SkVector'>SkVector</a> <a href='#SkMatrix_fixedStepInX'>fixedStepInX</a…
127 …bool <a href='#SkMatrix_cheapEqualTo'>cheapEqualTo</a>(const <a href='SkMatrix_Reference#SkMatrix'…
128 …friend bool <a href='#SkMatrix_equal_operator'>operator==</a>(const <a href='SkMatrix_Reference#Sk…
129 …riend bool <a href='#SkMatrix_notequal_operator'>operator!=</a>(const <a href='SkMatrix_Reference#…
130 void <a href='#SkMatrix_dump'>dump()</a> const;
131 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getMinScale'>getMinScale</a>() con…
132 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getMaxScale'>getMaxScale</a>() con…
133 …bool <a href='#SkMatrix_getMinMaxScales'>getMinMaxScales</a>(<a href='undocumented#SkScalar'>SkSca…
134 …bool <a href='#SkMatrix_decomposeScale'>decomposeScale</a>(<a href='undocumented#SkSize'>SkSize</a…
135 static const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>& <a href='#SkMatrix_I'>I</a>();
136 …static const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>& <a href='#SkMatrix_InvalidMatrix'…
137 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_Concat'>Concat</a>(const <a hre…
138 void <a href='#SkMatrix_dirtyMatrixTypeCache'>dirtyMatrixTypeCache</a>();
139 …href='#SkMatrix_setScaleTranslate'>setScaleTranslate</a>(<a href='undocumented#SkScalar'>SkScalar<…
140 bool <a href='#SkMatrix_isFinite'>isFinite</a>() const;
145 <a href='SkMatrix_Reference#Matrix'>Matrix</a> holds a 3 by 3 <a href='SkMatrix_Reference#Matrix'>m…
146 <a href='SkPoint_Reference#Point'>Points</a> and <a href='SkPoint_Reference#Vector'>Vectors</a> wit…
149 <a href='SkMatrix_Reference#Matrix'>Matrix</a> elements are in row major order. <a href='SkMatrix_R…
150 so it must be explicitly initialized. <a href='#SkMatrix_setIdentity'>setIdentity</a> initializes <…
151 …href='#SkMatrix_setTranslate'>setTranslate</a>, <a href='#SkMatrix_setScale'>setScale</a>, <a href…
152 initializes all <a href='SkMatrix_Reference#Matrix'>Matrix</a> elements with the corresponding mapp…
154 <a href='SkMatrix_Reference#Matrix'>Matrix</a> includes a hidden variable that classifies the type …
155 improve performance. <a href='SkMatrix_Reference#Matrix'>Matrix</a> is not thread safe unless <a hr…
162 …a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeScale'>MakeScale</a>(<a h…
165 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to scale by (<a href='#SkMatrix_MakeScale_sx'>sx</…
167 | <a href='#SkMatrix_MakeScale_sx'>sx</a> 0 0 |
168 | 0 <a href='#SkMatrix_MakeScale_sy'>sy</a> 0 |
183 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> with scale
191 <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMatrix_postScale'>postScale</a> <a href='#SkM…
198 static <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeScale'>MakeScale</…
201 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='#SkMatrix_MakeScale_2_scale'>scale</a>…
203 | <a href='#SkMatrix_MakeScale_2_scale'>scale</a> 0 0 |
204 | 0 <a href='#SkMatrix_MakeScale_2_scale'>scale</a> 0 |
210 <td>horizontal and vertical <a href='#SkMatrix_MakeScale_2_scale'>scale</a> factor</td>
216 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> with <a href='#SkMatrix_MakeScale_2_scale'>scale…
224 <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMatrix_postScale'>postScale</a> <a href='#SkM…
231 …a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeTrans'>MakeTrans</a>(<a h…
234 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to translate by (<a href='#SkMatrix_MakeTrans_dx'>…
236 | 1 0 <a href='#SkMatrix_MakeTrans_dx'>dx</a> |
237 | 0 1 <a href='#SkMatrix_MakeTrans_dy'>dy</a> |
252 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> with translation
260 <a href='#SkMatrix_setTranslate'>setTranslate</a> <a href='#SkMatrix_postTranslate'>postTranslate</…
267 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeAll'>MakeAll</a>(<a href='u…
268 …href='undocumented#SkScalar'>SkScalar</a> scaleY, <a href='undocumented#SkScalar'>SkScalar</a> tra…
269 <a href='undocumented#SkScalar'>SkScalar</a> pers2)
272 Sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
274 | <a href='#SkMatrix_MakeAll_scaleX'>scaleX</a> <a href='#SkMatrix_MakeAll_skewX'>skewX</a> <a hre…
275 | <a href='#SkMatrix_MakeAll_skewY'>skewY</a> <a href='#SkMatrix_MakeAll_scaleY'>scaleY</a> <a hre…
276 | <a href='#SkMatrix_MakeAll_pers0'>pers0</a> <a href='#SkMatrix_MakeAll_pers1'>pers1</a> <a hre…
311 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> constructed from parameters
319 <a href='#SkMatrix_setAll'>setAll</a> <a href='#SkMatrix_set9'>set9</a> <a href='#SkMatrix_postConc…
326 enum <a href='#SkMatrix_TypeMask'>TypeMask</a> {
327 <a href='#SkMatrix_kIdentity_Mask'>kIdentity_Mask</a> = 0,
328 <a href='#SkMatrix_kTranslate_Mask'>kTranslate_Mask</a> = 0x01,
329 <a href='#SkMatrix_kScale_Mask'>kScale_Mask</a> = 0x02,
330 <a href='#SkMatrix_kAffine_Mask'>kAffine_Mask</a> = 0x04,
331 <a href='#SkMatrix_kPerspective_Mask'>kPerspective_Mask</a> = 0x08,
336 Enumeration of bit fields for mask returned by <a href='#SkMatrix_getType'>getType</a>.
337 Used to identify the complexity of <a href='SkMatrix_Reference#Matrix'>Matrix</a>, to optimize perf…
349 all bits clear if <a href='SkMatrix_Reference#Matrix'>Matrix</a> is identity
356 set if <a href='SkMatrix_Reference#Matrix'>Matrix</a> has translation
363 set if <a href='SkMatrix_Reference#Matrix'>Matrix</a> scales x-axis or y-axis
370 set if <a href='SkMatrix_Reference#Matrix'>Matrix</a> skews or rotates
377 set if <a href='SkMatrix_Reference#Matrix'>Matrix</a> has perspective
400 <a href='#SkMatrix_getType'>getType</a>
409 <a href='#SkMatrix_TypeMask'>TypeMask</a> <a href='#SkMatrix_getType'>getType</a>()const
412 Returns a bit field describing the transformations the <a href='SkMatrix_Reference#Matrix'>matrix</…
414 false positives. For example, when <a href='#SkMatrix_kPerspective_Mask'>kPerspective_Mask</a> is s…
419 <a href='#SkMatrix_kIdentity_Mask'>kIdentity_Mask</a>, or combinations of: <a href='#SkMatrix_kTran…
421 <a href='#SkMatrix_kAffine_Mask'>kAffine_Mask</a>, <a href='#SkMatrix_kPerspective_Mask'>kPerspecti…
438 <a href='#SkMatrix_TypeMask'>TypeMask</a>
445 bool <a href='#SkMatrix_isIdentity'>isIdentity</a>()const
448 Returns true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> is identity. Identity <a href='…
456 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> has no effect
473 <a href='#SkMatrix_reset'>reset()</a> <a href='#SkMatrix_setIdentity'>setIdentity</a> <a href='#SkM…
480 bool <a href='#SkMatrix_isScaleTranslate'>isScaleTranslate</a>()const
483 Returns true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> at most scales and translates. <…
484 contain only scale elements, only translate elements, or both. <a href='SkMatrix_Reference#SkMatrix…
492 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> is identity; or scales, translates, or b…
511 <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMatrix_isTranslate'>isTranslate</a> <a href='…
518 bool <a href='#SkMatrix_isTranslate'>isTranslate</a>()const
521 Returns true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> is identity, or translates. <a h…
529 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> is identity, or translates
548 <a href='#SkMatrix_setTranslate'>setTranslate</a> <a href='#SkMatrix_getType'>getType</a>
555 bool <a href='#SkMatrix_rectStaysRect'>rectStaysRect</a>()const
558 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> maps <a href='SkRect_Reference#SkRect'>SkRect</a> …
560 cases, <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> may also have translation. <a href='SkMat…
574 Also called <a href='#SkMatrix_preservesAxisAlignment'>preservesAxisAlignment</a>(); use the one th…
579 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> maps one <a href='SkRect_Reference#SkRec…
598 <a href='#SkMatrix_preservesAxisAlignment'>preservesAxisAlignment</a> <a href='#SkMatrix_preservesR…
605 bool <a href='#SkMatrix_preservesAxisAlignment'>preservesAxisAlignment</a>()const
608 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> maps <a href='SkRect_Reference#SkRect'>SkRect</a> …
610 cases, <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> may also have translation. <a href='SkMat…
624 Also called <a href='#SkMatrix_rectStaysRect'>rectStaysRect</a>(); use the one that provides better…
629 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> maps one <a href='SkRect_Reference#SkRec…
648 <a href='#SkMatrix_rectStaysRect'>rectStaysRect</a> <a href='#SkMatrix_preservesRightAngles'>preser…
655 bool <a href='#SkMatrix_hasPerspective'>hasPerspective</a>()const
658 Returns true if the <a href='SkMatrix_Reference#Matrix'>matrix</a> contains perspective elements. <…
669 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> is in most general form
677 <a href='#SkMatrix_setAll'>setAll</a> <a href='#SkMatrix_set9'>set9</a> <a href='#SkMatrix_MakeAll'…
684 bool <a href='#SkMatrix_isSimilarity'>isSimilarity</a>(<a href='undocumented#SkScalar'>SkScalar</a>…
687 Returns true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contains only translation, rotat…
689 Returns false if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contains different scales, skew…
690 degenerate forms that collapse to a <a href='undocumented#Line'>line</a> or <a href='SkPoint_Refere…
692 Describes that the <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> makes rendering with and with…
693 visually alike; a transformed <a href='undocumented#Circle'>circle</a> remains a <a href='undocumen…
694 referred to as similarity of a <a href='undocumented#Euclidean_Space'>Euclidean space</a>, or a si…
707 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> only rotates, uniformly scales, translat…
711 <div><fiddle-embed name="8b37f4ae7fec1756433c0f984175fb14"><div><a href='undocumented#String'>Strin…
712 with <a href='#SkMatrix_isSimilarity'>isSimilarity</a> false reveals the pair not visible through t…
717 …href='#SkMatrix_isScaleTranslate'>isScaleTranslate</a> <a href='#SkMatrix_preservesRightAngles'>pr…
724 bool <a href='#SkMatrix_preservesRightAngles'>preservesRightAngles</a>(<a href='undocumented#SkScal…
727 Returns true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contains only translation, rotat…
729 Returns false if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> skewing, perspective, or degene…
730 to a <a href='undocumented#Line'>line</a> or <a href='SkPoint_Reference#Point'>point</a>.
744 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> only rotates, scales, translates
755 …href='#SkMatrix_isScaleTranslate'>isScaleTranslate</a> <a href='#SkMatrix_isSimilarity'>isSimilari…
762 static constexpr int <a href='#SkMatrix_kMScaleX'>kMScaleX</a> = 0;
763 static constexpr int <a href='#SkMatrix_kMSkewX'>kMSkewX</a> = 1;
764 static constexpr int <a href='#SkMatrix_kMTransX'>kMTransX</a> = 2;
765 static constexpr int <a href='#SkMatrix_kMSkewY'>kMSkewY</a> = 3;
766 static constexpr int <a href='#SkMatrix_kMScaleY'>kMScaleY</a> = 4;
767 static constexpr int <a href='#SkMatrix_kMTransY'>kMTransY</a> = 5;
768 static constexpr int <a href='#SkMatrix_kMPersp0'>kMPersp0</a> = 6;
769 static constexpr int <a href='#SkMatrix_kMPersp1'>kMPersp1</a> = 7;
770 static constexpr int <a href='#SkMatrix_kMPersp2'>kMPersp2</a> = 8;
773 <a href='SkMatrix_Reference#Matrix'>Matrix</a> organizes its values in row order. These members cor…
774 each value in <a href='SkMatrix_Reference#Matrix'>Matrix</a>.
844 <a href='#SkMatrix_get'>get()</a> <a href='#SkMatrix_set'>set()</a>
853 Affine arrays are in column major order to match the <a href='SkMatrix_Reference#Matrix'>matrix</a>…
902 <a href='#SkMatrix_SetAffineIdentity'>SetAffineIdentity</a> <a href='#SkMatrix_asAffine'>asAffine</…
909 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_array1_operator'>operator[]</a>(int…
927 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_set'>set</a>
934 <a href='undocumented#SkScalar'>SkScalar</a> get(int index)const
937 Returns one <a href='SkMatrix_Reference#Matrix'>matrix</a> value. Asserts if <a href='#SkMatrix_get…
943 …href='#SkMatrix_kMScaleX'>kMScaleX</a>, <a href='#SkMatrix_kMSkewX'>kMSkewX</a>, <a href='#SkMatri…
947 <a href='#SkMatrix_kMPersp0'>kMPersp0</a>, <a href='#SkMatrix_kMPersp1'>kMPersp1</a>, <a href='#SkM…
951 value corresponding to <a href='#SkMatrix_get_index'>index</a>
968 <a href='#SkMatrix_array1_operator'>operator[]</a>(int <a href='#SkMatrix_get_index'>index</a>) <a …
975 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getScaleX'>getScaleX</a>()const
979 With <a href='#SkMatrix_mapPoints'>mapPoints</a>(), scales <a href='SkPoint_Reference#SkPoint'>SkPo…
999 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_getScaleY'>getScaleY</a> <a href='#SkMatrix_setS…
1006 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getScaleY'>getScaleY</a>()const
1010 With <a href='#SkMatrix_mapPoints'>mapPoints</a>(), scales <a href='SkPoint_Reference#SkPoint'>SkPo…
1030 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_getScaleX'>getScaleX</a> <a href='#SkMatrix_setS…
1037 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getSkewY'>getSkewY</a>()const
1041 With <a href='#SkMatrix_mapPoints'>mapPoints</a>(), skews <a href='SkPoint_Reference#SkPoint'>SkPoi…
1042 Skewing both axes can rotate <a href='SkPoint_Reference#SkPoint'>SkPoint</a>.
1062 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_getSkewX'>getSkewX</a> <a href='#SkMatrix_setSke…
1069 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getSkewX'>getSkewX</a>()const
1073 With <a href='#SkMatrix_mapPoints'>mapPoints</a>(), skews <a href='SkPoint_Reference#SkPoint'>SkPoi…
1074 Skewing both axes can rotate <a href='SkPoint_Reference#SkPoint'>SkPoint</a>.
1094 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_getSkewY'>getSkewY</a> <a href='#SkMatrix_setSke…
1101 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getTranslateX'>getTranslateX</a>()c…
1105 With <a href='#SkMatrix_mapPoints'>mapPoints</a>(), moves <a href='SkPoint_Reference#SkPoint'>SkPoi…
1125 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_getTranslateY'>getTranslateY</a> <a href='#SkMat…
1132 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getTranslateY'>getTranslateY</a>()c…
1136 With <a href='#SkMatrix_mapPoints'>mapPoints</a>(), moves <a href='SkPoint_Reference#SkPoint'>SkPoi…
1156 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_getTranslateX'>getTranslateX</a> <a href='#SkMat…
1163 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getPerspX'>getPerspX</a>()const
1178 <a href='#SkMatrix_kMPersp0'>kMPersp0</a> <a href='#SkMatrix_getPerspY'>getPerspY</a>
1185 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getPerspY'>getPerspY</a>()const
1200 <a href='#SkMatrix_kMPersp1'>kMPersp1</a> <a href='#SkMatrix_getPerspX'>getPerspX</a>
1207 <a href='undocumented#SkScalar'>SkScalar</a>& <a href='#SkMatrix_array1_operator'>operator[]</a>(in…
1227 <a href='#SkMatrix_get'>get</a> <a href='#SkMatrix_dirtyMatrixTypeCache'>dirtyMatrixTypeCache</a> <…
1236 void set(int index, <a href='undocumented#SkScalar'>SkScalar</a> value)
1239 Sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_set_value'>value</a>. As…
1245 …href='#SkMatrix_kMScaleX'>kMScaleX</a>, <a href='#SkMatrix_kMSkewX'>kMSkewX</a>, <a href='#SkMatri…
1249 <a href='#SkMatrix_kMPersp0'>kMPersp0</a>, <a href='#SkMatrix_kMPersp1'>kMPersp1</a>, <a href='#SkM…
1254 …<td><a href='undocumented#Scalar'>scalar</a> to store in <a href='SkMatrix_Reference#SkMatrix'>SkM…
1274 operator[] <a href='#SkMatrix_get'>get</a>
1281 void <a href='#SkMatrix_setScaleX'>setScaleX</a>(<a href='undocumented#SkScalar'>SkScalar</a> v)
1299 <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMatrix_setSca…
1306 void <a href='#SkMatrix_setScaleY'>setScaleY</a>(<a href='undocumented#SkScalar'>SkScalar</a> v)
1324 <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMatrix_setSca…
1331 void <a href='#SkMatrix_setSkewY'>setSkewY</a>(<a href='undocumented#SkScalar'>SkScalar</a> v)
1349 <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setSkew'>setSkew</a> <a href='#SkMatrix_setSkewX…
1356 void <a href='#SkMatrix_setSkewX'>setSkewX</a>(<a href='undocumented#SkScalar'>SkScalar</a> v)
1374 <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setSkew'>setSkew</a> <a href='#SkMatrix_setSkewX…
1381 void <a href='#SkMatrix_setTranslateX'>setTranslateX</a>(<a href='undocumented#SkScalar'>SkScalar</…
1399 <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setTranslate'>setTranslate</a> <a href='#SkMatri…
1406 void <a href='#SkMatrix_setTranslateY'>setTranslateY</a>(<a href='undocumented#SkScalar'>SkScalar</…
1424 <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setTranslate'>setTranslate</a> <a href='#SkMatri…
1431 void <a href='#SkMatrix_setPerspX'>setPerspX</a>(<a href='undocumented#SkScalar'>SkScalar</a> v)
1434 Sets input x-axis perspective factor, which causes <a href='#SkMatrix_mapXY'>mapXY</a>() to vary in…
1450 …href='#SkMatrix_getPerspX'>getPerspX</a> <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setAll…
1457 void <a href='#SkMatrix_setPerspY'>setPerspY</a>(<a href='undocumented#SkScalar'>SkScalar</a> v)
1460 Sets input y-axis perspective factor, which causes <a href='#SkMatrix_mapXY'>mapXY</a>() to vary in…
1476 …href='#SkMatrix_getPerspY'>getPerspY</a> <a href='#SkMatrix_set'>set</a> <a href='#SkMatrix_setAll…
1483 …href='#SkMatrix_setAll'>setAll</a>(<a href='undocumented#SkScalar'>SkScalar</a> scaleX, <a href='u…
1484 …href='undocumented#SkScalar'>SkScalar</a> transY, <a href='undocumented#SkScalar'>SkScalar</a> per…
1487 Sets all values from parameters. Sets <a href='SkMatrix_Reference#Matrix'>matrix</a> to:
1489 | <a href='#SkMatrix_setAll_scaleX'>scaleX</a> <a href='#SkMatrix_setAll_skewX'>skewX</a> <a href=…
1490 | <a href='#SkMatrix_setAll_skewY'>skewY</a> <a href='#SkMatrix_setAll_scaleY'>scaleY</a> <a href=…
1491 | <a href='#SkMatrix_setAll_persp0'>persp0</a> <a href='#SkMatrix_setAll_persp1'>persp1</a> <a href…
1530 <a href='#SkMatrix_set9'>set9</a> <a href='#SkMatrix_MakeAll'>MakeAll</a>
1537 void <a href='#SkMatrix_get9'>get9</a>(<a href='undocumented#SkScalar'>SkScalar</a> buffer[9])const
1540 Copies nine <a href='undocumented#Scalar'>scalar</a> values contained by <a href='SkMatrix_Referenc…
1541 …href='#SkMatrix_kMScaleX'>kMScaleX</a>, <a href='#SkMatrix_kMSkewX'>kMSkewX</a>, <a href='#SkMatri…
1542 <a href='#SkMatrix_kMPersp0'>kMPersp0</a>, <a href='#SkMatrix_kMPersp1'>kMPersp1</a>, <a href='#SkM…
1547 <td>storage for nine <a href='undocumented#Scalar'>scalar</a> values</td>
1567 <a href='#SkMatrix_set9'>set9</a>
1574 void <a href='#SkMatrix_set9'>set9</a>(const <a href='undocumented#SkScalar'>SkScalar</a> buffer[9])
1577 Sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to nine <a href='undocumented#Scalar'>scala…
1578 …href='#SkMatrix_kMScaleX'>kMScaleX</a>, <a href='#SkMatrix_kMSkewX'>kMSkewX</a>, <a href='#SkMatri…
1579 <a href='#SkMatrix_kMPersp2'>kMPersp2</a>.
1581 Sets <a href='SkMatrix_Reference#Matrix'>matrix</a> to:
1583 | <a href='#SkMatrix_set9_buffer'>buffer</a>[0] <a href='#SkMatrix_set9_buffer'>buffer</a>[1] <a hr…
1584 | <a href='#SkMatrix_set9_buffer'>buffer</a>[3] <a href='#SkMatrix_set9_buffer'>buffer</a>[4] <a hr…
1585 | <a href='#SkMatrix_set9_buffer'>buffer</a>[6] <a href='#SkMatrix_set9_buffer'>buffer</a>[7] <a hr…
1587 …the future, <a href='#SkMatrix_set9'>set9</a> followed by <a href='#SkMatrix_get9'>get9</a> may no…
1594 <td>nine <a href='undocumented#Scalar'>scalar</a> values</td>
1604 <a href='#SkMatrix_setAll'>setAll</a> <a href='#SkMatrix_get9'>get9</a> <a href='#SkMatrix_MakeAll'…
1611 void <a href='#SkMatrix_reset'>reset()</a>
1614 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to identity; which has no effect on mapped <a href…
1620 Also called <a href='#SkMatrix_setIdentity'>setIdentity</a>(); use the one that provides better inl…
1637 <a href='#SkMatrix_isIdentity'>isIdentity</a> <a href='#SkMatrix_setIdentity'>setIdentity</a>
1644 void <a href='#SkMatrix_setIdentity'>setIdentity</a>()
1647 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to identity; which has no effect on mapped <a href…
1653 Also called <a href='#SkMatrix_reset'>reset()</a>; use the one that provides better inline
1670 <a href='#SkMatrix_isIdentity'>isIdentity</a> <a href='#SkMatrix_reset'>reset</a>
1677 void <a href='#SkMatrix_setTranslate'>setTranslate</a>(<a href='undocumented#SkScalar'>SkScalar</a>…
1680 Sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to translate by (<a href='#SkMatrix_setTran…
1698 <a href='#SkMatrix_setTranslateX'>setTranslateX</a> <a href='#SkMatrix_setTranslateY'>setTranslateY…
1705 void <a href='#SkMatrix_setTranslate'>setTranslate</a>(const <a href='SkPoint_Reference#SkVector'>S…
1708 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to translate by (<a href='#SkMatrix_setTranslate_2…
1713 …<td><a href='SkPoint_Reference#Vector'>vector</a> containing horizontal and vertical translation</…
1723 <a href='#SkMatrix_setTranslateX'>setTranslateX</a> <a href='#SkMatrix_setTranslateY'>setTranslateY…
1730 …href='#SkMatrix_setScale'>setScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a href='u…
1733 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to scale by <a href='#SkMatrix_setScale_sx'>sx</a>…
1734 The pivot <a href='SkPoint_Reference#Point'>point</a> is unchanged when mapped with <a href='SkMatr…
1758 …href='#SkMatrix_setScaleX'>setScaleX</a> <a href='#SkMatrix_setScaleY'>setScaleY</a> <a href='#SkM…
1765 void <a href='#SkMatrix_setScale'>setScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a …
1768 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to scale by <a href='#SkMatrix_setScale_2_sx'>sx</…
1786 …href='#SkMatrix_setScaleX'>setScaleX</a> <a href='#SkMatrix_setScaleY'>setScaleY</a> <a href='#SkM…
1793 … href='#SkMatrix_setRotate'>setRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degrees, <a…
1796 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to rotate by <a href='#SkMatrix_setRotate_degrees'…
1797 The pivot <a href='SkPoint_Reference#Point'>point</a> is unchanged when mapped with <a href='SkMatr…
1799 Positive <a href='#SkMatrix_setRotate_degrees'>degrees</a> rotates clockwise.
1820 <a href='#SkMatrix_setSinCos'>setSinCos</a> <a href='#SkMatrix_preRotate'>preRotate</a> <a href='#S…
1827 void <a href='#SkMatrix_setRotate'>setRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degre…
1830 Sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to rotate by <a href='#SkMatrix_setRotate_2…
1831 Positive <a href='#SkMatrix_setRotate_2_degrees'>degrees</a> rotates clockwise.
1846 <a href='#SkMatrix_setSinCos'>setSinCos</a> <a href='#SkMatrix_preRotate'>preRotate</a> <a href='#S…
1853 …href='#SkMatrix_setSinCos'>setSinCos</a>(<a href='undocumented#SkScalar'>SkScalar</a> sinValue, <a…
1856 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to rotate by <a href='#SkMatrix_setSinCos_sinValue…
1857 The pivot <a href='SkPoint_Reference#Point'>point</a> is unchanged when mapped with <a href='SkMatr…
1859 <a href='SkPoint_Reference#Vector'>Vector</a> (<a href='#SkMatrix_setSinCos_sinValue'>sinValue</a>,…
1860 <a href='SkPoint_Reference#Vector'>Vector</a> length specifies scale.
1865 <td>rotation <a href='SkPoint_Reference#Vector'>vector</a> x-axis component</td>
1868 <td>rotation <a href='SkPoint_Reference#Vector'>vector</a> y-axis component</td>
1884 <a href='#SkMatrix_setRotate'>setRotate</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkM…
1891 void <a href='#SkMatrix_setSinCos'>setSinCos</a>(<a href='undocumented#SkScalar'>SkScalar</a> sinVa…
1894 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to rotate by <a href='#SkMatrix_setSinCos_2_sinVal…
1896 <a href='SkPoint_Reference#Vector'>Vector</a> (<a href='#SkMatrix_setSinCos_2_sinValue'>sinValue</a…
1897 <a href='SkPoint_Reference#Vector'>Vector</a> length specifies scale.
1902 <td>rotation <a href='SkPoint_Reference#Vector'>vector</a> x-axis component</td>
1905 <td>rotation <a href='SkPoint_Reference#Vector'>vector</a> y-axis component</td>
1911 …iv><a href='SkCanvas_Reference#Canvas'>Canvas</a> needs offset after applying <a href='SkMatrix_Re…
1916 <a href='#SkMatrix_setRotate'>setRotate</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkM…
1923 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>& <a href='#SkMatrix_setRSXform'>setRSXform</a>(c…
1926 Sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to rotate, scale, and translate using a com…
1928 …href='SkPoint_Reference#Vector'>Vector</a> (<a href='#SkMatrix_setRSXform_rsxForm'>rsxForm</a>.<a …
1929 to (0, 1). <a href='SkPoint_Reference#Vector'>Vector</a> length specifies scale. Mapped <a href='Sk…
1930 …href='SkPoint_Reference#Vector'>vector</a>, then translated by (<a href='#SkMatrix_setRSXform_rsxF…
1935 …<td>compressed <a href='undocumented#SkRSXform'>SkRSXform</a> <a href='SkMatrix_Reference#Matrix'>…
1941 reference to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>
1945 …iv><a href='SkCanvas_Reference#Canvas'>Canvas</a> needs offset after applying <a href='SkMatrix_Re…
1950 <a href='#SkMatrix_setSinCos'>setSinCos</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkM…
1957 …href='#SkMatrix_setSkew'>setSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a href='und…
1960 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to skew by <a href='#SkMatrix_setSkew_kx'>kx</a> a…
1961 The pivot <a href='SkPoint_Reference#Point'>point</a> is unchanged when mapped with <a href='SkMatr…
1985 <a href='#SkMatrix_setSkewX'>setSkewX</a> <a href='#SkMatrix_setSkewY'>setSkewY</a> <a href='#SkMat…
1992 void <a href='#SkMatrix_setSkew'>setSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a hr…
1995 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to skew by <a href='#SkMatrix_setSkew_2_kx'>kx</a>…
2013 <a href='#SkMatrix_setSkewX'>setSkewX</a> <a href='#SkMatrix_setSkewY'>setSkewY</a> <a href='#SkMat…
2020 void <a href='#SkMatrix_setConcat'>setConcat</a>(const <a href='SkMatrix_Reference#SkMatrix'>SkMatr…
2023 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2028 <a href='#SkMatrix_setConcat_a'>a</a> = | D E F |, <a href='#SkMatrix_setConcat_b'>b</a> = | M N O |
2029 | G H <a href='#SkMatrix_I'>I</a> | | P Q R |
2031 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2034 <a href='#SkMatrix_setConcat_a'>a</a> * <a href='#SkMatrix_setConcat_b'>b</a> = | D E F | * | M N O…
2035 | G H <a href='#SkMatrix_I'>I</a> | | P Q R | | GJ+HM+IP GK+HN+IQ GL+HO+IR |
2040 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> on left side of multiply expression</td>
2043 … <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> on right side of multiply expression</td>
2049 …a10ac69bdefdf9d15b47cbb9fefe"><div><a href='#SkMatrix_setPolyToPoly'>setPolyToPoly</a> creates per…
2050 Multiplying the <a href='SkMatrix_Reference#Matrix'>matrix</a> by its inverse turns into an identit…
2055 …href='#SkMatrix_Concat'>Concat</a> <a href='#SkMatrix_preConcat'>preConcat</a> <a href='#SkMatrix_…
2062 void <a href='#SkMatrix_preTranslate'>preTranslate</a>(<a href='undocumented#SkScalar'>SkScalar</a>…
2065 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2066 …is can be thought of as moving the <a href='SkPoint_Reference#Point'>point</a> to be mapped before…
2070 | A B C | | 1 0 <a href='#SkMatrix_preTranslate_dx'>dx</a> |
2071 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, T(<a href='#SkMatrix_preTranslate_dx'>dx…
2072 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 |
2074 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2076 | A B C | | 1 0 <a href='#SkMatrix_preTranslate_dx'>dx</a> | | A B A*<a href='#SkMatrix_preTransl…
2077 …href='SkMatrix_Reference#Matrix'>Matrix</a> * T(<a href='#SkMatrix_preTranslate_dx'>dx</a>, <a hre…
2078 …H <a href='#SkMatrix_I'>I</a> | | 0 0 1 | | G H G*<a href='#SkMatrix_preTranslate_dx'>dx</a>+H*…
2083 <td>x-axis translation before applying <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a></td>
2086 <td>y-axis translation before applying <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a></td>
2096 <a href='#SkMatrix_postTranslate'>postTranslate</a> <a href='#SkMatrix_setTranslate'>setTranslate</…
2103 …href='#SkMatrix_preScale'>preScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a href='u…
2106 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2107 about pivot <a href='SkPoint_Reference#Point'>point</a> (<a href='#SkMatrix_preScale_px'>px</a>, <a…
2108 …n be thought of as scaling about a pivot <a href='SkPoint_Reference#Point'>point</a> before applyi…
2112 | A B C | | <a href='#SkMatrix_preScale_sx'>sx</a> 0 dx |
2113 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, S(<a href='#SkMatrix_preScale_sx'>sx</a>…
2114 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 |
2118 dx = <a href='#SkMatrix_preScale_px'>px</a> - <a href='#SkMatrix_preScale_sx'>sx</a> * <a href='#Sk…
2119 dy = <a href='#SkMatrix_preScale_py'>py</a> - <a href='#SkMatrix_preScale_sy'>sy</a> * <a href='#Sk…
2121 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2123 | A B C | | <a href='#SkMatrix_preScale_sx'>sx</a> 0 dx | | A*<a href='#SkMatrix_preScale_sx'>sx…
2124 …href='SkMatrix_Reference#Matrix'>Matrix</a> * S(<a href='#SkMatrix_preScale_sx'>sx</a>, <a href='#…
2125 …H <a href='#SkMatrix_I'>I</a> | | 0 0 1 | | G*<a href='#SkMatrix_preScale_sx'>sx</a> H*<a hre…
2149 <a href='#SkMatrix_postScale'>postScale</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkM…
2156 void <a href='#SkMatrix_preScale'>preScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a …
2159 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2160 about pivot <a href='SkPoint_Reference#Point'>point</a> (0, 0).
2161 This can be thought of as scaling about the origin before applying <a href='SkMatrix_Reference#SkMa…
2165 | A B C | | <a href='#SkMatrix_preScale_2_sx'>sx</a> 0 0 |
2166 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, S(<a href='#SkMatrix_preScale_2_sx'>sx</…
2167 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 |
2169 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2171 | A B C | | <a href='#SkMatrix_preScale_2_sx'>sx</a> 0 0 | | A*<a href='#SkMatrix_preScale_2_sx…
2172 …href='SkMatrix_Reference#Matrix'>Matrix</a> * S(<a href='#SkMatrix_preScale_2_sx'>sx</a>, <a href=…
2173 … G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 | | G*<a href='#SkMatrix_preScale_2_sx'>sx</a> H*<…
2191 <a href='#SkMatrix_postScale'>postScale</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkM…
2198 … href='#SkMatrix_preRotate'>preRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degrees, <a…
2201 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2202 about pivot <a href='SkPoint_Reference#Point'>point</a> (<a href='#SkMatrix_preRotate_px'>px</a>, <…
2203 … be thought of as rotating about a pivot <a href='SkPoint_Reference#Point'>point</a> before applyi…
2205 Positive <a href='#SkMatrix_preRotate_degrees'>degrees</a> rotates clockwise.
2210 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, R(<a href='#SkMatrix_preRotate_degrees'>…
2211 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 |
2215 c = cos(<a href='#SkMatrix_preRotate_degrees'>degrees</a>)
2216 s = sin(<a href='#SkMatrix_preRotate_degrees'>degrees</a>)
2217 dx = s * <a href='#SkMatrix_preRotate_py'>py</a> + (1 - c) * <a href='#SkMatrix_preRotate_px'>px</…
2218 dy = -s * <a href='#SkMatrix_preRotate_px'>px</a> + (1 - c) * <a href='#SkMatrix_preRotate_py'>py</…
2220 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2223 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * R(<a href='#SkMatrix_preRotate_degrees'>degrees</a…
2224 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 | | Gc+Hs -Gs+Hc G*dx+H*dy+<a href='#SkMatrix_I'>I<…
2245 <a href='#SkMatrix_postRotate'>postRotate</a> <a href='#SkMatrix_setRotate'>setRotate</a>
2252 void <a href='#SkMatrix_preRotate'>preRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degre…
2255 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2256 about pivot <a href='SkPoint_Reference#Point'>point</a> (0, 0).
2257 This can be thought of as rotating about the origin before applying <a href='SkMatrix_Reference#SkM…
2259 Positive <a href='#SkMatrix_preRotate_2_degrees'>degrees</a> rotates clockwise.
2264 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, R(<a href='#SkMatrix_preRotate_2_degre…
2265 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 |
2269 c = cos(<a href='#SkMatrix_preRotate_2_degrees'>degrees</a>)
2270 s = sin(<a href='#SkMatrix_preRotate_2_degrees'>degrees</a>)
2272 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2275 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * R(<a href='#SkMatrix_preRotate_2_degrees'>degrees<…
2276 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 | | Gc+Hs -Gs+Hc <a href='#SkMatrix_I'>I</a> |
2291 <a href='#SkMatrix_postRotate'>postRotate</a> <a href='#SkMatrix_setRotate'>setRotate</a>
2298 …href='#SkMatrix_preSkew'>preSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a href='und…
2301 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2302 about pivot <a href='SkPoint_Reference#Point'>point</a> (<a href='#SkMatrix_preSkew_px'>px</a>, <a …
2303 …n be thought of as skewing about a pivot <a href='SkPoint_Reference#Point'>point</a> before applyi…
2307 | A B C | | 1 <a href='#SkMatrix_preSkew_kx'>kx</a> dx |
2308 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, K(<a href='#SkMatrix_preSkew_kx'>kx</a>,…
2309 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 |
2313 dx = -<a href='#SkMatrix_preSkew_kx'>kx</a> * <a href='#SkMatrix_preSkew_py'>py</a>
2314 dy = -<a href='#SkMatrix_preSkew_ky'>ky</a> * <a href='#SkMatrix_preSkew_px'>px</a>
2316 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2318 | A B C | | 1 <a href='#SkMatrix_preSkew_kx'>kx</a> dx | | A+B*<a href='#SkMatrix_preSkew_ky'>ky…
2319 …href='SkMatrix_Reference#Matrix'>Matrix</a> * K(<a href='#SkMatrix_preSkew_kx'>kx</a>, <a href='#S…
2320 … <a href='#SkMatrix_I'>I</a> | | 0 0 1 | | G+H*<a href='#SkMatrix_preSkew_ky'>ky</a> G*<a hre…
2344 <a href='#SkMatrix_postSkew'>postSkew</a> <a href='#SkMatrix_setSkew'>setSkew</a>
2351 void <a href='#SkMatrix_preSkew'>preSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a hr…
2354 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2355 about pivot <a href='SkPoint_Reference#Point'>point</a> (0, 0).
2356 This can be thought of as skewing about the origin before applying <a href='SkMatrix_Reference#SkMa…
2360 | A B C | | 1 <a href='#SkMatrix_preSkew_2_kx'>kx</a> 0 |
2361 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, K(<a href='#SkMatrix_preSkew_2_kx'>kx</a…
2362 | G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 |
2364 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2366 | A B C | | 1 <a href='#SkMatrix_preSkew_2_kx'>kx</a> 0 | | A+B*<a href='#SkMatrix_preSkew_2_ky'…
2367 …href='SkMatrix_Reference#Matrix'>Matrix</a> * K(<a href='#SkMatrix_preSkew_2_kx'>kx</a>, <a href='…
2368 …G H <a href='#SkMatrix_I'>I</a> | | 0 0 1 | | G+H*<a href='#SkMatrix_preSkew_2_ky'>ky</a> G*<a…
2386 <a href='#SkMatrix_postSkew'>postSkew</a> <a href='#SkMatrix_setSkew'>setSkew</a>
2393 void <a href='#SkMatrix_preConcat'>preConcat</a>(const <a href='SkMatrix_Reference#SkMatrix'>SkMatr…
2396 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2397 This can be thought of mapping by <a href='#SkMatrix_preConcat_other'>other</a> before applying <a …
2402 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, <a href='#SkMatrix_preConcat_other'>oth…
2403 | G H <a href='#SkMatrix_I'>I</a> | | P Q R |
2405 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2408 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * <a href='#SkMatrix_preConcat_other'>other</a> = | …
2409 | G H <a href='#SkMatrix_I'>I</a> | | P Q R | | GJ+HM+IP GK+HN+IQ GL+HO+IR |
2414 … <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> on right side of multiply expression</td>
2420 …a href='#SkMatrix_setPolyToPoly'>setPolyToPoly</a> creates perspective <a href='SkMatrix_Reference…
2421 Multiplying the <a href='SkMatrix_Reference#Matrix'>matrix</a> by its inverse turns into an identit…
2426 <a href='#SkMatrix_postConcat'>postConcat</a> <a href='#SkMatrix_setConcat'>setConcat</a> <a href='…
2433 void <a href='#SkMatrix_postTranslate'>postTranslate</a>(<a href='undocumented#SkScalar'>SkScalar</…
2436 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2437 …is can be thought of as moving the <a href='SkPoint_Reference#Point'>point</a> to be mapped after …
2441 | J K L | | 1 0 <a href='#SkMatrix_postTranslate_dx'>dx</a> |
2442 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, T(<a href='#SkMatrix_postTranslate_dx'>d…
2445 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2447 …href='#SkMatrix_postTranslate_dx'>dx</a> | | J K L | | J+<a href='#SkMatrix_postTranslate_dx'>dx…
2448 …href='#SkMatrix_postTranslate_dx'>dx</a>, <a href='#SkMatrix_postTranslate_dy'>dy</a>) * <a href='…
2454 <td>x-axis translation after applying <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a></td>
2457 <td>y-axis translation after applying <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a></td>
2463 <div><fiddle-embed name="f5144ef4bd7cea294fad2f756ed335af"><div>Compare with <a href='#SkMatrix_pre…
2468 <a href='#SkMatrix_preTranslate'>preTranslate</a> <a href='#SkMatrix_setTranslate'>setTranslate</a>…
2475 …href='#SkMatrix_postScale'>postScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <a href=…
2478 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2479 (<a href='#SkMatrix_postScale_px'>px</a>, <a href='#SkMatrix_postScale_py'>py</a>), multiplied by <…
2480 …an be thought of as scaling about a pivot <a href='SkPoint_Reference#Point'>point</a> after applyi…
2484 | J K L | | <a href='#SkMatrix_postScale_sx'>sx</a> 0 dx |
2485 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, S(<a href='#SkMatrix_postScale_sx'>sx</a…
2490 dx = <a href='#SkMatrix_postScale_px'>px</a> - <a href='#SkMatrix_postScale_sx'>sx</a> * <a href='#…
2491 dy = <a href='#SkMatrix_postScale_py'>py</a> - <a href='#SkMatrix_postScale_sy'>sy</a> * <a href='#…
2493 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2495 …href='#SkMatrix_postScale_sx'>sx</a> 0 dx | | J K L | | <a href='#SkMatrix_postScale_sx'>sx</a>…
2496 …href='#SkMatrix_postScale_sx'>sx</a>, <a href='#SkMatrix_postScale_sy'>sy</a>, <a href='#SkMatrix_…
2521 <a href='#SkMatrix_preScale'>preScale</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMat…
2528 void <a href='#SkMatrix_postScale'>postScale</a>(<a href='undocumented#SkScalar'>SkScalar</a> sx, <…
2531 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2532 (0, 0), multiplied by <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>.
2533 This can be thought of as scaling about the origin after applying <a href='SkMatrix_Reference#SkMat…
2537 | J K L | | <a href='#SkMatrix_postScale_2_sx'>sx</a> 0 0 |
2538 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, S(<a href='#SkMatrix_postScale_2_sx'>sx<…
2541 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2543 …href='#SkMatrix_postScale_2_sx'>sx</a> 0 0 | | J K L | | <a href='#SkMatrix_postScale_2_sx'>sx…
2544 …href='#SkMatrix_postScale_2_sx'>sx</a>, <a href='#SkMatrix_postScale_2_sy'>sy</a>) * <a href='SkMa…
2563 <a href='#SkMatrix_preScale'>preScale</a> <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMat…
2570 bool <a href='#SkMatrix_postIDiv'>postIDiv</a>(int divx, int divy)
2573 …href='SkMatrix_Reference#Matrix'>Matrix</a> to <a href='SkMatrix_Reference#Matrix'>Matrix</a> cons…
2574 multiplied by <a href='SkMatrix_Reference#Matrix'>Matrix</a>.
2576 Returns false if either <a href='#SkMatrix_postIDiv_divx'>divx</a> or <a href='#SkMatrix_postIDiv_d…
2593 sets <a href='SkMatrix_Reference#Matrix'>Matrix</a> to:
2621 <a href='#SkMatrix_postScale'>postScale</a> <a href='#SkMatrix_MakeScale'>MakeScale</a>
2628 …href='#SkMatrix_postRotate'>postRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> degrees, <…
2631 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2632 (<a href='#SkMatrix_postRotate_px'>px</a>, <a href='#SkMatrix_postRotate_py'>py</a>), multiplied by…
2633 …n be thought of as rotating about a pivot <a href='SkPoint_Reference#Point'>point</a> after applyi…
2635 Positive <a href='#SkMatrix_postRotate_degrees'>degrees</a> rotates clockwise.
2640 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, R(<a href='#SkMatrix_postRotate_degrees'…
2645 c = cos(<a href='#SkMatrix_postRotate_degrees'>degrees</a>)
2646 s = sin(<a href='#SkMatrix_postRotate_degrees'>degrees</a>)
2647 dx = s * <a href='#SkMatrix_postRotate_py'>py</a> + (1 - c) * <a href='#SkMatrix_postRotate_px'>px…
2648 dy = -s * <a href='#SkMatrix_postRotate_px'>px</a> + (1 - c) * <a href='#SkMatrix_postRotate_py'>py…
2650 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2653 R(<a href='#SkMatrix_postRotate_degrees'>degrees</a>, <a href='#SkMatrix_postRotate_px'>px</a>, <a …
2675 <a href='#SkMatrix_preRotate'>preRotate</a> <a href='#SkMatrix_setRotate'>setRotate</a>
2682 void <a href='#SkMatrix_postRotate'>postRotate</a>(<a href='undocumented#SkScalar'>SkScalar</a> deg…
2685 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2686 (0, 0), multiplied by <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>.
2687 This can be thought of as rotating about the origin after applying <a href='SkMatrix_Reference#SkMa…
2689 Positive <a href='#SkMatrix_postRotate_2_degrees'>degrees</a> rotates clockwise.
2694 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, R(<a href='#SkMatrix_postRotate_2_degr…
2699 c = cos(<a href='#SkMatrix_postRotate_2_degrees'>degrees</a>)
2700 s = sin(<a href='#SkMatrix_postRotate_2_degrees'>degrees</a>)
2702 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2705 R(<a href='#SkMatrix_postRotate_2_degrees'>degrees</a>, px, py) * <a href='SkMatrix_Reference#Matri…
2721 <a href='#SkMatrix_preRotate'>preRotate</a> <a href='#SkMatrix_setRotate'>setRotate</a>
2728 …href='#SkMatrix_postSkew'>postSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a href='u…
2731 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2732 (<a href='#SkMatrix_postSkew_px'>px</a>, <a href='#SkMatrix_postSkew_py'>py</a>), multiplied by <a …
2733 …an be thought of as skewing about a pivot <a href='SkPoint_Reference#Point'>point</a> after applyi…
2737 | J K L | | 1 <a href='#SkMatrix_postSkew_kx'>kx</a> dx |
2738 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, K(<a href='#SkMatrix_postSkew_kx'>kx</a>…
2743 dx = -<a href='#SkMatrix_postSkew_kx'>kx</a> * <a href='#SkMatrix_postSkew_py'>py</a>
2744 dy = -<a href='#SkMatrix_postSkew_ky'>ky</a> * <a href='#SkMatrix_postSkew_px'>px</a>
2746 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2748 …href='#SkMatrix_postSkew_kx'>kx</a> dx| |J K L| |J+<a href='#SkMatrix_postSkew_kx'>kx</a>*M+dx*P…
2749 …href='#SkMatrix_postSkew_kx'>kx</a>, <a href='#SkMatrix_postSkew_ky'>ky</a>, <a href='#SkMatrix_po…
2774 <a href='#SkMatrix_preSkew'>preSkew</a> <a href='#SkMatrix_setSkew'>setSkew</a>
2781 void <a href='#SkMatrix_postSkew'>postSkew</a>(<a href='undocumented#SkScalar'>SkScalar</a> kx, <a …
2784 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2785 (0, 0), multiplied by <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>.
2786 This can be thought of as skewing about the origin after applying <a href='SkMatrix_Reference#SkMat…
2790 | J K L | | 1 <a href='#SkMatrix_postSkew_2_kx'>kx</a> 0 |
2791 …href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, K(<a href='#SkMatrix_postSkew_2_kx'>kx</…
2794 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2796 …href='#SkMatrix_postSkew_2_kx'>kx</a> 0 | | J K L | | J+<a href='#SkMatrix_postSkew_2_kx'>kx</a>…
2797 …href='#SkMatrix_postSkew_2_kx'>kx</a>, <a href='#SkMatrix_postSkew_2_ky'>ky</a>) * <a href='SkMatr…
2816 <a href='#SkMatrix_preSkew'>preSkew</a> <a href='#SkMatrix_setSkew'>setSkew</a>
2823 void <a href='#SkMatrix_postConcat'>postConcat</a>(const <a href='SkMatrix_Reference#SkMatrix'>SkMa…
2826 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix<…
2827 This can be thought of mapping by <a href='#SkMatrix_postConcat_other'>other</a> after applying <a …
2832 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | M N O |, <a href='#SkMatrix_postConcat_other'>o…
2833 | P Q R | | G H <a href='#SkMatrix_I'>I</a> |
2835 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
2838 <a href='#SkMatrix_postConcat_other'>other</a> * <a href='SkMatrix_Reference#Matrix'>Matrix</a> = |…
2839 | G H <a href='#SkMatrix_I'>I</a> | | P Q R | | GJ+HM+IP GK+HN+IQ GL+HO+IR |
2844 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> on left side of multiply expression</td>
2854 <a href='#SkMatrix_preConcat'>preConcat</a> <a href='#SkMatrix_setConcat'>setConcat</a> <a href='#S…
2861 enum <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> {
2862 <a href='#SkMatrix_kFill_ScaleToFit'>kFill_ScaleToFit</a>,
2863 <a href='#SkMatrix_kStart_ScaleToFit'>kStart_ScaleToFit</a>,
2864 <a href='#SkMatrix_kCenter_ScaleToFit'>kCenter_ScaleToFit</a>,
2865 <a href='#SkMatrix_kEnd_ScaleToFit'>kEnd_ScaleToFit</a>,
2869 <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> describes how <a href='SkMatrix_Reference#Matrix'>Mat…
2870 <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> may allow <a href='SkMatrix_Reference#Matrix'>Matrix<…
2871 or may restrict <a href='SkMatrix_Reference#Matrix'>Matrix</a> to square scaling. If restricted, <a…
2872 how <a href='SkMatrix_Reference#Matrix'>Matrix</a> maps to the side or center of the destination <a…
2884 Computes <a href='SkMatrix_Reference#Matrix'>Matrix</a> that scales about x-axis and y-axis indepen…
2885 source <a href='SkRect_Reference#Rect'>Rect</a> is mapped to completely fill destination <a href='S…
2886 of source <a href='SkRect_Reference#Rect'>Rect</a> may change.
2893 …s <a href='SkMatrix_Reference#Matrix'>Matrix</a> that maintains source <a href='SkRect_Reference#R…
2894 width or height to destination <a href='SkRect_Reference#Rect'>Rect</a>. Aligns mapping to left and…
2895 of destination <a href='SkRect_Reference#Rect'>Rect</a>.
2902 …s <a href='SkMatrix_Reference#Matrix'>Matrix</a> that maintains source <a href='SkRect_Reference#R…
2903 width or height to destination <a href='SkRect_Reference#Rect'>Rect</a>. Aligns mapping to center o…
2904 <a href='SkRect_Reference#Rect'>Rect</a>.
2911 …s <a href='SkMatrix_Reference#Matrix'>Matrix</a> that maintains source <a href='SkRect_Reference#R…
2912 width or height to destination <a href='SkRect_Reference#Rect'>Rect</a>. Aligns mapping to right an…
2913 edges of destination <a href='SkRect_Reference#Rect'>Rect</a>.
2924 <a href='#SkMatrix_setRectToRect'>setRectToRect</a> <a href='#SkMatrix_MakeRectToRect'>MakeRectToRe…
2931 …href='#SkMatrix_setRectToRect'>setRectToRect</a>(const <a href='SkRect_Reference#SkRect'>SkRect</a…
2934 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to scale and translate <a href='#SkMatrix_setRectT…
2935 mapping completely fills <a href='#SkMatrix_setRectToRect_dst'>dst</a> or preserves the aspect rati…
2936 …href='#SkMatrix_setRectToRect_src'>src</a> within <a href='#SkMatrix_setRectToRect_dst'>dst</a>. R…
2937 Returns true if <a href='#SkMatrix_setRectToRect_dst'>dst</a> is empty, and sets <a href='SkMatrix_…
2946 <td><a href='SkRect_Reference#SkRect'>SkRect</a> to map from</td>
2949 <td><a href='SkRect_Reference#SkRect'>SkRect</a> to map to</td>
2952 …<td>one of: <a href='#SkMatrix_kFill_ScaleToFit'>kFill_ScaleToFit</a>, <a href='#SkMatrix_kStart_S…
2956 <a href='#SkMatrix_kCenter_ScaleToFit'>kCenter_ScaleToFit</a>, <a href='#SkMatrix_kEnd_ScaleToFit'>…
2960 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> can represent <a href='SkRect_Reference#…
2983 …href='#SkMatrix_MakeRectToRect'>MakeRectToRect</a> <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> <…
2990 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_MakeRectToRect'>MakeRectToRect<…
2993 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> set to scale and translate <a href='#SkMatrix_Make…
2994 whether mapping completely fills <a href='#SkMatrix_MakeRectToRect_dst'>dst</a> or preserves the as…
2995 …href='#SkMatrix_MakeRectToRect_src'>src</a> within <a href='#SkMatrix_MakeRectToRect_dst'>dst</a>.…
2996 empty, returns <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> set to:
3005 <td><a href='SkRect_Reference#SkRect'>SkRect</a> to map from</td>
3008 <td><a href='SkRect_Reference#SkRect'>SkRect</a> to map to</td>
3011 …<td>one of: <a href='#SkMatrix_kFill_ScaleToFit'>kFill_ScaleToFit</a>, <a href='#SkMatrix_kStart_S…
3015 <a href='#SkMatrix_kCenter_ScaleToFit'>kCenter_ScaleToFit</a>, <a href='#SkMatrix_kEnd_ScaleToFit'>…
3019 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> mapping <a href='#SkMatrix_MakeRectToRect_src'>s…
3042 …href='#SkMatrix_setRectToRect'>setRectToRect</a> <a href='#SkMatrix_ScaleToFit'>ScaleToFit</a> <a …
3049 bool <a href='#SkMatrix_setPolyToPoly'>setPolyToPoly</a>(const <a href='SkPoint_Reference#SkPoint'>…
3052 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to map <a href='#SkMatrix_setPolyToPoly_src'>src</…
3054 If <a href='#SkMatrix_setPolyToPoly_count'>count</a> is zero, sets <a href='SkMatrix_Reference#SkMa…
3055 If <a href='#SkMatrix_setPolyToPoly_count'>count</a> is one, sets <a href='SkMatrix_Reference#SkMat…
3056 If <a href='#SkMatrix_setPolyToPoly_count'>count</a> is two or more, sets <a href='SkMatrix_Referen…
3057 if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> cannot be constructed. If <a href='#SkMatrix_…
3063 <td><a href='SkPoint_Reference#SkPoint'>SkPoint</a> to map from</td>
3066 <td><a href='SkPoint_Reference#SkPoint'>SkPoint</a> to map to</td>
3069 …<td>number of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> in <a href='#SkMatrix_setPolyToPoly_…
3075 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> was constructed successfully
3083 <a href='#SkMatrix_setRectToRect'>setRectToRect</a> <a href='#SkMatrix_MakeRectToRect'>MakeRectToRe…
3090 bool <a href='#SkMatrix_invert'>invert</a>(<a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* inve…
3093 Sets <a href='#SkMatrix_invert_inverse'>inverse</a> to reciprocal <a href='SkMatrix_Reference#Matri…
3094 …y, if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> maps from source to destination, <a href=…
3095 …aps from destination to source. If <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> can not be i…
3101 <td>storage for inverted <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>; may be nullptr</td>
3107 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> can be inverted
3115 <a href='#SkMatrix_Concat'>Concat</a>
3122 static void <a href='#SkMatrix_SetAffineIdentity'>SetAffineIdentity</a>(<a href='undocumented#SkSca…
3125 Fills <a href='#SkMatrix_SetAffineIdentity_affine'>affine</a> with identity values in column major …
3126 Sets <a href='#SkMatrix_SetAffineIdentity_affine'>affine</a> to:
3131 Affine 3 by 2 <a href='SkMatrix_Reference#Matrix'>matrices</a> in column major order are used by Op…
3136 …<td>storage for 3 by 2 <a href='#SkMatrix_SetAffineIdentity_affine'>affine</a> <a href='SkMatrix_R…
3154 <a href='#SkMatrix_setAffine'>setAffine</a> <a href='#SkMatrix_asAffine'>asAffine</a>
3161 bool <a href='#SkMatrix_asAffine'>asAffine</a>(<a href='undocumented#SkScalar'>SkScalar</a> affine[…
3164 Fills <a href='#SkMatrix_asAffine_affine'>affine</a> in column major order. Sets <a href='#SkMatrix…
3169 If <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contains perspective, returns false and leave…
3174 …<td>storage for 3 by 2 <a href='#SkMatrix_asAffine_affine'>affine</a> <a href='SkMatrix_Reference#…
3180 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> does not contain perspective
3196 <a href='#SkMatrix_setAffine'>setAffine</a> <a href='#SkMatrix_SetAffineIdentity'>SetAffineIdentity…
3203 void <a href='#SkMatrix_setAffine'>setAffine</a>(const <a href='undocumented#SkScalar'>SkScalar</a>…
3206 … href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to <a href='#SkMatrix_setAffine_affine'>affine</a…
3212 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> is set, row, then column, to:
3221 …<td>3 by 2 <a href='#SkMatrix_setAffine_affine'>affine</a> <a href='SkMatrix_Reference#Matrix'>mat…
3240 <a href='#SkMatrix_asAffine'>asAffine</a> <a href='#SkMatrix_SetAffineIdentity'>SetAffineIdentity</…
3249 void <a href='#SkMatrix_mapPoints'>mapPoints</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> ds…
3252 …href='#SkMatrix_mapPoints_src'>src</a> <a href='SkPath_Reference#Point_Array'>SkPoint array</a> o…
3253 …ngth. <a href='SkPoint_Reference#SkPoint'>SkPoint</a> are mapped by multiplying each <a href='SkPo…
3256 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, pt = | y |
3257 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3261 for (i = 0; i < <a href='#SkMatrix_mapPoints_count'>count</a>; ++i) {
3262 x = <a href='#SkMatrix_mapPoints_src'>src</a>[i].fX
3263 y = <a href='#SkMatrix_mapPoints_src'>src</a>[i].fY
3266 each <a href='#SkMatrix_mapPoints_dst'>dst</a> <a href='SkPoint_Reference#SkPoint'>SkPoint</a> is c…
3269 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * pt = |D E F| |y| = |Ax+By+C Dx+Ey+F Gx+Hy+<a href=…
3270 |G H <a href='#SkMatrix_I'>I</a>| |1| Gx+Hy+<a href='#SkMatrix_I'>I</…
3272 <a href='#SkMatrix_mapPoints_src'>src</a> and <a href='#SkMatrix_mapPoints_dst'>dst</a> may <a href…
3277 <td>storage for mapped <a href='SkPoint_Reference#SkPoint'>SkPoint</a></td>
3280 <td><a href='SkPoint_Reference#SkPoint'>SkPoint</a> to transform</td>
3283 <td>number of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> to transform</td>
3293 <a href='#SkMatrix_mapXY'>mapXY</a> <a href='#SkMatrix_mapHomogeneousPoints'>mapHomogeneousPoints</…
3300 void <a href='#SkMatrix_mapPoints'>mapPoints</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> pt…
3303 …href='#SkMatrix_mapPoints_2_pts'>pts</a> <a href='SkPath_Reference#Point_Array'>SkPoint array</a>…
3304 each <a href='SkPoint_Reference#SkPoint'>SkPoint</a> by <a href='SkMatrix_Reference#SkMatrix'>SkMat…
3307 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, pt = | y |
3308 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3312 for (i = 0; i < <a href='#SkMatrix_mapPoints_2_count'>count</a>; ++i) {
3313 x = <a href='#SkMatrix_mapPoints_2_pts'>pts</a>[i].fX
3314 y = <a href='#SkMatrix_mapPoints_2_pts'>pts</a>[i].fY
3317 each resulting <a href='#SkMatrix_mapPoints_2_pts'>pts</a> <a href='SkPoint_Reference#SkPoint'>SkPo…
3320 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * pt = |D E F| |y| = |Ax+By+C Dx+Ey+F Gx+Hy+<a href=…
3321 |G H <a href='#SkMatrix_I'>I</a>| |1| Gx+Hy+<a href='#SkMatrix_I'>I</…
3326 <td>storage for mapped <a href='SkPoint_Reference#SkPoint'>SkPoint</a></td>
3329 <td>number of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> to transform</td>
3339 <a href='#SkMatrix_mapXY'>mapXY</a> <a href='#SkMatrix_mapHomogeneousPoints'>mapHomogeneousPoints</…
3346 void <a href='#SkMatrix_mapHomogeneousPoints'>mapHomogeneousPoints</a>(<a href='undocumented#SkPoin…
3349 …href='#SkMatrix_mapHomogeneousPoints_src'>src</a> <a href='undocumented#SkPoint3'>SkPoint3</a> arr…
3350 …eater. <a href='undocumented#SkPoint3'>SkPoint3</a> array is mapped by multiplying each <a href='u…
3353 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, <a href='#SkMatrix_mapHomogeneousPoint…
3354 | G H <a href='#SkMatrix_I'>I</a> | | z |
3356 each resulting <a href='#SkMatrix_mapHomogeneousPoints_dst'>dst</a> <a href='SkPoint_Reference#SkPo…
3359 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * <a href='#SkMatrix_mapHomogeneousPoints_src'>src</…
3360 |G H <a href='#SkMatrix_I'>I</a>| |z|
3365 <td>storage for mapped <a href='undocumented#SkPoint3'>SkPoint3</a> array</td>
3368 <td><a href='undocumented#SkPoint3'>SkPoint3</a> array to transform</td>
3371 <td>items in <a href='undocumented#SkPoint3'>SkPoint3</a> array to transform</td>
3381 <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='#SkMatrix_mapXY'>mapXY</a> <a href='#SkMatrix_…
3388 void <a href='#SkMatrix_mapXY'>mapXY</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='u…
3391 …href='SkPoint_Reference#SkPoint'>SkPoint</a> (<a href='#SkMatrix_mapXY_x'>x</a>, <a href='#SkMatri…
3393 | A B C | | <a href='#SkMatrix_mapXY_x'>x</a> |
3394 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, pt = | <a href='#SkMatrix_mapXY_y'>y</…
3395 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3397 <a href='#SkMatrix_mapXY_result'>result</a> is computed as:
3399 |A B C| |<a href='#SkMatrix_mapXY_x'>x</a>| Ax+By+C Dx+Ey+F
3400 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * pt = |D E F| |<a href='#SkMatrix_mapXY_y'>y</a>| =…
3401 |G H <a href='#SkMatrix_I'>I</a>| |1| Gx+Hy+<a href='#SkMatrix_I'>I</…
3406 <td>x-axis value of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> to map</td>
3409 <td>y-axis value of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> to map</td>
3412 <td>storage for mapped <a href='SkPoint_Reference#SkPoint'>SkPoint</a></td>
3422 <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='#SkMatrix_mapVectors'>mapVectors</a>
3429 <a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='#SkMatrix_mapXY'>mapXY</a>(<a href='undocu…
3432 …ns <a href='SkPoint_Reference#SkPoint'>SkPoint</a> (<a href='#SkMatrix_mapXY_2_x'>x</a>, <a href='…
3434 | A B C | | <a href='#SkMatrix_mapXY_2_x'>x</a> |
3435 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, pt = | <a href='#SkMatrix_mapXY_2_y'>y…
3436 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3440 |A B C| |<a href='#SkMatrix_mapXY_2_x'>x</a>| Ax+By+C Dx+Ey+F
3441 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * pt = |D E F| |<a href='#SkMatrix_mapXY_2_y'>y</a>|…
3442 |G H <a href='#SkMatrix_I'>I</a>| |1| Gx+Hy+<a href='#SkMatrix_I'>I</…
3447 <td>x-axis value of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> to map</td>
3450 <td>y-axis value of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> to map</td>
3456 mapped <a href='SkPoint_Reference#SkPoint'>SkPoint</a>
3464 <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='#SkMatrix_mapVectors'>mapVectors</a>
3471 void <a href='#SkMatrix_mapVectors'>mapVectors</a>(<a href='SkPoint_Reference#SkVector'>SkVector</a…
3474 …href='#SkMatrix_mapVectors_src'>src</a> <a href='SkPoint_Reference#Vector'>vector</a> array of len…
3475 length. <a href='SkPoint_Reference#Vector'>Vectors</a> are mapped by multiplying each <a href='SkPo…
3476 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> translation as zero. Given:
3479 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E 0 |, <a href='#SkMatrix_mapVectors_src'>src…
3480 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3484 for (i = 0; i < <a href='#SkMatrix_mapVectors_count'>count</a>; ++i) {
3485 x = <a href='#SkMatrix_mapVectors_src'>src</a>[i].fX
3486 y = <a href='#SkMatrix_mapVectors_src'>src</a>[i].fY
3489 each <a href='#SkMatrix_mapVectors_dst'>dst</a> <a href='SkPoint_Reference#Vector'>vector</a> is co…
3492 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * <a href='#SkMatrix_mapVectors_src'>src</a> = |D E …
3493 |G H <a href='#SkMatrix_I'>I</a>| |1| Gx+Hy+<a href='#SkMatrix_I'>I</a> …
3495 <a href='#SkMatrix_mapVectors_src'>src</a> and <a href='#SkMatrix_mapVectors_dst'>dst</a> may <a hr…
3500 <td>storage for mapped <a href='SkPoint_Reference#Vector'>vectors</a></td>
3503 <td><a href='SkPoint_Reference#Vector'>vectors</a> to transform</td>
3506 <td>number of <a href='SkPoint_Reference#Vector'>vectors</a> to transform</td>
3516 <a href='#SkMatrix_mapVector'>mapVector</a> <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='#S…
3523 void <a href='#SkMatrix_mapVectors'>mapVectors</a>(<a href='SkPoint_Reference#SkVector'>SkVector</a…
3526 …href='#SkMatrix_mapVectors_2_vecs'>vecs</a> <a href='SkPoint_Reference#Vector'>vector</a> array of…
3527 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>, treating <a href='SkMatrix_Reference#SkMatrix'>…
3530 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E 0 |, vec = | y |
3531 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3535 for (i = 0; i < <a href='#SkMatrix_mapVectors_2_count'>count</a>; ++i) {
3536 x = <a href='#SkMatrix_mapVectors_2_vecs'>vecs</a>[i].fX
3537 y = <a href='#SkMatrix_mapVectors_2_vecs'>vecs</a>[i].fY
3540 each result <a href='SkPoint_Reference#Vector'>vector</a> is computed as:
3543 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * vec = |D E 0| |y| = |Ax+By Dx+Ey Gx+Hy+<a href='#S…
3544 |G H <a href='#SkMatrix_I'>I</a>| |1| Gx+Hy+<a href='#SkMatrix_I'>I</a> …
3549 …<td><a href='SkPoint_Reference#Vector'>vectors</a> to transform, and storage for mapped <a href='S…
3552 <td>number of <a href='SkPoint_Reference#Vector'>vectors</a> to transform</td>
3562 <a href='#SkMatrix_mapVector'>mapVector</a> <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='#S…
3569 …<a href='#SkMatrix_mapVector'>mapVector</a>(<a href='undocumented#SkScalar'>SkScalar</a> dx, <a hr…
3572 …href='SkPoint_Reference#Vector'>vector</a> (<a href='#SkMatrix_mapVector_dx'>dx</a>, <a href='#SkM…
3573 treating <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> translation as zero. Given:
3575 | A B 0 | | <a href='#SkMatrix_mapVector_dx'>dx</a> |
3576 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E 0 |, vec = | <a href='#SkMatrix_mapVector_d…
3577 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3579 each <a href='#SkMatrix_mapVector_result'>result</a> <a href='SkPoint_Reference#Vector'>vector</a> …
3581 …href='#SkMatrix_mapVector_dx'>dx</a>| A*<a href='#SkMatrix_…
3582 …href='SkMatrix_Reference#Matrix'>Matrix</a> * vec = |D E 0| |<a href='#SkMatrix_mapVector_dy'>dy</…
3583 …href='#SkMatrix_I'>I</a>| | 1| G*<a href='#SkMatrix_mapVecto…
3588 <td>x-axis value of <a href='SkPoint_Reference#Vector'>vector</a> to map</td>
3591 <td>y-axis value of <a href='SkPoint_Reference#Vector'>vector</a> to map</td>
3594 <td>storage for mapped <a href='SkPoint_Reference#Vector'>vector</a></td>
3604 <a href='#SkMatrix_mapVectors'>mapVectors</a> <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='…
3611 <a href='SkPoint_Reference#SkVector'>SkVector</a> <a href='#SkMatrix_mapVector'>mapVector</a>(<a hr…
3614 …href='SkPoint_Reference#Vector'>vector</a> (<a href='#SkMatrix_mapVector_2_dx'>dx</a>, <a href='#S…
3617 | A B 0 | | <a href='#SkMatrix_mapVector_2_dx'>dx</a> |
3618 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E 0 |, vec = | <a href='#SkMatrix_mapVector_2…
3619 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3621 each result <a href='SkPoint_Reference#Vector'>vector</a> is computed as:
3623 …href='#SkMatrix_mapVector_2_dx'>dx</a>| A*<a href='#SkMatri…
3624 …href='SkMatrix_Reference#Matrix'>Matrix</a> * vec = |D E 0| |<a href='#SkMatrix_mapVector_2_dy'>dy…
3625 …href='#SkMatrix_I'>I</a>| | 1| G*<a href='#SkMatrix_mapVecto…
3630 <td>x-axis value of <a href='SkPoint_Reference#Vector'>vector</a> to map</td>
3633 <td>y-axis value of <a href='SkPoint_Reference#Vector'>vector</a> to map</td>
3639 mapped <a href='SkPoint_Reference#Vector'>vector</a>
3647 <a href='#SkMatrix_mapVectors'>mapVectors</a> <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='…
3654 bool <a href='#SkMatrix_mapRect'>mapRect</a>(<a href='SkRect_Reference#SkRect'>SkRect</a>* dst, con…
3657 Sets <a href='#SkMatrix_mapRect_dst'>dst</a> to bounds of <a href='#SkMatrix_mapRect_src'>src</a> c…
3658 Returns true if mapped corners are <a href='#SkMatrix_mapRect_dst'>dst</a> corners.
3660 Returned value is the same as calling <a href='#SkMatrix_rectStaysRect'>rectStaysRect</a>().
3665 <td>storage for bounds of mapped <a href='SkPoint_Reference#SkPoint'>SkPoint</a></td>
3668 <td><a href='SkRect_Reference#SkRect'>SkRect</a> to map</td>
3674 true if <a href='#SkMatrix_mapRect_dst'>dst</a> is equivalent to mapped <a href='#SkMatrix_mapRect_…
3682 <a href='#SkMatrix_mapPoints'>mapPoints</a> <a href='#SkMatrix_rectStaysRect'>rectStaysRect</a>
3689 bool <a href='#SkMatrix_mapRect'>mapRect</a>(<a href='SkRect_Reference#SkRect'>SkRect</a>* <a href=…
3692 Sets <a href='#SkMatrix_mapRect_2_rect'>rect</a> to bounds of <a href='#SkMatrix_mapRect_2_rect'>re…
3693 Returns true if mapped corners are computed <a href='#SkMatrix_mapRect_2_rect'>rect</a> corners.
3695 Returned value is the same as calling <a href='#SkMatrix_rectStaysRect'>rectStaysRect</a>().
3706 true if result is equivalent to mapped <a href='#SkMatrix_mapRect_2_rect'>rect</a>
3714 <a href='#SkMatrix_mapRectScaleTranslate'>mapRectScaleTranslate</a> <a href='#SkMatrix_mapPoints'>m…
3721 <a href='SkRect_Reference#SkRect'>SkRect</a> <a href='#SkMatrix_mapRect'>mapRect</a>(const <a href=…
3724 Returns bounds of <a href='#SkMatrix_mapRect_3_src'>src</a> corners mapped by <a href='SkMatrix_Ref…
3743 <a href='#SkMatrix_mapRectToQuad'>mapRectToQuad</a> <a href='#SkMatrix_mapRectScaleTranslate'>mapRe…
3750 …href='#SkMatrix_mapRectToQuad'>mapRectToQuad</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> d…
3753 Maps four corners of <a href='#SkMatrix_mapRectToQuad_rect'>rect</a> to <a href='#SkMatrix_mapRectT…
3754 <a href='#SkMatrix_mapRectToQuad_rect'>rect</a> corner by <a href='SkMatrix_Reference#SkMatrix'>SkM…
3755 …href='#SkMatrix_mapRectToQuad_rect'>rect</a>.<a href='#SkRect_fLeft'>fLeft</a>, <a href='#SkMatrix…
3756 (<a href='#SkMatrix_mapRectToQuad_rect'>rect</a>.<a href='#SkRect_fLeft'>fLeft</a>, <a href='#SkMat…
3758 …href='#SkMatrix_mapRectToQuad_rect'>rect</a> may be empty: <a href='#SkMatrix_mapRectToQuad_rect'>…
3759 …href='#SkMatrix_mapRectToQuad_rect'>rect</a>.<a href='#SkRect_fTop'>fTop</a> may be greater than o…
3764 <a href='SkMatrix_Reference#Matrix'>Matrix</a> = | D E F |, pt = | y |
3765 | G H <a href='#SkMatrix_I'>I</a> | | 1 |
3767 …h of (<a href='#SkMatrix_mapRectToQuad_rect'>rect</a>.<a href='#SkRect_fLeft'>fLeft</a>, <a href='…
3768 …href='#SkMatrix_mapRectToQuad_rect'>rect</a>.<a href='#SkRect_fRight'>fRight</a>, <a href='#SkMatr…
3769 each <a href='#SkMatrix_mapRectToQuad_dst'>dst</a> <a href='SkPoint_Reference#SkPoint'>SkPoint</a> …
3772 <a href='SkMatrix_Reference#Matrix'>Matrix</a> * pt = |D E F| |y| = |Ax+By+C Dx+Ey+F Gx+Hy+<a href=…
3773 |G H <a href='#SkMatrix_I'>I</a>| |1| Gx+Hy+<a href='#SkMatrix_I'>I</…
3778 <td>storage for mapped corner <a href='SkPoint_Reference#SkPoint'>SkPoint</a></td>
3781 <td><a href='SkRect_Reference#SkRect'>SkRect</a> to map</td>
3791 <a href='#SkMatrix_mapRect'>mapRect</a> <a href='#SkMatrix_mapRectScaleTranslate'>mapRectScaleTrans…
3798 void <a href='#SkMatrix_mapRectScaleTranslate'>mapRectScaleTranslate</a>(<a href='SkRect_Reference#…
3801 …href='#SkMatrix_mapRectScaleTranslate_dst'>dst</a> to bounds of <a href='#SkMatrix_mapRectScaleTra…
3808 <td>storage for bounds of mapped <a href='SkPoint_Reference#SkPoint'>SkPoint</a></td>
3811 <td><a href='SkRect_Reference#SkRect'>SkRect</a> to map</td>
3821 …href='#SkMatrix_mapRect'>mapRect</a> <a href='#SkMatrix_mapRectToQuad'>mapRectToQuad</a> <a href='…
3828 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_mapRadius'>mapRadius</a>(<a href='u…
3831 Returns geometric mean <a href='#SkMatrix_mapRadius_radius'>radius</a> of ellipse formed by constru…
3832 …href='undocumented#Size'>size</a> <a href='#SkMatrix_mapRadius_radius'>radius</a>, and mapping con…
3834 Result is not meaningful if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contains perspective…
3839 <td><a href='undocumented#Circle'>circle</a> <a href='undocumented#Size'>size</a> to map</td>
3845 average mapped <a href='#SkMatrix_mapRadius_radius'>radius</a>
3855 <a href='#SkMatrix_mapVector'>mapVector</a>
3862 bool <a href='#SkMatrix_isFixedStepInX'>isFixedStepInX</a>()const
3865 Returns true if a unit step on x-axis at some y-axis value mapped through <a href='SkMatrix_Referen…
3866 can be represented by a constant <a href='SkPoint_Reference#Vector'>vector</a>. Returns true if <a …
3867 …href='#SkMatrix_kIdentity_Mask'>kIdentity_Mask</a>, or combinations of: <a href='#SkMatrix_kTransl…
3869 … true if <a href='#SkMatrix_getType'>getType</a>() returns <a href='#SkMatrix_kPerspective_Mask'>k…
3874 true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> does not have complex perspective
3905 <a href='#SkMatrix_fixedStepInX'>fixedStepInX</a> <a href='#SkMatrix_getType'>getType</a>
3912 <a href='SkPoint_Reference#SkVector'>SkVector</a> <a href='#SkMatrix_fixedStepInX'>fixedStepInX</a>…
3915 … <a href='SkPoint_Reference#Vector'>vector</a> representing a unit step on x-axis at <a href='#SkM…
3916 If <a href='#SkMatrix_isFixedStepInX'>isFixedStepInX</a>() is false, returned value is undefined.
3921 <td>position of <a href='undocumented#Line'>line</a> parallel to x-axis</td>
3927 <a href='SkPoint_Reference#Vector'>vector</a> advance of mapped unit step on x-axis
3935 <a href='#SkMatrix_isFixedStepInX'>isFixedStepInX</a> <a href='#SkMatrix_getType'>getType</a>
3942 bool <a href='#SkMatrix_cheapEqualTo'>cheapEqualTo</a>(const <a href='SkMatrix_Reference#SkMatrix'>…
3945 Returns true if <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> equals <a href='#SkMatrix_cheapE…
3948 <a href='SkMatrix_Reference#Matrix'>matrix</a> has positive zero value and the other has negative z…
3950 Returns true even when both <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contain NaN.
3958 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to compare</td>
3964 true if <a href='#SkMatrix_cheapEqualTo_m'>m</a> and <a href='SkMatrix_Reference#SkMatrix'>SkMatrix…
3983 <a href='#SkMatrix_equal_operator'>operator==</a>(const <a href='SkMatrix_Reference#SkMatrix'>SkMat…
3990 bool <a href='#SkMatrix_equal_operator'>operator==</a>(const <a href='SkMatrix_Reference#SkMatrix'>…
3993 …href='#SkMatrix_equal_operator_a'>a</a> and <a href='#SkMatrix_equal_operator_b'>b</a>; returns tr…
3994 even if sign of zero values are different. Returns false if either <a href='SkMatrix_Reference#SkMa…
3995 contains NaN, even if the other <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> also contains Na…
4000 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to compare</td>
4003 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to compare</td>
4009 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_equal_operator_a'>a</a> and <a …
4025 …href='#SkMatrix_cheapEqualTo'>cheapEqualTo</a> <a href='#SkMatrix_notequal_operator'>operator!=</a…
4032 bool <a href='#SkMatrix_notequal_operator'>operator!=</a>(const <a href='SkMatrix_Reference#SkMatri…
4035 …href='#SkMatrix_notequal_operator_a'>a</a> and <a href='#SkMatrix_notequal_operator_b'>b</a>; retu…
4036 even if sign of zero values are different. Returns true if either <a href='SkMatrix_Reference#SkMat…
4037 contains NaN, even if the other <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> also contains Na…
4042 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to compare</td>
4045 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to compare</td>
4051 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_notequal_operator_a'>a</a> and …
4059 …href='#SkMatrix_cheapEqualTo'>cheapEqualTo</a> <a href='#SkMatrix_equal_operator'>operator==</a>(c…
4068 void <a href='#SkMatrix_dump'>dump()</a>const
4071 …tes <a href='undocumented#Text'>text</a> representation of <a href='SkMatrix_Reference#SkMatrix'>S…
4073 original <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> from output.
4091 <a href='SkPath_Reference#SkPath'>SkPath</a>::<a href='#SkPath_dump'>dump</a>
4098 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getMinScale'>getMinScale</a>()const
4101 Returns the minimum scaling factor of <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> by decompo…
4103 Returns -1 if scale factor overflows or <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contains…
4123 <a href='#SkMatrix_getMaxScale'>getMaxScale</a> <a href='#SkMatrix_getMinMaxScales'>getMinMaxScales…
4130 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkMatrix_getMaxScale'>getMaxScale</a>()const
4133 Returns the maximum scaling factor of <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> by decompo…
4135 Returns -1 if scale factor overflows or <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> contains…
4155 <a href='#SkMatrix_getMinScale'>getMinScale</a> <a href='#SkMatrix_getMinMaxScales'>getMinMaxScales…
4162 bool <a href='#SkMatrix_getMinMaxScales'>getMinMaxScales</a>(<a href='undocumented#SkScalar'>SkScal…
4165 Sets <a href='#SkMatrix_getMinMaxScales_scaleFactors'>scaleFactors</a>[0] to the minimum scaling fa…
4167 the <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> scaling and skewing elements.
4169 Returns true if <a href='#SkMatrix_getMinMaxScales_scaleFactors'>scaleFactors</a> are found; otherw…
4170 <a href='#SkMatrix_getMinMaxScales_scaleFactors'>scaleFactors</a> to undefined values.
4197 <a href='#SkMatrix_getMinScale'>getMinScale</a> <a href='#SkMatrix_getMaxScale'>getMaxScale</a>
4204 bool <a href='#SkMatrix_decomposeScale'>decomposeScale</a>(<a href='undocumented#SkSize'>SkSize</a>…
4207 Decomposes <a href='SkMatrix_Reference#Matrix'>Matrix</a> into <a href='#SkMatrix_decomposeScale_sc…
4208 <a href='SkMatrix_Reference#Matrix'>Matrix</a> could not be decomposed.
4210 …href='#SkMatrix_decomposeScale_scale'>scale</a> to portion of <a href='SkMatrix_Reference#Matrix'>…
4211 with scaling factored out. <a href='#SkMatrix_decomposeScale_remaining'>remaining</a> may be passed…
4212 to determine if <a href='SkMatrix_Reference#Matrix'>Matrix</a> can be decomposed without computing …
4214 …rue if <a href='#SkMatrix_decomposeScale_scale'>scale</a> components are found. <a href='#SkMatrix…
4215 unchanged if <a href='SkMatrix_Reference#Matrix'>Matrix</a> contains perspective; <a href='#SkMatri…
4218 On success: <code><a href='SkMatrix_Reference#Matrix'>Matrix</a> = <a href='#SkMatrix_decomposeScal…
4226 <td><a href='SkMatrix_Reference#Matrix'>Matrix</a> without scaling; may be nullptr</td>
4232 true if <a href='#SkMatrix_decomposeScale_scale'>scale</a> can be computed
4251 <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMatrix_MakeScale'>MakeScale</a>
4258 static const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>& <a href='#SkMatrix_I'>I</a>()
4261 Returns reference to const identity <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>. Returned <a…
4269 const identity <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>
4286 <a href='#SkMatrix_reset'>reset()</a> <a href='#SkMatrix_setIdentity'>setIdentity</a>
4293 static const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>& <a href='#SkMatrix_InvalidMatrix'>…
4296 Returns reference to a const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> with invalid values…
4299 | <a href='undocumented#SK_ScalarMax'>SK_ScalarMax</a> <a href='undocumented#SK_ScalarMax'>SK_Scala…
4300 | <a href='undocumented#SK_ScalarMax'>SK_ScalarMax</a> <a href='undocumented#SK_ScalarMax'>SK_Scala…
4301 | <a href='undocumented#SK_ScalarMax'>SK_ScalarMax</a> <a href='undocumented#SK_ScalarMax'>SK_Scala…
4305 const invalid <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>
4321 <a href='#SkMatrix_getType'>getType</a>
4328 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_Concat'>Concat</a>(const <a hre…
4331 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> <a href='#SkMatrix_Concat_a'>a</a> multiplied by <…
4336 <a href='#SkMatrix_Concat_a'>a</a> = | D E F |, <a href='#SkMatrix_Concat_b'>b</a> = | M N O |
4337 | G H <a href='#SkMatrix_I'>I</a> | | P Q R |
4339 sets <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to:
4342 <a href='#SkMatrix_Concat_a'>a</a> * <a href='#SkMatrix_Concat_b'>b</a> = | D E F | * | M N O | = |…
4343 | G H <a href='#SkMatrix_I'>I</a> | | P Q R | | GJ+HM+IP GK+HN+IQ GL+HO+IR |
4348 <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> on left side of multiply expression</td>
4351 … <td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> on right side of multiply expression</td>
4357 <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> computed from <a href='#SkMatrix_Concat_a'>a</a>…
4361 …62c7052da94f3d5b2412dca41946"><div><a href='#SkMatrix_setPolyToPoly'>setPolyToPoly</a> creates per…
4362 Multiplying the <a href='SkMatrix_Reference#Matrix'>matrix</a> by its inverse turns into an identit…
4367 <a href='#SkMatrix_preConcat'>preConcat</a> <a href='#SkMatrix_postConcat'>postConcat</a>
4374 void <a href='#SkMatrix_dirtyMatrixTypeCache'>dirtyMatrixTypeCache</a>()
4378 modifications to <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> element reference returned by <…
4397 <a href='#SkMatrix_array1_operator'>operator[]</a>(int index) <a href='#SkMatrix_getType'>getType</…
4404 …href='#SkMatrix_setScaleTranslate'>setScaleTranslate</a>(<a href='undocumented#SkScalar'>SkScalar<…
4407 Initializes <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> with scale and translate elements.
4409 | <a href='#SkMatrix_setScaleTranslate_sx'>sx</a> 0 <a href='#SkMatrix_setScaleTranslate_tx'>tx</a…
4410 | 0 <a href='#SkMatrix_setScaleTranslate_sy'>sy</a> <a href='#SkMatrix_setScaleTranslate_ty'>ty</a…
4443 <a href='#SkMatrix_setScale'>setScale</a> <a href='#SkMatrix_preTranslate'>preTranslate</a> <a href…
4450 bool <a href='#SkMatrix_isFinite'>isFinite</a>()const
4453 Returns true if all elements of the <a href='SkMatrix_Reference#Matrix'>matrix</a> are finite. Retu…
4458 true if <a href='SkMatrix_Reference#Matrix'>matrix</a> has only finite elements