| Index: xfa/src/fxgraphics/src/fx_path_generator.cpp
|
| diff --git a/xfa/src/fxgraphics/src/fx_path_generator.cpp b/xfa/src/fxgraphics/src/fx_path_generator.cpp
|
| index c9e20b35d225bb0c2f0fd9a7e1c6b3b96fb53fe3..b37105fae8842f619556649ef1b710db63ec8f69 100644
|
| --- a/xfa/src/fxgraphics/src/fx_path_generator.cpp
|
| +++ b/xfa/src/fxgraphics/src/fx_path_generator.cpp
|
| @@ -119,8 +119,8 @@ void CFX_PathGenerator::ArcTo(FX_FLOAT x,
|
| FX_FLOAT sweep_angle) {
|
| FX_FLOAT x0 = FXSYS_cos(sweep_angle / 2);
|
| FX_FLOAT y0 = FXSYS_sin(sweep_angle / 2);
|
| - FX_FLOAT tx = FXSYS_Div((1.0f - x0) * 4, 3 * 1.0f);
|
| - FX_FLOAT ty = y0 - FXSYS_Div(tx * x0, y0);
|
| + FX_FLOAT tx = ((1.0f - x0) * 4) / (3 * 1.0f);
|
| + FX_FLOAT ty = y0 - ((tx * x0) / y0);
|
| FX_FLOAT px[3], py[3];
|
| px[0] = x0 + tx;
|
| py[0] = -ty;
|
|
|