Home | History | Annotate | Download | only in core

Lines Matching refs:format

31 // needs to be != to any valid SkMask::Format
57 * Compute the rowbytes for the specified width and mask-format.
59 static unsigned ComputeRowBytes(unsigned width, SkMask::Format format) {
61 if (SkMask::kBW_Format == format) {
63 } else if (SkMask::kARGB32_Format == format) {
65 } else if (SkMask::kLCD16_Format == format) {
74 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);
161 /** Given a glyph which is has a mask format of LCD or VerticalLCD, take
217 SkMask::Format getFormat() const {
218 return static_cast<SkMask::Format>(fMaskFormat);
229 SkMask::Format getMaskFormat() const {
230 return (SkMask::Format)fRec.fMaskFormat;