Home | History | Annotate | Download | only in private

Lines Matching defs:points

25  * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods
26 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
32 * The points and verbs are stored in a single allocation. The points are at the begining of the
33 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points
50 * Returns the array of points.
52 SkPoint* points() { return fPathRef->getPoints(); }
53 const SkPoint* points() const { return fPathRef->points(); }
56 * Gets the ith point. Shortcut for this->points() + i
60 return this->points() + i;
64 return this->points() + i;
68 * Adds the verb and allocates space for the number of points indicated by the verb. The
69 * return value is a pointer to where the points for the verb should be written.
79 * requisite points & weights.
80 * The return pointer points at the first new point (indexed normally [<i>]).
91 * Resets the path ref to a new verb and point count. The new verbs and points are
129 @param pts The points representing the current verb and/or segment
147 * Gets a path ref with no verbs or points.
152 * Returns true if all of the points in this path are finite, meaning there
218 /** Returns the bounds of the path's points. If the path contains 0 or 1
219 points, the bounds is set to (0,0,0,0), and isEmpty() will return true.
221 do not extend as far as their control points.
242 * Rollsback a path ref to zero verbs and points with the assumption that the path ref will be
243 * repopulated with approximately the same number of verbs and points. A new path ref is created
266 const SkPoint* points() const { return fPoints; }
269 * Shortcut for this->points() + this->countPoints()
271 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); }
285 return this->points()[index];
291 * Writes the path points and verbs to a buffer.
304 * same ID then they have the same verbs and points. However, two path refs may have the same
351 return bounds->setBoundsCheck(ref.points(), ref.countPoints());
380 /** Resets the path ref with verbCount verbs and pointCount points, all uninitialized. Also
381 * allocates space for reserveVerb additional verbs and reservePoints additional points.*/
420 * The new points are uninitialized. All the new verbs are set to the specified
428 * of additional points. A pointer to the first point is returned. Any new points are
481 * Gets the total amount of space allocated for verbs, points, and reserve.
525 SkPoint* fPoints; // points to begining of the allocation
526 uint8_t* fVerbs; // points just past the end of the allocation (verbs grow backwards)
533 kEmptyGenID = 1, // GenID reserved for path ref with zero points and zero verbs.