Home
last modified time | relevance | path

Searched refs:fBitfields (Results 1 – 4 of 4) sorted by relevance

/external/skia/include/core/
DSkPaint.h174 return SkToBool(fBitfields.fAntiAlias); in isAntiAlias()
181 void setAntiAlias(bool aa) { fBitfields.fAntiAlias = static_cast<unsigned>(aa); } in setAntiAlias()
187 return SkToBool(fBitfields.fDither); in isDither()
193 void setDither(bool dither) { fBitfields.fDither = static_cast<unsigned>(dither); } in setDither()
198 return (SkFilterQuality)fBitfields.fFilterQuality; in getFilterQuality()
203 fBitfields.fFilterQuality = fq; in setFilterQuality()
227 Style getStyle() const { return (Style)fBitfields.fStyle; } in getStyle()
393 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } in getStrokeCap()
404 Join getStrokeJoin() const { return (Join)fBitfields.fJoinType; } in getStrokeJoin()
500 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode()
[all …]
/external/skqp/include/core/
DSkPaint.h161 return SkToBool(fBitfields.fAntiAlias); in isAntiAlias()
168 void setAntiAlias(bool aa) { fBitfields.fAntiAlias = static_cast<unsigned>(aa); } in setAntiAlias()
174 return SkToBool(fBitfields.fDither); in isDither()
180 void setDither(bool dither) { fBitfields.fDither = static_cast<unsigned>(dither); } in setDither()
189 return (SkFilterQuality)fBitfields.fFilterQuality; in getFilterQuality()
223 Style getStyle() const { return (Style)fBitfields.fStyle; } in getStyle()
363 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } in getStrokeCap()
376 Join getStrokeJoin() const { return (Join)fBitfields.fJoinType; } in getStrokeJoin()
463 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode()
469 bool isSrcOver() const { return (SkBlendMode)fBitfields.fBlendMode == SkBlendMode::kSrcOver; } in isSrcOver()
[all …]
/external/skqp/src/core/
DSkPaint.cpp49 static_assert(sizeof(fBitfields) <= sizeof(fBitfieldsUInt), in SkPaint()
54 fBitfields.fCapType = kDefault_Cap; in SkPaint()
55 fBitfields.fJoinType = kDefault_Join; in SkPaint()
56 fBitfields.fStyle = kFill_Style; in SkPaint()
57 fBitfields.fBlendMode = (unsigned)SkBlendMode::kSrcOver; in SkPaint()
165 fBitfields.fFilterQuality = quality; in setFilterQuality()
170 fBitfields.fStyle = style; in setStyle()
220 fBitfields.fCapType = SkToU8(ct); in setStrokeCap()
230 fBitfields.fJoinType = SkToU8(jt); in setStrokeJoin()
/external/skia/src/core/
DSkPaint.cpp48 , fBitfields{(unsigned)false, // fAntiAlias
57 static_assert(sizeof(fBitfields) == sizeof(fBitfieldsUInt), "");
101 fBitfields.fStyle = style; in setStyle()
110 fBitfields.fStyle = isStroke ? kStroke_Style : kFill_Style; in setStroke()
157 fBitfields.fCapType = SkToU8(ct); in setStrokeCap()
167 fBitfields.fJoinType = SkToU8(jt); in setStrokeJoin()