• Home
  • Raw
  • Download

Lines Matching full:a

5 <a name='SkPoint'></a>
10 struct <a href='SkPoint_Reference#SkPoint'>SkPoint</a> {
12 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_fX'>fX</a>;
13 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_fY'>fY</a>;
15a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='#SkPoint_Make'>Make</a>(<a href='undocumen…
16 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_x'>x()</a> const;
17 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_y'>y()</a> const;
18 bool <a href='#SkPoint_isZero'>isZero</a>() const;
19 …void <a href='#SkPoint_set'>set</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undoc…
20 void <a href='#SkPoint_iset'>iset</a>(int32_t x, int32_t y);
21 …void <a href='#SkPoint_iset'>iset</a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& p);
22 …void <a href='#SkPoint_setAbs'>setAbs</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoint</a>& p…
23a href='#SkPoint_Offset'>Offset</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='SkPoi…
24a href='#SkPoint_Offset'>Offset</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='SkPoi…
25 …void <a href='#SkPoint_offset'>offset</a>(<a href='undocumented#SkScalar'>SkScalar</a> dx, <a href…
26 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_length'>length()</a> const;
27 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_distanceToOrigin'>distanceToOrigin<…
28 bool <a href='#SkPoint_normalize'>normalize()</a>;
29 …bool <a href='#SkPoint_setNormalize'>setNormalize</a>(<a href='undocumented#SkScalar'>SkScalar</a>…
30 …bool <a href='#SkPoint_setLength'>setLength</a>(<a href='undocumented#SkScalar'>SkScalar</a> lengt…
31a href='#SkPoint_setLength'>setLength</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href=…
32 …void <a href='#SkPoint_scale'>scale</a>(<a href='undocumented#SkScalar'>SkScalar</a> scale, <a hre…
33 void <a href='#SkPoint_scale'>scale</a>(<a href='undocumented#SkScalar'>SkScalar</a> value);
34 void <a href='#SkPoint_negate'>negate()</a>;
35 <a href='SkPoint_Reference#SkPoint'>SkPoint</a> operator-() const;
36 …void <a href='#SkPoint_addto_operator'>operator+=</a>(const <a href='SkPoint_Reference#SkVector'>S…
37 …void <a href='#SkPoint_subtractfrom_operator'>operator-=</a>(const <a href='SkPoint_Reference#SkVe…
38 …<a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='#SkPoint_multiply_operator'>operator*</a>…
39 …<a href='SkPoint_Reference#SkPoint'>SkPoint</a>& <a href='#SkPoint_multiplyby_operator'>operator*=…
40 bool <a href='#SkPoint_isFinite'>isFinite</a>() const;
41 …bool <a href='#SkPoint_equals'>equals</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href=…
42a href='#SkPoint_equal_operator'>operator==</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoint<…
43a href='#SkPoint_notequal_operator'>operator!=</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoi…
44a href='SkPoint_Reference#SkVector'>SkVector</a> <a href='#SkPoint_subtract_operator'>operator-</a
45a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='#SkPoint_add_operator'>operator+</a>(const…
46a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_Length'>Length</a>(<a href='undocume…
47 …static <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_Normalize'>Normalize</a>(<a
48a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_Distance'>Distance</a>(const <a href…
49a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_DotProduct'>DotProduct</a>(const <a
50a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_CrossProduct'>CrossProduct</a>(const…
51 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_cross'>cross</a>(const <a href='SkP…
52 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_dot'>dot</a>(const <a href='SkPoint…
57 <a href='SkPoint_Reference#SkPoint'>SkPoint</a> holds two 32-bit floating <a href='SkPoint_Referenc…
64 …align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkPoint_fX'><code>fX</code></a></…
66 x-axis value used by both <a href='SkPoint_Reference#Point'>Point</a> and <a href='SkPoint_Referenc…
72 …align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkPoint_fY'><code>fY</code></a></…
74 y-axis value used by both <a href='SkPoint_Reference#Point'>Point</a> and <a href='SkPoint_Referenc…
80 <a name='SkPoint_Make'></a>
85a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='#SkPoint_Make'>Make</a>(<a href='undocumen…
88a href='#SkPoint_fX'>fX</a> to <a href='#SkPoint_Make_x'>x</a>, <a href='#SkPoint_fY'>fY</a> to <a
92 <table> <tr> <td><a name='SkPoint_Make_x'><code><strong>x</strong></code></a></td>
93a href='undocumented#SkScalar'>SkScalar</a> x-axis value of constructed <a href='SkPoint_Reference…
95 <tr> <td><a name='SkPoint_Make_y'><code><strong>y</strong></code></a></td>
96a href='undocumented#SkScalar'>SkScalar</a> y-axis value of constructed <a href='SkPoint_Reference…
102 <a href='SkPoint_Reference#SkPoint'>SkPoint</a> (<a href='#SkPoint_Make_x'>x</a>, <a href='#SkPoint…
118 <a href='#SkPoint_set'>set()</a> <a href='#SkPoint_iset'>iset()</a> <a href='SkIPoint_Reference#SkI…
120 <a name='Property'></a>
122 <a name='SkPoint_x'></a>
127 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_x'>x()</a>const
130 Returns x-axis value of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> or <a href='SkPoint_Referen…
134 <a href='#SkPoint_fX'>fX</a>
150 <a href='#SkPoint_y'>y()</a> <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>::<a href='#SkIPoint…
152 <a name='SkPoint_y'></a>
157 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_y'>y()</a>const
160 Returns y-axis value of <a href='SkPoint_Reference#SkPoint'>SkPoint</a> or <a href='SkPoint_Referen…
164 <a href='#SkPoint_fY'>fY</a>
180 <a href='#SkPoint_x'>x()</a> <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>::<a href='#SkIPoint…
182 <a name='SkPoint_isZero'></a>
187 bool <a href='#SkPoint_isZero'>isZero</a>()const
190 Returns true if <a href='#SkPoint_fX'>fX</a> and <a href='#SkPoint_fY'>fY</a> are both zero.
194 true if <a href='#SkPoint_fX'>fX</a> is zero and <a href='#SkPoint_fY'>fY</a> is zero
211 <a href='#SkPoint_isFinite'>isFinite</a> <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>::<a hre…
213 <a name='Set'></a>
215 <a name='SkPoint_set'></a>
220 void set(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undocumented#SkScalar'>SkScalar</
223 Sets <a href='#SkPoint_fX'>fX</a> to <a href='#SkPoint_set_x'>x</a> and <a href='#SkPoint_fY'>fY</a
227 <table> <tr> <td><a name='SkPoint_set_x'><code><strong>x</strong></code></a></td>
228 <td>new value for <a href='#SkPoint_fX'>fX</a></td>
230 <tr> <td><a name='SkPoint_set_y'><code><strong>y</strong></code></a></td>
231 <td>new value for <a href='#SkPoint_fY'>fY</a></td>
249 <a href='#SkPoint_iset'>iset()</a> <a href='#SkPoint_Make'>Make</a>
251 <a name='SkPoint_iset'></a>
256 void <a href='#SkPoint_iset'>iset</a>(int32_t x, int32_t y)
259a href='#SkPoint_fX'>fX</a> to <a href='#SkPoint_iset_x'>x</a> and <a href='#SkPoint_fY'>fY</a> to…
261 Assigning a large integer value directly to <a href='#SkPoint_fX'>fX</a> or <a href='#SkPoint_fY'>f…
262 error, triggered by narrowing conversion of int to <a href='undocumented#SkScalar'>SkScalar</a>. Th…
263 casts <a href='#SkPoint_iset_x'>x</a> and <a href='#SkPoint_iset_y'>y</a> to avoid the error.
267 <table> <tr> <td><a name='SkPoint_iset_x'><code><strong>x</strong></code></a></td>
268 <td>new value for <a href='#SkPoint_fX'>fX</a></td>
270 <tr> <td><a name='SkPoint_iset_y'><code><strong>y</strong></code></a></td>
271 <td>new value for <a href='#SkPoint_fY'>fY</a></td>
281 <a href='#SkPoint_set'>set</a> <a href='#SkPoint_Make'>Make</a> <a href='SkIPoint_Reference#SkIPoin…
283 <a name='SkPoint_iset_2'></a>
288 void <a href='#SkPoint_iset'>iset</a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& p)
291a href='#SkPoint_fX'>fX</a> to <a href='#SkPoint_iset_2_p'>p</a>.<a href='#SkIPoint_fX'>fX</a> and…
293a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> containing a large integer value directly to <a
294 cause a compiler error, triggered by narrowing conversion of int to <a href='undocumented#SkScalar'…
295 …fely casts <a href='#SkPoint_iset_2_p'>p</a>.<a href='#SkIPoint_fX'>fX</a> and <a href='#SkPoint_i…
299 <table> <tr> <td><a name='SkPoint_iset_2_p'><code><strong>p</strong></code></a></td>
300 …<td><a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> members promoted to <a href='undocumented#S…
319 <a href='#SkPoint_set'>set</a> <a href='#SkPoint_Make'>Make</a> <a href='SkIPoint_Reference#SkIPoin…
321 <a name='SkPoint_setAbs'></a>
326 void <a href='#SkPoint_setAbs'>setAbs</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoint</a>& pt)
329a href='#SkPoint_fX'>fX</a> to absolute value of <a href='#SkPoint_setAbs_pt'>pt</a>.<a href='#SkP…
333 <table> <tr> <td><a name='SkPoint_setAbs_pt'><code><strong>pt</strong></code></a></td>
334 …<td>members providing magnitude for <a href='#SkPoint_fX'>fX</a> and <a href='#SkPoint_fY'>fY</a><…
355 <a href='#SkPoint_set'>set</a> <a href='#SkPoint_Make'>Make</a> <a href='#SkPoint_negate'>negate</a>
357 <a name='Offset'></a>
359 <a name='SkPoint_Offset'></a>
364a href='#SkPoint_Offset'>Offset</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='SkPoi…
367a href='#SkPoint_Offset_offset'>offset</a> to each <a href='SkPoint_Reference#SkPoint'>SkPoint</a>…
371 <table> <tr> <td><a name='SkPoint_Offset_points'><code><strong>points</strong></code></a></td>
372 <td><a href='SkPath_Reference#Point_Array'>SkPoint array</a></td>
374 <tr> <td><a name='SkPoint_Offset_count'><code><strong>count</strong></code></a></td>
377 <tr> <td><a name='SkPoint_Offset_offset'><code><strong>offset</strong></code></a></td>
378 …<td><a href='SkPoint_Reference#Vector'>vector</a> added to <a href='#SkPoint_Offset_points'>points…
388 <a href='#SkPoint_Offset_offset'>offset</a> <a href='#SkPoint_addto_operator'>operator+=</a>(const …
390 <a name='SkPoint_Offset_2'></a>
395a href='#SkPoint_Offset'>Offset</a>(<a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='SkPoi…
398a href='#SkPoint_Offset_2_dx'>dx</a>, <a href='#SkPoint_Offset_2_dy'>dy</a>) to each <a href='SkPo…
402 <table> <tr> <td><a name='SkPoint_Offset_2_points'><code><strong>points</strong></code></a></td>
403 <td><a href='SkPath_Reference#Point_Array'>SkPoint array</a></td>
405 <tr> <td><a name='SkPoint_Offset_2_count'><code><strong>count</strong></code></a></td>
408 <tr> <td><a name='SkPoint_Offset_2_dx'><code><strong>dx</strong></code></a></td>
409 <td>added to <a href='#SkPoint_fX'>fX</a> in <a href='#SkPoint_Offset_2_points'>points</a></td>
411 <tr> <td><a name='SkPoint_Offset_2_dy'><code><strong>dy</strong></code></a></td>
412 <td>added to <a href='#SkPoint_fY'>fY</a> in <a href='#SkPoint_Offset_2_points'>points</a></td>
422 <a href='#SkPoint_offset'>offset</a> <a href='#SkPoint_addto_operator'>operator+=</a>(const <a href…
424 <a name='SkPoint_offset'></a>
429 void offset(<a href='undocumented#SkScalar'>SkScalar</a> dx, <a href='undocumented#SkScalar'>SkScal…
432 Adds offset (<a href='#SkPoint_offset_dx'>dx</a>, <a href='#SkPoint_offset_dy'>dy</a>) to <a href='…
436 <table> <tr> <td><a name='SkPoint_offset_dx'><code><strong>dx</strong></code></a></td>
437 <td>added to <a href='#SkPoint_fX'>fX</a></td>
439 <tr> <td><a name='SkPoint_offset_dy'><code><strong>dy</strong></code></a></td>
440 <td>added to <a href='#SkPoint_fY'>fY</a></td>
450 <a href='#SkPoint_Offset'>Offset</a> <a href='#SkPoint_addto_operator'>operator+=</a>(const <a href…
452 <a name='SkPoint_length'></a>
457 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_length'>length()</a>const
462a href='undocumented#sqrt()'>sqrt</a>(<a href='#SkPoint_fX'>fX</a> * <a href='#SkPoint_fX'>fX</a> …
476a href='#SkPoint_distanceToOrigin'>distanceToOrigin</a> <a href='#SkPoint_Length'>Length</a> <a hr…
478 <a name='SkPoint_distanceToOrigin'></a>
483 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_distanceToOrigin'>distanceToOrigin</
488a href='undocumented#sqrt()'>sqrt</a>(<a href='#SkPoint_fX'>fX</a> * <a href='#SkPoint_fX'>fX</a> …
502a href='#SkPoint_length'>length</a> <a href='#SkPoint_Length'>Length</a> <a href='#SkPoint_setLeng…
504 <a name='SkPoint_normalize'></a>
509 bool <a href='#SkPoint_normalize'>normalize()</a>
512a href='#SkPoint_fX'>fX</a>, <a href='#SkPoint_fY'>fY</a>) so that <a href='#SkPoint_length'>lengt…
513 if possible. If prior length is nearly zero, sets <a href='SkPoint_Reference#Vector'>vector</a> to …
526a href='#SkPoint_Normalize'>Normalize</a> <a href='#SkPoint_setLength'>setLength</a> <a href='#SkP…
528 <a name='SkPoint_setNormalize'></a>
533 bool <a href='#SkPoint_setNormalize'>setNormalize</a>(<a href='undocumented#SkScalar'>SkScalar</a> …
536a href='SkPoint_Reference#Vector'>vector</a> to (<a href='#SkPoint_setNormalize_x'>x</a>, <a href=…
537a href='#SkPoint_fX'>fX</a>, <a href='#SkPoint_fY'>fY</a>) is proportional to (<a href='#SkPoint_s…
538 sets <a href='SkPoint_Reference#Vector'>vector</a> to (0, 0) and returns false; otherwise returns t…
542 <table> <tr> <td><a name='SkPoint_setNormalize_x'><code><strong>x</strong></code></a></td>
543 <td>proportional value for <a href='#SkPoint_fX'>fX</a></td>
545 <tr> <td><a name='SkPoint_setNormalize_y'><code><strong>y</strong></code></a></td>
546 <td>proportional value for <a href='#SkPoint_fY'>fY</a></td>
552 true if (<a href='#SkPoint_setNormalize_x'>x</a>, <a href='#SkPoint_setNormalize_y'>y</a>) length i…
560 <a href='#SkPoint_normalize'>normalize</a> <a href='#SkPoint_setLength'>setLength</a>
562 <a name='SkPoint_setLength'></a>
567 bool <a href='#SkPoint_setLength'>setLength</a>(<a href='undocumented#SkScalar'>SkScalar</a> length)
570a href='SkPoint_Reference#Vector'>vector</a> so that <a href='#SkPoint_distanceToOrigin'>distanceT…
571 <a href='#SkPoint_setLength_length'>length</a> is nearly zero, sets <a href='SkPoint_Reference#Vect…
576 <table> <tr> <td><a name='SkPoint_setLength_length'><code><strong>length</strong></code></a></t…
583 true if former <a href='#SkPoint_setLength_length'>length</a> is not zero or nearly zero
591a href='#SkPoint_setLength_length'>length</a> <a href='#SkPoint_Length'>Length</a> <a href='#SkPoi…
593 <a name='SkPoint_setLength_2'></a>
598a href='#SkPoint_setLength'>setLength</a>(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href=…
601a href='SkPoint_Reference#Vector'>vector</a> to (<a href='#SkPoint_setLength_2_x'>x</a>, <a href='…
602 <a href='#SkPoint_setLength_2_length'>length</a> is nearly zero, sets <a href='SkPoint_Reference#Ve…
607 <table> <tr> <td><a name='SkPoint_setLength_2_x'><code><strong>x</strong></code></a></td>
608 <td>proportional value for <a href='#SkPoint_fX'>fX</a></td>
610 <tr> <td><a name='SkPoint_setLength_2_y'><code><strong>y</strong></code></a></td>
611 <td>proportional value for <a href='#SkPoint_fY'>fY</a></td>
613 <tr> <td><a name='SkPoint_setLength_2_length'><code><strong>length</strong></code></a></td>
620 true if (<a href='#SkPoint_setLength_2_x'>x</a>, <a href='#SkPoint_setLength_2_y'>y</a>) <a href='#…
628a href='#SkPoint_setLength_2_length'>length</a> <a href='#SkPoint_Length'>Length</a> <a href='#SkP…
630 <a name='SkPoint_scale'></a>
635 void scale(<a href='undocumented#SkScalar'>SkScalar</a> scale, <a href='SkPoint_Reference#SkPoint'>…
638a href='#SkPoint_scale_dst'>dst</a> to <a href='SkPoint_Reference#SkPoint'>SkPoint</a> times <a hr…
642 <table> <tr> <td><a name='SkPoint_scale_scale'><code><strong>scale</strong></code></a></td>
643 <td>factor to multiply <a href='SkPoint_Reference#SkPoint'>SkPoint</a> by</td>
645 <tr> <td><a name='SkPoint_scale_dst'><code><strong>dst</strong></code></a></td>
646 <td>storage for scaled <a href='SkPoint_Reference#SkPoint'>SkPoint</a></td>
656a href='#SkPoint_multiply_operator'>operator*</a>(<a href='undocumented#SkScalar'>SkScalar</a> <a
658 <a name='SkPoint_scale_2'></a>
663 void scale(<a href='undocumented#SkScalar'>SkScalar</a> value)
666 Scales <a href='SkPoint_Reference#SkPoint'>SkPoint</a> in place by scale.
670 <table> <tr> <td><a name='SkPoint_scale_2_value'><code><strong>value</strong></code></a></td>
671 <td>factor to multiply <a href='SkPoint_Reference#SkPoint'>SkPoint</a> by</td>
681a href='#SkPoint_multiply_operator'>operator*</a>(<a href='undocumented#SkScalar'>SkScalar</a> <a
683 <a name='SkPoint_negate'></a>
688 void <a href='#SkPoint_negate'>negate()</a>
691 Changes the sign of <a href='#SkPoint_fX'>fX</a> and <a href='#SkPoint_fY'>fY</a>.
710 operator-() const <a href='#SkPoint_setAbs'>setAbs</a>
712 <a name='SkPoint_minus_operator'></a>
717 <a href='SkPoint_Reference#SkPoint'>SkPoint</a> operator-()const
720 Returns <a href='SkPoint_Reference#SkPoint'>SkPoint</a> changing the signs of <a href='#SkPoint_fX'…
724 <a href='SkPoint_Reference#SkPoint'>SkPoint</a> as (-<a href='#SkPoint_fX'>fX</a>, -<a href='#SkPoi…
743a href='#SkPoint_negate'>negate</a> <a href='#SkPoint_subtract_operator'>operator-</a>(const <a hr…
745 <a name='SkPoint_addto_operator'></a>
750 void <a href='#SkPoint_addto_operator'>operator+=</a>(const <a href='SkPoint_Reference#SkVector'>Sk…
753a href='SkPoint_Reference#Vector'>Vector</a> <a href='#SkPoint_addto_operator_v'>v</a> to <a href=…
757 <table> <tr> <td><a name='SkPoint_addto_operator_v'><code><strong>v</strong></code></a></td>
758 <td><a href='SkPoint_Reference#Vector'>Vector</a> to add</td>
768a href='#SkPoint_offset'>offset()</a> <a href='#SkPoint_add_operator'>operator+</a>(const <a href=…
770 <a name='SkPoint_subtractfrom_operator'></a>
775 void <a href='#SkPoint_subtractfrom_operator'>operator-=</a>(const <a href='SkPoint_Reference#SkVec…
778a href='SkPoint_Reference#Vector'>Vector</a> <a href='#SkPoint_subtractfrom_operator_v'>v</a> from…
782 <table> <tr> <td><a name='SkPoint_subtractfrom_operator_v'><code><strong>v</strong></code></a><…
783 <td><a href='SkPoint_Reference#Vector'>Vector</a> to subtract</td>
793a href='#SkPoint_offset'>offset()</a> <a href='#SkPoint_subtract_operator'>operator-</a>(const <a
795 <a name='SkPoint_multiply_operator'></a>
800 <a href='SkPoint_Reference#SkPoint'>SkPoint</a> operator*(<a href='undocumented#SkScalar'>SkScalar<…
803 Returns <a href='SkPoint_Reference#SkPoint'>SkPoint</a> multiplied by <a href='#SkPoint_multiply_op…
807 <table> <tr> <td><a name='SkPoint_multiply_operator_scale'><code><strong>scale</strong></code><…
808 <td><a href='undocumented#Scalar'>scalar</a> to multiply by</td>
814a href='SkPoint_Reference#SkPoint'>SkPoint</a> as (<a href='#SkPoint_fX'>fX</a> * <a href='#SkPoin…
822a href='#SkPoint_multiplyby_operator'>operator*=</a>(<a href='undocumented#SkScalar'>SkScalar</a> …
824 <a name='SkPoint_multiplyby_operator'></a>
829 <a href='SkPoint_Reference#SkPoint'>SkPoint</a>& <a href='#SkPoint_multiplyby_operator'>operator*=<…
832a href='SkPoint_Reference#Point'>Point</a> by <a href='#SkPoint_multiplyby_operator_scale'>scale</
836 <table> <tr> <td><a name='SkPoint_multiplyby_operator_scale'><code><strong>scale</strong></code…
837 <td><a href='undocumented#Scalar'>Scalar</a> to multiply by</td>
843 reference to <a href='SkPoint_Reference#Point'>Point</a>
851a href='#SkPoint_multiply_operator'>operator*</a>(<a href='undocumented#SkScalar'>SkScalar</a> <a
853 <a name='SkPoint_isFinite'></a>
858 bool <a href='#SkPoint_isFinite'>isFinite</a>()const
861 Returns true if both <a href='#SkPoint_fX'>fX</a> and <a href='#SkPoint_fY'>fY</a> are measurable v…
884a href='SkRect_Reference#SkRect'>SkRect</a>::<a href='#SkRect_isFinite'>isFinite</a> <a href='SkPa…
886 <a name='SkPoint_equals'></a>
891 bool equals(<a href='undocumented#SkScalar'>SkScalar</a> x, <a href='undocumented#SkScalar'>SkScala…
894a href='SkPoint_Reference#SkPoint'>SkPoint</a> is equivalent to <a href='SkPoint_Reference#SkPoint…
898 <table> <tr> <td><a name='SkPoint_equals_x'><code><strong>x</strong></code></a></td>
899 <td>value compared with <a href='#SkPoint_fX'>fX</a></td>
901 <tr> <td><a name='SkPoint_equals_y'><code><strong>y</strong></code></a></td>
902 <td>value compared with <a href='#SkPoint_fY'>fY</a></td>
908 true if <a href='SkPoint_Reference#SkPoint'>SkPoint</a> equals (<a href='#SkPoint_equals_x'>x</a>, …
927a href='#SkPoint_equal_operator'>operator==</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoint<…
929 <a name='SkPoint_equal_operator'></a>
934a href='#SkPoint_equal_operator'>operator==</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoint<…
937 Returns true if <a href='#SkPoint_equal_operator_a'>a</a> is equivalent to <a href='#SkPoint_equal_…
941 <table> <tr> <td><a name='SkPoint_equal_operator_a'><code><strong>a</strong></code></a></td>
942 <td><a href='SkPoint_Reference#SkPoint'>SkPoint</a> to compare</td>
944 <tr> <td><a name='SkPoint_equal_operator_b'><code><strong>b</strong></code></a></td>
945 <td><a href='SkPoint_Reference#SkPoint'>SkPoint</a> to compare</td>
951a href='#SkPoint_equal_operator_a'>a</a>.<a href='#SkPoint_fX'>fX</a> == <a href='#SkPoint_equal_o…
970a href='#SkPoint_equals'>equals()</a> <a href='#SkPoint_notequal_operator'>operator!=</a>(const <a
972 <a name='SkPoint_notequal_operator'></a>
977a href='#SkPoint_notequal_operator'>operator!=</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoi…
980 Returns true if <a href='#SkPoint_notequal_operator_a'>a</a> is not equivalent to <a href='#SkPoint…
984 <table> <tr> <td><a name='SkPoint_notequal_operator_a'><code><strong>a</strong></code></a></td>
985 <td><a href='SkPoint_Reference#SkPoint'>SkPoint</a> to compare</td>
987 <tr> <td><a name='SkPoint_notequal_operator_b'><code><strong>b</strong></code></a></td>
988 <td><a href='SkPoint_Reference#SkPoint'>SkPoint</a> to compare</td>
994a href='#SkPoint_notequal_operator_a'>a</a>.<a href='#SkPoint_fX'>fX</a> != <a href='#SkPoint_note…
1013a href='#SkPoint_equal_operator'>operator==</a>(const <a href='SkPoint_Reference#SkPoint'>SkPoint<…
1015 <a name='SkPoint_subtract_operator'></a>
1020a href='SkPoint_Reference#SkVector'>SkVector</a> <a href='#SkPoint_subtract_operator'>operator-</a
1023a href='SkPoint_Reference#Vector'>Vector</a> from <a href='#SkPoint_subtract_operator_b'>b</a> to …
1025 …t <a href='SkPoint_Reference#Vector'>Vector</a> from <a href='SkPoint_Reference#Point'>Point</a>, …
1026 …<a href='SkPoint_Reference#Vector'>Vector</a> from <a href='SkPoint_Reference#Vector'>Vector</a>, …
1030 <table> <tr> <td><a name='SkPoint_subtract_operator_a'><code><strong>a</strong></code></a></td>
1031 <td><a href='SkPoint_Reference#Point'>Point</a> to subtract from</td>
1033 <tr> <td><a name='SkPoint_subtract_operator_b'><code><strong>b</strong></code></a></td>
1034 <td><a href='SkPoint_Reference#Point'>Point</a> to subtract</td>
1040 <a href='SkPoint_Reference#Vector'>Vector</a> from <a href='#SkPoint_subtract_operator_b'>b</a> to …
1048a href='#SkPoint_subtractfrom_operator'>operator-=</a>(const <a href='SkPoint_Reference#SkVector'>…
1050 <a name='SkPoint_add_operator'></a>
1055a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='#SkPoint_add_operator'>operator+</a>(const…
1058a href='SkPoint_Reference#Point'>Point</a> resulting from <a href='SkPoint_Reference#Point'>Point<…
1059a href='#SkPoint_add_operator_a'>a</a>.<a href='#SkPoint_fX'>fX</a> + <a href='#SkPoint_add_operat…
1061a href='SkPoint_Reference#Point'>Point</a> <a href='#SkPoint_add_operator_b'>b</a> by <a href='SkP…
1062 … <a href='SkPoint_Reference#Vector'>Vector</a> to <a href='SkPoint_Reference#Vector'>Vector</a>, r…
1066 <table> <tr> <td><a name='SkPoint_add_operator_a'><code><strong>a</strong></code></a></td>
1067 …<td><a href='SkPoint_Reference#Point'>Point</a> or <a href='SkPoint_Reference#Vector'>Vector</a> t…
1069 <tr> <td><a name='SkPoint_add_operator_b'><code><strong>b</strong></code></a></td>
1070 …<td><a href='SkPoint_Reference#Point'>Point</a> or <a href='SkPoint_Reference#Vector'>Vector</a> t…
1076 <a href='SkPoint_Reference#Point'>Point</a> equal to <a href='#SkPoint_add_operator_a'>a</a> offset…
1084 <a href='#SkPoint_addto_operator'>operator+=</a>(const <a href='SkPoint_Reference#SkVector'>SkVecto…
1086 <a name='SkPoint_Length'></a>
1091a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_Length'>Length</a>(<a href='undocume…
1094 Returns the <a href='undocumented#Euclidean_Distance'>Euclidean distance</a> from origin, computed…
1096a href='undocumented#sqrt()'>sqrt</a>(<a href='#SkPoint_Length_x'>x</a> * <a href='#SkPoint_Length…
1102 <table> <tr> <td><a name='SkPoint_Length_x'><code><strong>x</strong></code></a></td>
1105 <tr> <td><a name='SkPoint_Length_y'><code><strong>y</strong></code></a></td>
1120 <a href='#SkPoint_length'>length()</a> <a href='#SkPoint_Distance'>Distance</a> <a href='#SkPoint_s…
1122 <a name='SkPoint_Normalize'></a>
1127 static <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_Normalize'>Normalize</a>(<a h…
1130a href='#SkPoint_Normalize_vec'>vec</a>-><a href='#SkPoint_fX'>fX</a>, <a href='#SkPoint_Normalize…
1131a href='#SkPoint_Normalize_vec'>vec</a>-><a href='#SkPoint_fY'>fY</a>, if possible. If original le…
1132 …o; otherwise, returns length of <a href='#SkPoint_Normalize_vec'>vec</a> before <a href='#SkPoint_…
1134 …may be <a href='undocumented#SK_ScalarInfinity'>SK_ScalarInfinity</a> if it can not be represented…
1136 Note that <a href='#SkPoint_normalize'>normalize()</a> is faster if prior length is not required.
1140 <table> <tr> <td><a name='SkPoint_Normalize_vec'><code><strong>vec</strong></code></a></td>
1147 original <a href='#SkPoint_Normalize_vec'>vec</a> length
1155 <a href='#SkPoint_normalize'>normalize()</a> <a href='#SkPoint_setLength'>setLength</a> <a href='#S…
1157 <a name='SkPoint_Distance'></a>
1162a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_Distance'>Distance</a>(const <a href…
1165 … <a href='undocumented#Euclidean_Distance'>Euclidean distance</a> between <a href='#SkPoint_Dista…
1169 <table> <tr> <td><a name='SkPoint_Distance_a'><code><strong>a</strong></code></a></td>
1170 <td><a href='undocumented#Line'>line</a> end <a href='SkPoint_Reference#Point'>point</a></td>
1172 <tr> <td><a name='SkPoint_Distance_b'><code><strong>b</strong></code></a></td>
1173 <td><a href='undocumented#Line'>line</a> end <a href='SkPoint_Reference#Point'>point</a></td>
1179 straight-line distance from <a href='#SkPoint_Distance_a'>a</a> to <a href='#SkPoint_Distance_b'>b<…
1187 <a href='#SkPoint_length'>length()</a> <a href='#SkPoint_setLength'>setLength</a>
1189 <a name='SkPoint_DotProduct'></a>
1194a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_DotProduct'>DotProduct</a>(const <a
1197a href='SkPoint_Reference#Vector'>vector</a> <a href='#SkPoint_DotProduct_a'>a</a> and <a href='Sk…
1201 <table> <tr> <td><a name='SkPoint_DotProduct_a'><code><strong>a</strong></code></a></td>
1204 <tr> <td><a name='SkPoint_DotProduct_b'><code><strong>b</strong></code></a></td>
1219 <a href='#SkPoint_dot'>dot</a> <a href='#SkPoint_CrossProduct'>CrossProduct</a>
1221 <a name='SkPoint_CrossProduct'></a>
1226a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPoint_CrossProduct'>CrossProduct</a>(const…
1229a href='SkPoint_Reference#Vector'>vector</a> <a href='#SkPoint_CrossProduct_a'>a</a> and <a href='…
1231 <a href='#SkPoint_CrossProduct_a'>a</a> and <a href='#SkPoint_CrossProduct_b'>b</a> form three-dime…
1232 cross product is <a href='#SkPoint_CrossProduct_a'>a</a> three-dimensional <a href='SkPoint_Referen…
1237 <table> <tr> <td><a name='SkPoint_CrossProduct_a'><code><strong>a</strong></code></a></td>
1240 <tr> <td><a name='SkPoint_CrossProduct_b'><code><strong>b</strong></code></a></td>
1247 area spanned by <a href='SkPoint_Reference#Vector'>vectors</a> signed by angle direction
1255 <a href='#SkPoint_cross'>cross</a> <a href='#SkPoint_DotProduct'>DotProduct</a>
1257 <a name='SkPoint_cross'></a>
1262 <a href='undocumented#SkScalar'>SkScalar</a> cross(const <a href='SkPoint_Reference#SkVector'>SkVec…
1265 Returns the cross product of <a href='SkPoint_Reference#Vector'>vector</a> and <a href='#SkPoint_cr…
1267a href='SkPoint_Reference#Vector'>Vector</a> and <a href='#SkPoint_cross_vec'>vec</a> form three-d…
1268 The cross product is a three-dimensional <a href='SkPoint_Reference#Vector'>vector</a> with x-axis …
1273 <table> <tr> <td><a name='SkPoint_cross_vec'><code><strong>vec</strong></code></a></td>
1280 area spanned by <a href='SkPoint_Reference#Vector'>vectors</a> signed by angle direction
1288 <a href='#SkPoint_CrossProduct'>CrossProduct</a> <a href='#SkPoint_dot'>dot</a>
1290 <a name='SkPoint_dot'></a>
1295 <a href='undocumented#SkScalar'>SkScalar</a> dot(const <a href='SkPoint_Reference#SkVector'>SkVecto…
1298 …product of <a href='SkPoint_Reference#Vector'>vector</a> and <a href='SkPoint_Reference#Vector'>ve…
1302 <table> <tr> <td><a name='SkPoint_dot_vec'><code><strong>vec</strong></code></a></td>
1317 <a href='#SkPoint_DotProduct'>DotProduct</a> <a href='#SkPoint_cross'>cross</a>
1319 <a name='Vector'></a>
1321 <a name='SkVector'></a>
1326 …typedef <a href='SkPoint_Reference#SkPoint'>SkPoint</a> <a href='SkPoint_Reference#SkVector'>SkVec…
1329a href='SkPoint_Reference#SkVector'>SkVector</a> provides an alternative name for <a href='SkPoint…