gdi+ Flatten

  • Thread starter Thread starter WoodBeeProgrammer
  • Start date Start date
W

WoodBeeProgrammer

When i try using Flatten on my ellipse, i get 6 points no matter how fine i
set the flatness parameter. According to my understanding of the
documentation, the smaller i make flatness the closer the approximation
should be, ie many more points in the approximation.

What am i doing wrong?

TIA!!!


flatness Specifies the maximum permitted error between the curve and its
flattened approximation. A value of 0.25 is the default. Reducing the
flatness value will increase the number of line segments in the
approximation.

http://msdn.microsoft.com/library/en-us/cpguide/html/_gdiplus_flattening_pat
hs_about.asp?frame=true
 
Never mind, i was not holding onto the correct GraphicsPath.

(DOH!!!)

Thanks!!
 
Back
Top