rounded rect looks sth like this:
renderer_ops->fill_rounded_rect(renderer,&p1,&p2, &GOAL_BG_COLOR, elem->height/2.0);
renderer_ops->draw_rounded_rect(renderer,&p1,&p2, &GOAL_FG_COLOR, elem->height/2.0);
have a look in "diarenderer.h" to get familiar with the drawing primitives
Christophe
Marc-Philippe Huget wrote:
Hi all,
Is there something planned to move Dia to UML2? I try to add some icons
but I have a big problem with the round-cornered rectangle, this is my
first test :-( Do you know how to render it in Dia?
Thanks in advance,
Marc-Philippe
--
Marc-Philippe Huget
Agent Applications, Research and Technology Group
Department of Computer Science
University of Liverpool
Chadwick Building, Peach Street
L69 7ZF Liverpool
United Kingdom
email: [EMAIL PROTECTED]
http://www.csc.liv.ac.uk/~mph
_______________________________________________
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia
-- ------------------------------------------------ Ponsard Christophe -- CETIC/FAUST A�ropole, rue Cl�ment Ader 8, B-6041 Gosselies email: [EMAIL PROTECTED] web: http://www.cetic.be ------------------------------------------------
_______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.lysator.liu.se/~alla/dia/faq.html Main page at http://www.lysator.liu.se/~alla/dia
