Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » GeoFun -- Plot Spirograph
Re: GeoFun -- Plot Spirograph [message #43771 is a reply to message #43757] |
Wed, 08 October 2014 17:01 |
|
deep
Messages: 263 Registered: July 2011 Location: Bangalore
|
Experienced Member |
|
|
Hi Manfred,
As per "SVG" specifications number is type float. Curves smoothness will be hampered if I change number to 'int' when image is scaled.
Thank you for your suggestions. Will check in Linux. If problem is there then will change the number format to 'int' for Linux compilation.
interface SVGNumber {
attribute float value setraises(DOMException);
};
SVGNumber
InkScape opens the present saved image. Full image shown.
I checked in windows with Firefox, Chrome and IE all are showing the image. It is 1/4 ( positive quadrant). By default internet browsers expect SVG image with all positive values. My calculated path is in all 4 quadrants.
I have made required change to shift image to have all positive values in exported image. Full image is visible in Windows browsers.
Thanks for your suggestion Klugier
Quote:
A small note on your code, you should never use following statement in your header file:
using namespace Upp;
Made changes suggested by you. It includes origin shift also.
-
Attachment: GeoFun.7z
(Size: 339.79KB, Downloaded 245 times)
Warm Regards
Deepak
[Updated on: Wed, 08 October 2014 17:02] Report message to a moderator
|
|
|
|
|
GeoFun -- Plot Spirograph
By: deep on Thu, 28 February 2013 16:38
|
|
|
Re: GeoFun -- Plot Spirograph
By: deep on Fri, 01 March 2013 13:39
|
|
|
Re: GeoFun -- Plot Spirograph
By: deep on Fri, 01 March 2013 13:45
|
|
|
Re: GeoFun -- Plot Spirograph
By: deep on Sun, 03 March 2013 18:59
|
|
|
Re: GeoFun -- Plot Spirograph
By: deep on Thu, 25 September 2014 19:47
|
|
|
Re: GeoFun -- Plot Spirograph
By: koldo on Fri, 26 September 2014 09:01
|
|
|
Re: GeoFun -- Plot Spirograph
By: deep on Sat, 27 September 2014 19:57
|
|
|
Re: GeoFun -- Plot Spirograph
By: koldo on Mon, 29 September 2014 08:56
|
|
|
Re: GeoFun -- Plot Spirograph
By: deep on Mon, 29 September 2014 15:24
|
|
|
Re: GeoFun -- Plot Spirograph
By: koldo on Tue, 30 September 2014 17:23
|
|
|
Re: GeoFun -- Plot Spirograph
By: Klugier on Wed, 01 October 2014 23:30
|
|
|
Re: GeoFun -- Plot Spirograph
|
|
|
Re: GeoFun -- Plot Spirograph
By: deep on Wed, 08 October 2014 17:01
|
|
|
Re: GeoFun -- Plot Spirograph
|
|
|
Re: GeoFun -- Plot Spirograph
|
Goto Forum:
Current Time: Thu Apr 18 15:13:50 CEST 2024
Total time taken to generate the page: 0.02325 seconds
|