<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d11552613\x26blogName\x3dMonoUML\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://monouml.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://monouml.blogspot.com/\x26vt\x3d-7757409343531954721', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Saturday, April 16, 2005

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:

screenshot

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:

screenshot

1 Comments:

Blogger Franco Mendoza said...

Could you put some examples of Cairo in C#?

Thanks...

Ricardo.

July 16, 2005 4:13 PM  

Post a Comment

<< Home