|
From: <mar...@us...> - 2011-04-14 15:31:01
|
Revision: 21066
http://qooxdoo-contrib.svn.sourceforge.net/qooxdoo-contrib/?rev=21066&view=rev
Author: marcputs
Date: 2011-04-14 15:30:55 +0000 (Thu, 14 Apr 2011)
Log Message:
-----------
Restoring overwritten readme (step 2/2)
Added Paths:
-----------
trunk/qooxdoo-contrib/SVG/trunk/README.TXT
Added: trunk/qooxdoo-contrib/SVG/trunk/README.TXT
===================================================================
--- trunk/qooxdoo-contrib/SVG/trunk/README.TXT (rev 0)
+++ trunk/qooxdoo-contrib/SVG/trunk/README.TXT 2011-04-14 15:30:55 UTC (rev 21066)
@@ -0,0 +1,49 @@
+=== SVG ===
+
+This file contains an unorganized list of todo's, ideas and improvements.
+
+
+
+== ViewPort and ViewBox ==
+
+ Resizing the Svg Widget changes the size of the ViewPort. In some cases,
+ you'll want the image to be stretched to fit the new ViewPort size. In
+ other cases, you want to display more (or less) of the image.
+
+ This behaviours should be implemented in the renderLayout method of the
+ svg.ui.embed.Svg class.
+
+ (a) stretch/shrink the image to fit the new size
+ > no change to the viewBox attribute
+
+ (b) see more/less of the image
+ > viewBox attribute must be multiplied by the same factor
+ as the widget's size has changed
+
+ Another consideration is that the current aspect ratio may need to be preserved.
+ Some additional intellegence is needed here. Attribute "preserveAspectRatio"
+ probably plays a role there too.
+
+
+
+== Add features ==
+
+ Add support for...
+ - text
+ - text on a path
+ - gradients
+ - transformations
+ - filters
+ - animation
+
+
+== Adding behaviour to elements ==
+
+ Some types of behaviour could be useful on several occasions. An example
+ would be to be able to drag. For windows, this behaviour is added through
+ qx.ui.core.MMovable.
+
+ Idea: encapsulate behaviour (such as "movable") in special objects which
+ can then be applied to compatible svg elements (for example, a circle) at
+ runtime.
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|