Age | Commit message (Collapse) | Author |
|
(I had made it use that less-clear int[][2] interface because fltk2 let you add
all of the vertices in one call.)
It feels good to change that nasty-looking pointArray in Polygon::draw().
|
|
|
|
|
|
The product of the two zOfVectorProduct() values could overflow.
Check both values for different sign instead.
Testcase:
<html> <body>
<img src="doesnt_matter.gif" width="250" height="700" usemap="#themap">
<map name="themap">
<area shape="poly" coords="1,250, 245,270, 223,513"
href="http://www.dillo.org">
</map>
</body> </html>
Reported-by and Testcase-by: corvid <corvid@lavabit.com>
|
|
|
|
|
|
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007393.html
(Johannes has already fixed the Rectangle clipping problem. Why the polygons
aren't shown initially isn't known yet.)
|
|
|
|
"using namespace" in headers also affects all files that include the
header which is unwanted and unexpected in most cases.
|
|
|
|
|
|
|
|
|