// Returns true iff the clip is not empty, and is just a hard-edged rect (no partial alpha). // If true, getBounds() can be used in place of this clip. bool isRect() const;
bool translate(int dx, int dy, SkAAClip* dst) const;
/** * Allocates a mask the size of the aaclip, and expands its data into * the mask, using kA8_Format. Used for tests and visualization purposes.
*/ void copyToMask(SkMaskBuilder*) const;
void blitH(int x, int y, int width) override; void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override; void blitV(int x, int y, int height, SkAlpha alpha) override; void blitRect(int x, int y, int width, int height) override; void blitMask(const SkMask&, const SkIRect& clip) override;
// point into fScanlineScratch
int16_t* fRuns;
SkAlpha* fAA;
enum {
kSize = 32 * 32
};
SkAutoSMalloc<kSize> fGrayMaskScratch; // used for blitMask void* fScanlineScratch; // enough for a mask at 32bit, or runs+aa
void ensureRunsAndAA();
};
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.