Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » GeoFun -- Plot Spirograph
Re: GeoFun -- Plot Spirograph [message #43772 is a reply to message #43771] Wed, 08 October 2014 18:42 Go to previous messageGo to previous message
ManfredHerr is currently offline  ManfredHerr
Messages: 67
Registered: February 2013
Location: Germany
Member
Hi Deepak,

I think the problem in Linux is that your Format code produces floats with a comma rather than a point. So, the SVG interpreter sees four integers seperated by comma rather than two floats that are intended.
BTW, Point in UPP has integer coordinates as far as I know. To store them as floats or double does not increase the resolution.

Greets
Manfred
Edit:
The reason, why I generate floats with a comma rather than a point, is my LOCALE setting: it is GERMAN.
If I include
setlocale(LC_NUMERIC,"C"); // C-Standard
in GUI_APP_MAIN then I also produce a SVG file with floating point values that can be interpreted by SVG viewers.

[Updated on: Wed, 08 October 2014 22:05]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: UppCad (or UltimateCad) is borning -- Updated January 2013 -- see last post
Next Topic: Alligator - Visual Studio PDB file analyzer
Goto Forum:
  


Current Time: Sat Apr 20 08:57:18 CEST 2024

Total time taken to generate the page: 0.05557 seconds