Home | History | Annotate | Download | only in core

Lines Matching refs:verbs

23  * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods
24 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
30 * The points and verbs are stored in a single allocation. The points are at the begining of the
31 * allocation while the verbs are stored at end of the allocation, in reverse order. Thus the points
32 * and verbs both grow into the middle of the allocation until the meet. To access verb i in the
33 * verb array use ref.verbs()[~i] (because verbs() returns a pointer just beyond the first
91 * Resets the path ref to a new verb and point count. The new verbs and points are
113 * Gets a path ref with no verbs or points.
179 * Rollsback a path ref to zero verbs and points with the assumption that the path ref will be
180 * repopulated with approximately the same number of verbs and points. A new path ref is created
205 const uint8_t* verbs() const { SkDEBUGCODE(this->validate();) return fVerbs; }
210 const uint8_t* verbsMemBegin() const { return this->verbs() - fVerbCnt; }
230 return this->verbs()[~index];
240 * Writes the path points and verbs to a buffer.
251 * same ID then they have the same verbs and points. However, two path refs may have the same
314 /** Resets the path ref with verbCount verbs and pointCount points, all uninitialized. Also
315 * allocates space for reserveVerb additional verbs and reservePoints additional points.*/
353 * The new points are uninitialized. All the new verbs are set to the specified
410 * Gets the total amount of space allocated for verbs, points, and reserve.
442 uint8_t* fVerbs; // points just past the end of the allocation (verbs grow backwards)
449 kEmptyGenID = 1, // GenID reserved for path ref with zero points and zero verbs.