On 12/11/08, Cong Kien Dang <[email protected]> wrote: > I would like to develop the mathematical function drawing ability. First > idea is that we define an object named Mathematical function like image > object. Next, in the properties dialog associated with this object, we > provide the fields to specify the function, the style ...
By this, do you mean the facility to write mathematical equations and symbols in Dia? Most likely the correct way to do that is using LaTeX markup within a text box. I don't know the current state of LaTeX support in Dia, but I would love to see such a feature. > Now I don't know how to begin, anyone can show me some step to define a new > object, how to create a properties dialog and a button in toolbar associated > with this object. I think the best place to start would be the source code. Download the source and look inside the "objects" directory ... that contains part of the stuff needed to create existing objects. Sameer. -- http://www.it.iitb.ac.in/~sameerds/ _______________________________________________ dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
