Groups support: "newGroup" in C++ API, "group" property for items.
- newGroup(string name) function in API. Supports properties to set
defaults for group members (group members inherit properties from their
parent, unless propery explicitely set for the child).
- All items support the "group" string property. Set it to the name of a
defined group to make the item a child of this group.
Vertical and horizontal mouse-wheel zoom with resp. Alt and Shift keys.
Figure contents is scaled when window is resized.
Added selectFigure(name) function to API: sets the figure in which
drawing will be performed by default.
setJsonValue
Set Objects/Figures properties with C++ API. Figure move and resize.
- Implemented "x","y","width" and "height" properties for figures.
- setFigureProperty / setFigureProperties functions in C++ API
- setObjectProperty / setObjectProperties functions in C++ API
TODO: object property setting not implemented in viewer yet
Test placement de figures dans le fichier all_commands.cpp.
Fixed a bug in setObjectProperties with default figure definition.
Implemented objet properties modification in viewer.