Lines Matching refs:inversion
44 static bool flip_inversion(bool originalIsInverted, GrShape::FillInversion inversion) { in flip_inversion() argument
45 switch (inversion) { in flip_inversion()
58 static bool is_inverted(bool originalIsInverted, GrShape::FillInversion inversion) { in is_inverted() argument
59 switch (inversion) { in is_inverted()
72 GrShape GrShape::MakeFilled(const GrShape& original, FillInversion inversion) { in MakeFilled() argument
73 if (original.style().isSimpleFill() && !flip_inversion(original.inverseFilled(), inversion)) { in MakeFilled()
88 result.fRRectData.fInverted = is_inverted(original.fRRectData.fInverted, inversion); in MakeFilled()
96 result.fArcData.fInverted = is_inverted(original.fArcData.fInverted, inversion); in MakeFilled()
100 if (is_inverted(original.fLineData.fInverted, inversion)) { in MakeFilled()
107 result.fType = is_inverted(false, inversion) ? Type::kInvertedEmpty : Type::kEmpty; in MakeFilled()
110 result.fType = is_inverted(true, inversion) ? Type::kInvertedEmpty : Type::kEmpty; in MakeFilled()
115 if (flip_inversion(original.fPathData.fPath.isInverseFillType(), inversion)) { in MakeFilled()