Lines Matching refs:SkMask
14 void SkGlyph::toMask(SkMask* mask) const { in toMask()
20 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); in toMask()
36 static size_t format_alignment(SkMask::Format format) { in format_alignment()
38 case SkMask::kBW_Format: in format_alignment()
39 case SkMask::kA8_Format: in format_alignment()
40 case SkMask::k3D_Format: in format_alignment()
41 case SkMask::kSDF_Format: in format_alignment()
43 case SkMask::kARGB32_Format: in format_alignment()
45 case SkMask::kLCD16_Format: in format_alignment()
54 static size_t format_rowbytes(int width, SkMask::Format format) { in format_rowbytes()
55 return format == SkMask::kBW_Format ? bits_to_bytes(width) in format_rowbytes()
60 auto format = static_cast<SkMask::Format>(fMaskFormat); in formatAlignment()
66 auto format = static_cast<SkMask::Format>(fMaskFormat); in allocImage()
73 return format_rowbytes(fWidth, (SkMask::Format)fMaskFormat); in rowBytes()
76 size_t SkGlyph::rowBytesUsingFormat(SkMask::Format format) const { in rowBytesUsingFormat()
83 if (fMaskFormat == SkMask::k3D_Format) { in computeImageSize()