Lines Matching refs:verbs
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
33 * and verbs both grow into the middle of the allocation until the meet. To access verb i in the
34 * verb array use ref.verbs()[~i] (because verbs() returns a pointer just beyond the first
92 * Resets the path ref to a new verb and point count. The new verbs and points are
114 * Gets a path ref with no verbs or points.
180 * Rollsback a path ref to zero verbs and points with the assumption that the path ref will be
181 * repopulated with approximately the same number of verbs and points. A new path ref is created
206 const uint8_t* verbs() const { SkDEBUGCODE(this->validate();) return fVerbs; }
211 const uint8_t* verbsMemBegin() const { return this->verbs() - fVerbCnt; }
231 return this->verbs()[~index];
241 * Writes the path points and verbs to a buffer.
252 * same ID then they have the same verbs and points. However, two path refs may have the same
317 /** Resets the path ref with verbCount verbs and pointCount points, all uninitialized. Also
318 * allocates space for reserveVerb additional verbs and reservePoints additional points.*/
356 * The new points are uninitialized. All the new verbs are set to the specified
413 * Gets the total amount of space allocated for verbs, points, and reserve.
446 uint8_t* fVerbs; // points just past the end of the allocation (verbs grow backwards)
453 kEmptyGenID = 1, // GenID reserved for path ref with zero points and zero verbs.