Home | History | Annotate | Download | only in core

Lines Matching defs:radii

19 //      add validate method (all radii positive, all radii sums < rect size, etc.)
44 radii for each corner. It does not have a constructor so must be
50 If either of a corner's radii are 0 the corner will be square.
51 Negative radii are not allowed (they are clamped to zero).
71 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
72 //!< and >= width/2 and all the y radii are equal and >= height/2
75 //!< The RR is non-empty and all the x radii are equal & all y radii
77 //!< the curves) nor a rect (i.e., both radii are non-zero)
80 //!< A fully general (non-empty) RR. Some of the x and/or y radii are
82 //!< both radii are non-zero.
111 * Set this RR to the empty rectangle (0,0,0,0) with 0 x & y radii.
122 * Set this RR to match the supplied rect. All radii will be 0.
138 * Set this RR to match the supplied oval. All x radii will equal half the
139 * width and all y radii will equal half the height.
160 * Initialize the RR with the same radii for all four corners.
165 * Initialize the RR with potentially different radii for all four corners.
167 void setRectRadii(const SkRect& rect, const SkVector radii[4]);
169 // The radii are stored in UL, UR, LR, LL order.
178 const SkVector& radii(Corner corner) const { return fRadii[corner]; }
182 * When a rrect is simple, all of its radii are equal. This returns one
183 * of those radii. This call requires the rrect to be non-complex.
203 * Call inset on the bounds, and adjust the radii to reflect what happens
205 * otherwise we grow/shrink the radii by the amount of the inset. If a
217 * Call outset on the bounds, and adjust the radii to reflect what happens
219 * otherwise we grow/shrink the radii by the amount of the inset. If a
276 // Radii order is UL, UR, LR, LL. Use Corner enum to index into fRadii[]