| Index: sky/engine/core/painting/CanvasPath.h
|
| diff --git a/sky/engine/core/painting/CanvasPath.h b/sky/engine/core/painting/CanvasPath.h
|
| index 05d94e0757177274b33cb2666f77a440431e15b8..1bffeda340704549617af5ee58c0e97358b9ddf7 100644
|
| --- a/sky/engine/core/painting/CanvasPath.h
|
| +++ b/sky/engine/core/painting/CanvasPath.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef SKY_ENGINE_CORE_PAINTING_PATH_H_
|
| #define SKY_ENGINE_CORE_PAINTING_PATH_H_
|
|
|
| +#include "math.h"
|
| +
|
| #include "sky/engine/core/painting/Rect.h"
|
| #include "sky/engine/tonic/dart_wrappable.h"
|
| #include "sky/engine/wtf/PassRefPtr.h"
|
| @@ -38,7 +40,7 @@ public:
|
|
|
| void arcTo(const Rect& rect, float startAngle, float sweepAngle, bool forceMoveTo)
|
| {
|
| - m_path.arcTo(rect.sk_rect, startAngle, sweepAngle, forceMoveTo);
|
| + m_path.arcTo(rect.sk_rect, startAngle*180.0/M_PI, sweepAngle*180.0/M_PI, forceMoveTo);
|
| }
|
|
|
| void close()
|
|
|