<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>gdiplus: don't calculate the number of points in the arc by dividing</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>For bug 19697.<BR>
<BR>
Due to rounding differences, it's possible for the calculated number of points in an arc to be greater than the number of 90 degree sweeps in the arc according to the loop that generates the points. When this happens, that loop will try to generate a section of the arc with a sweep angle of 0, causing a division by 0. Avoid this by using the loop to calculate the number of points.</FONT></P>

</BODY>
</HTML>