Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gonicus/qooxdoo-svg
Fork of http://qooxdoo.org/contrib/project/svg with minimal fixes
https://github.com/gonicus/qooxdoo-svg
qooxdoo-contrib
Last synced: 7 days ago
JSON representation
Fork of http://qooxdoo.org/contrib/project/svg with minimal fixes
- Host: GitHub
- URL: https://github.com/gonicus/qooxdoo-svg
- Owner: gonicus
- License: other
- Created: 2015-05-26T09:04:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T18:33:14.000Z (over 7 years ago)
- Last Synced: 2024-04-16T03:28:14.546Z (9 months ago)
- Topics: qooxdoo-contrib
- Language: JavaScript
- Size: 73.2 KB
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.TXT
- License: LICENSE.txt
Awesome Lists containing this project
README
This is a fork of the original SVG contribution which has been created
by Marc Puts . This version mainly
contains fixes over the original one.=== 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.