- Joined
- Feb 8, 2008
- Messages
- 1,649
- Reaction score
- 4
- Points
- 38
- Location
- Hampshire, UK
- Website
- orbiter.quorg.org
Does the GDI have any floating point (either float or double) functions that mirror the standard ones such as MoveToEx, LineTo, TextOut etc? I'm calling them a lot with floats and get fed up with casting them back to ints all the time.
It won't make any difference to the drawing on the screen, but will make the code neater to not have casts all over the place.
If not, then I'll just put it in as a macro to do the casting.
Ta
It won't make any difference to the drawing on the screen, but will make the code neater to not have casts all over the place.
If not, then I'll just put it in as a macro to do the casting.
Ta