Home | History | Annotate | Download | only in core

Lines Matching full:points

24  * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods
25 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
31 * The points and verbs are stored in a single allocation. The points are at the begining of the
32 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points
49 * Returns the array of points.
51 SkPoint* points() { return fPathRef->getPoints(); }
52 const SkPoint* points() const { return fPathRef->points(); }
55 * Gets the ith point. Shortcut for this->points() + i
59 return this->points() + i;
63 return this->points() + i;
67 * Adds the verb and allocates space for the number of points indicated by the verb. The
68 * return value is a pointer to where the points for the verb should be written.
78 * requisite points & weights.
79 * The return pointer points at the first new point (indexed normally [<i>]).
90 * Resets the path ref to a new verb and point count. The new verbs and points are
122 @param pts The points representing the current verb and/or segment
140 * Gets a path ref with no verbs or points.
145 * Returns true if all of the points in this path are finite, meaning there
192 /** Returns the bounds of the path's points. If the path contains 0 or 1
193 points, the bounds is set to (0,0,0,0), and isEmpty() will return true.
195 do not extend as far as their control points.
216 * Rollsback a path ref to zero verbs and points with the assumption that the path ref will be
217 * repopulated with approximately the same number of verbs and points. A new path ref is created
240 const SkPoint* points() const { SkDEBUGCODE(this->validate();) return fPoints; }
243 * Shortcut for this->points() + this->countPoints()
245 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); }
259 return this->points()[index];
265 * Writes the path points and verbs to a buffer.
278 * same ID then they have the same verbs and points. However, two path refs may have the same
319 return bounds->setBoundsCheck(ref.points(), ref.countPoints());
348 /** Resets the path ref with verbCount verbs and pointCount points, all uninitialized. Also
349 * allocates space for reserveVerb additional verbs and reservePoints additional points.*/
388 * The new points are uninitialized. All the new verbs are set to the specified
396 * of additional points. A pointer to the first point is returned. Any new points are
445 * Gets the total amount of space allocated for verbs, points, and reserve.
481 SkPoint* fPoints; // points to begining of the allocation
482 uint8_t* fVerbs; // points just past the end of the allocation (verbs grow backwards)
489 kEmptyGenID = 1, // GenID reserved for path ref with zero points and zero verbs.