Home | History | Annotate | Download | only in core

Lines Matching refs:Region

19     class Region;
27 The SkRegion class encapsulates the geometric region used to specify
58 * Replace this region with the specified region, and return true if the
59 * resulting region is non-empty.
67 * Swap the contents of this and the specified region. This operation
72 /** Return true if this region is empty */
75 /** Return true if this region is a single, non-empty rectangle */
78 /** Return true if this region consists of more than 1 rectangular area */
82 * Return the bounds of this region. If the region is empty, returns an
89 * intervals comprised in the region. Empty region will return 0, Rect
93 * indicates a more complex region.
98 * Returns true if the region is non-empty, and if so, appends the
99 * boundary(s) of the region to the specified path.
100 * If the region is empty, returns false, and path is left unmodified.
105 * Set the region to be empty, and return false, since the resulting
106 * region is empty
111 * If rect is non-empty, set this region to that rectangle and return true,
112 * otherwise set this region to empty and return false.
117 * If left < right and top < bottom, set this region to that rectangle and
118 * return true, otherwise set this region to empty and return false.
123 * Set this region to the union of an array of rects. This is generally
124 * faster than calling region.op(rect, kUnion_Op) in a loop. If count is
125 * 0, then this region is set to the empty region.
126 * @return true if the resulting region is non-empty
131 * Set this region to the specified region, and return true if it is
137 * Set this region to the area described by the path, clipped.
138 * Return true if the resulting region is non-empty.
139 * This produces a region that is identical to the pixels that would be
146 * with this region.
151 * Returns true if the specified region has a non-empty intersection
152 * with this region.
157 * Return true if the specified x,y coordinate is inside the region.
162 * Return true if the specified rectangle is completely inside the region.
164 * returns the correct result. Note: if either this region or the rectangle
170 * Return true if the specified region is completely inside the region.
172 * returns the correct result. Note: if either region is empty, contains()
178 * Return true if this region is a single rectangle (not complex) and the
179 * specified rectangle is contained by this region. Returning false is not
180 * a guarantee that the rectangle is not contained by this region, but
181 * return true is a guarantee that the rectangle is contained by this region.
188 * Return true if this region is a single rectangle (not complex) and the
189 * specified rectangle is contained by this region. Returning false is not
190 * a guarantee that the rectangle is not contained by this region, but
192 * region.
196 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region
206 * Return true if this region is empty, or if the specified rectangle does
207 * not intersect the region. Returning false is not a guarantee that they
216 * Return true if this region, or rgn, is empty, or if their bounds do not
225 /** Translate the region by the specified (dx, dy) amount. */
229 * Translate the region by the specified (dx, dy) amount, writing the
230 * resulting region into dst. Note: it is legal to pass this region as the
231 * dst parameter, effectively translating the region in place. If dst is
240 kDifference_Op, //!< subtract the op region from the first region
244 /** subtract the first region from the op region */
246 kReplace_Op, //!< replace the dst region with the op region
254 * Set this region to the result of applying the Op to this region and the
256 * Return true if the resulting region is non-empty.
261 * Set this region to the result of applying the Op to this region and the
263 * Return true if the resulting region is non-empty.
272 * Set this region to the result of applying the Op to this region and the
273 * specified region: this = (this op rgn).
274 * Return true if the resulting region is non-empty.
279 * Set this region to the result of applying the Op to the specified
280 * rectangle and region: this = (rect op rgn).
281 * Return true if the resulting region is non-empty.
286 * Set this region to the result of applying the Op to the specified
287 * region and rectangle: this = (rgn op rect).
288 * Return true if the resulting region is non-empty.
293 * Set this region to the result of applying the Op to the specified
295 * Return true if the resulting region is non-empty.
300 /** Returns a new char* containing the list of rectangles in this region
307 * this region.
313 // if we have a region, reset to it and return true, else return false
315 // reset the iterator, using the new region
332 * this region intersected with the specified clip rectangle.
349 * Returns the sequence of runs that make up this region for the specified
364 * Write the region to the buffer, and return the number of bytes written.
369 * Initializes the region from the buffer
379 * Returns a reference to a global empty region. Just a convenience for
380 * callers that need a const empty region.
403 friend class android::Region; // needed for marshalling efficiently
418 * Return the runs from this region, consing up fake runs if the region