Give callback from NoHolesPolygonDicer ownership of the returned contour
commit750f05c6fe9a9ce7e40f254923ab61a10c5ffa2b
authorPeter Clifton <pcjc2@cam.ac.uk>
Wed, 21 Oct 2009 18:45:06 +0000 (21 19:45 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Wed, 21 Oct 2009 18:45:06 +0000 (21 19:45 +0100)
treebbea19cf7078756a8ec64798b79973d24550af66
parenta82b657073aff33708a2814ae9063134f6051bc1
Give callback from NoHolesPolygonDicer ownership of the returned contour

This means callers of NoHolesPolygonDicer() should call poly_FreeContours
on the contour they are passed (if they do not wish to retain it).
src/hid/common/draw_helpers.c
src/polygon.c