| Index: core/src/fxge/agg/src/fx_agg_driver.cpp
|
| diff --git a/core/src/fxge/agg/src/fx_agg_driver.cpp b/core/src/fxge/agg/src/fx_agg_driver.cpp
|
| index 50062541b18d5209b62d2308e87f996b5fce31b7..8b0e3f94f4db6997d97ab4c0b64ad62678cae1e0 100644
|
| --- a/core/src/fxge/agg/src/fx_agg_driver.cpp
|
| +++ b/core/src/fxge/agg/src/fx_agg_driver.cpp
|
| @@ -144,8 +144,8 @@ static void RasterizeStroke(agg::rasterizer_scanline_aa& rasterizer,
|
| FX_FLOAT width = pGraphState->m_LineWidth * scale;
|
| FX_FLOAT unit = 1.f;
|
| if (pObject2Device) {
|
| - unit = FXSYS_Div(
|
| - 1.0f, (pObject2Device->GetXUnit() + pObject2Device->GetYUnit()) / 2);
|
| + unit =
|
| + 1.0f / ((pObject2Device->GetXUnit() + pObject2Device->GetYUnit()) / 2);
|
| }
|
| if (width < unit) {
|
| width = unit;
|
|
|