equal
deleted
inserted
replaced
248 }; |
248 }; |
249 |
249 |
250 inline uint QVectorPath::polygonFlags(QPaintEngine::PolygonDrawMode mode) { |
250 inline uint QVectorPath::polygonFlags(QPaintEngine::PolygonDrawMode mode) { |
251 switch (mode) { |
251 switch (mode) { |
252 case QPaintEngine::ConvexMode: return ConvexPolygonHint | ImplicitClose; |
252 case QPaintEngine::ConvexMode: return ConvexPolygonHint | ImplicitClose; |
253 case QPaintEngine::OddEvenMode: return NonCurvedShapeHint | OddEvenFill | ImplicitClose; |
253 case QPaintEngine::OddEvenMode: return PolygonHint | OddEvenFill | ImplicitClose; |
254 case QPaintEngine::WindingMode: return NonCurvedShapeHint | WindingFill | ImplicitClose; |
254 case QPaintEngine::WindingMode: return PolygonHint | WindingFill | ImplicitClose; |
255 case QPaintEngine::PolylineMode: return NonCurvedShapeHint; |
255 case QPaintEngine::PolylineMode: return PolygonHint; |
256 default: return 0; |
256 default: return 0; |
257 } |
257 } |
258 } |
258 } |
259 |
259 |
260 QT_END_NAMESPACE |
260 QT_END_NAMESPACE |