Improved style, removed passive.

Author:bmeyer
Date:2014-05-03T20:08:11.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1362 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
bmeyer
2014-05-03 20:08:11 +00:00
parent 48fd185a27
commit 71060694ba

View File

@@ -4,10 +4,10 @@
{{ReviewRequested}}
The EiffelVision 2 figure cluster can be considered a high-level way of drawing on an [[ref:libraries/vision2/reference/ev_drawable_chart|EV_DRAWABLE]] descendant. Here are some advantages:
* The model (tree of figures) is separated from the graphical representation by using projectors that take a "world" (i.e. entire set) of figures and project it onto any device, not just a drawing area.
* Instead of drawing with static API's like <code>draw_line</code>, real figure objects are used that remember their locations, rotation and scaling internally, and can later be moved, color changed, rotated and/or scaled without limit, individually, or as an entire relative branch in the tree of figures.
* For projection devices that support it, (mouse) pointer events are propagated to the affected figures.
The EiffelVision 2 figure cluster providesa high-level way of drawing on an [[ref:libraries/vision2/reference/ev_drawable_chart|EV_DRAWABLE]] descendant. It offers a number of advantages:
* The model (tree of figures) is separated from the graphical representation by using projectors that take a "world" (an entire set of figures) and project it onto any device, not just a drawing area.
* Instead of drawing with static APIs like <code>draw_line</code>, you can use real figure objects, which internally remember their location, rotation and scaling; later on you can perform limitless transformations on them, either individually or as part of an entire branch in the tree of figures: move, rotation, scaling, change of color...
* For projection devices that support the mouse, pointer events propagate to the affected figures.
==Figure Classes==