Given that GDI+ is a wrapper around GDI, how does it handle floating point values? I don’t see any support for floating point co-ordinates in the GDI documentation.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
GDI+ is mostly NOT a wrapper around GDI. It didnt gain much traction among driver developers etc, so most of it is implemented in software. It does handle floating points (eg PointF, SizeF) but rather poorly. I find that rounding the values back up to integers provides the most attractive rendered content.
See Is GDI+ just a layer on top of GDI, or something new?