Home | History | Annotate | Download | only in core

Lines Matching full: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.
68 * Swap the contents of this and the specified region. This operation
73 /** Return true if this region is empty */
76 /** Return true if this region is a single, non-empty rectangle */
79 /** Return true if this region consists of more than 1 rectangular area */
83 * Return the bounds of this region. If the region is empty, returns an
89 * Returns true if the region is non-empty, and if so, appends the
90 * boundary(s) of the region to the specified path.
91 * If the region is empty, returns false, and path is left unmodified.
96 * Set the region to be empty, and return false, since the resulting
97 * region is empty
102 * If rect is non-empty, set this region to that rectangle and return true,
103 * otherwise set this region to empty and return false.
108 * If left < right and top < bottom, set this region to that rectangle and
109 * return true, otherwise set this region to empty and return false.
114 * Set this region to the union of an array of rects. This is generally
115 * faster than calling region.op(rect, kUnion_Op) in a loop. If count is
116 * 0, then this region is set to the empty region.
117 * @return true if the resulting region is non-empty
122 * Set this region to the specified region, and return true if it is
128 * Set this region to the area described by the path, clipped.
129 * Return true if the resulting region is non-empty.
130 * This produces a region that is identical to the pixels that would be
137 * with this region.
142 * Returns true if the specified region has a non-empty intersection
143 * with this region.
148 * Return true if the specified x,y coordinate is inside the region.
153 * Return true if the specified rectangle is completely inside the region.
155 * returns the correct result. Note: if either this region or the rectangle
161 * Return true if the specified region is completely inside the region.
163 * returns the correct result. Note: if either region is empty, contains()
169 * Return true if this region is a single rectangle (not complex) and the
170 * specified rectangle is contained by this region. Returning false is not
171 * a guarantee that the rectangle is not contained by this region, but
172 * return true is a guarantee that the rectangle is contained by this region.
179 * Return true if this region is a single rectangle (not complex) and the
180 * specified rectangle is contained by this region. Returning false is not
181 * a guarantee that the rectangle is not contained by this region, but
183 * region.
187 SkASSERT(this->isEmpty() == fBounds.isEmpty()); // valid region
197 * Return true if this region is empty, or if the specified rectangle does
198 * not intersect the region. Returning false is not a guarantee that they
207 * Return true if this region, or rgn, is empty, or if their bounds do not
216 /** Translate the region by the specified (dx, dy) amount. */
220 * Translate the region by the specified (dx, dy) amount, writing the
221 * resulting region into dst. Note: it is legal to pass this region as the
222 * dst parameter, effectively translating the region in place. If dst is
231 kDifference_Op, //!< subtract the op region from the first region
235 /** subtract the first region from the op region */
237 kReplace_Op //!< replace the dst region with the op region
241 * Set this region to the result of applying the Op to this region and the
243 * Return true if the resulting region is non-empty.
248 * Set this region to the result of applying the Op to this region and the
250 * Return true if the resulting region is non-empty.
259 * Set this region to the result of applying the Op to this region and the
260 * specified region: this = (this op rgn).
261 * Return true if the resulting region is non-empty.
266 * Set this region to the result of applying the Op to the specified
267 * rectangle and region: this = (rect op rgn).
268 * Return true if the resulting region is non-empty.
273 * Set this region to the result of applying the Op to the specified
274 * region and rectangle: this = (rgn op rect).
275 * Return true if the resulting region is non-empty.
280 * Set this region to the result of applying the Op to the specified
282 * Return true if the resulting region is non-empty.
287 /** Returns a new char* containing the list of rectangles in this region
294 * this region.
300 // if we have a region, reset to it and return true, else return false
302 // reset the iterator, using the new region
319 * this region intersected with the specified clip rectangle.
336 * Returns the sequence of runs that make up this region for the specified
351 * Write the region to the buffer, and return the number of bytes written.
357 * Initialized the region from the buffer, returning the number
363 * Returns a reference to a global empty region. Just a convenience for
364 * callers that need a const empty region.
381 kRectRegionRuns = 6 // need to store a region of a rect [T B L R S S]
384 friend class android::Region; // needed for marshalling efficiently