Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkPaint.h163 return SkToBool(fBitfields.fAntiAlias); in isAntiAlias()
170 void setAntiAlias(bool aa) { fBitfields.fAntiAlias = static_cast<unsigned>(aa); } in setAntiAlias()
176 return SkToBool(fBitfields.fDither); in isDither()
182 void setDither(bool dither) { fBitfields.fDither = static_cast<unsigned>(dither); } in setDither()
204 Style getStyle() const { return (Style)fBitfields.fStyle; } in getStyle()
372 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } in getStrokeCap()
383 Join getStrokeJoin() const { return (Join)fBitfields.fJoinType; } in getStrokeJoin()
679 } fBitfields; member
690 static_assert(::sk_is_trivially_relocatable<decltype(fBitfields)>::value);
/external/skia/src/core/
DSkPaint.cpp42 , fBitfields{(unsigned)false, // fAntiAlias
49 static_assert(sizeof(fBitfields) == sizeof(fBitfieldsUInt), "");
107 fBitfields.fStyle = style; in setStyle()
116 fBitfields.fStyle = isStroke ? kStroke_Style : kFill_Style; in setStroke()
181 fBitfields.fCapType = SkToU8(ct); in setStrokeCap()
191 fBitfields.fJoinType = SkToU8(jt); in setStrokeJoin()