Manuel Cerón
Design changes in uml-canvas-sharp and Cairo experimentation
These days I have been working on the new versión of UMLCanvas, the graph engine for MonoUML. There are some interesting changes in design and architecture of this new version. One of them is the use of is the use of abstract shapes in clases used in node control, for example ControlShapeGroup. Due to this it is very easy to change aspect of control point or a control frame, here is an example:
Because new design is more flexible, it is posible to make nodes with a different kind of control points (such as circles). This example tooks me less than 10 minutes to finish.
I am also doing some experiments with Cairo, the library for vector graphics which is the base for the System.Drawing implementation in Mono. Eventually, I think, Cairo must be used in UML Canvas, because, apearently Gnome Canvas will be deprecated. The problem with Cairo is the few documentantion avalible, and the lack of a GtkCairo binding for Mono. Though, I think we should start working with Cairo, it is the future for vector graphics.
Here is a screenshot from my experiments:
1 Comments:
Could you put some examples of Cairo in C#?
Thanks...
Ricardo.
Post a Comment
<< Home