Re: Text within custom shape
- From: Lars Ræder Clausen <lars raeder dk>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: Text within custom shape
- Date: Sat, 11 Oct 2008 17:46:20 +0200
On Thu, 2008-10-02 at 10:55 -0400, Boris Mayer-St-Onge wrote:
I'm a new user of Dia and after playing a bit with it and reading some
documentation, I have a question. How can we add text (otherwise that
the <textbox/> element) to a custom shape?
I was able to create some new shapes and new sheets, but I'm don't know
how to add text. I found some shapes with this functionnality, but I
wasn't able to find the corresponding .shape file. For instance, the
"time scale" into the Chronogram sheet, the "KAOS control link" into the
RE-KAOS sheet and the "Regular step" into the GRAFCET sheet.
Those are all programmed objects, not shapes, so no wonder you can't
find the .shape files. Checking in objects/custom/shape_info.c, I see
that the "text" element exists, with x and y positions and the contents
of the element as the text. However, a quick test shows that it doesn't
work at the moment.
-Lars
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]