Lines Matching refs:subset

109     /** Sets subset width, height, pixel address to intersection of SkPixmap with area,
110 if intersection is not empty; and return true. Otherwise, leave subset unchanged
115 @param subset storage for width, height, pixel address of intersection
119 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
664 /** Writes color to pixels bounded by subset; returns true on success.
665 Returns false if colorType() is kUnknown_SkColorType, or if subset does
669 @param subset bounding integer SkRect of written pixels
674 bool erase(SkColor color, const SkIRect& subset) const;
685 /** Writes color to pixels bounded by subset; returns true on success.
686 if subset is nullptr, writes colors pixels inside bounds(). Returns false if
687 colorType() is kUnknown_SkColorType, if subset is not nullptr and does
688 not intersect bounds(), or if subset is nullptr and bounds() is empty.
691 @param subset bounding integer SkRect of pixels to write; may be nullptr
696 bool erase(const SkColor4f& color, const SkIRect* subset = nullptr) const {
697 return this->erase(color, nullptr, subset);
700 /** Writes color to pixels bounded by subset; returns true on success.
701 if subset is nullptr, writes colors pixels inside bounds(). Returns false if
702 colorType() is kUnknown_SkColorType, if subset is not nullptr and does
703 not intersect bounds(), or if subset is nullptr and bounds() is empty.
707 @param subset bounding integer SkRect of pixels to write; may be nullptr
710 bool erase(const SkColor4f& color, SkColorSpace* cs, const SkIRect* subset = nullptr) const;