Home | History | Annotate | Download | only in core

Lines Matching refs:SkMask

13 #include "SkMask.h"
26 // needs to be != to any valid SkMask::Format
54 static unsigned ComputeRowBytes(unsigned width, SkMask::Format format) {
56 if (SkMask::kBW_Format == format) {
58 } else if (SkMask::kARGB32_Format == format ||
59 SkMask::kLCD32_Format == format)
62 } else if (SkMask::kLCD16_Format == format) {
71 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);
156 void toMask(SkMask* mask) const;
233 SkMask::Format getFormat() const {
234 return static_cast<SkMask::Format>(fMaskFormat);
268 SkMask::Format getMaskFormat() const {
269 return (SkMask::Format)fRec.fMaskFormat;