Le mer, f?v 07, 2001, ? 08:01:55 +0100, Jan Ploski a �crit:
> Is it possible to write custom shapes that would represent GUI elements
> such as buttons / windows / text fields etc? Or is the shape description
> language used by Dia too limited to make it practicable? Specifically,
> I am not sure whether I can integrate images into my custom shapes and
> how to define scaling rules in detail; a "window" should not change
> height of the title bar when resized, for example.
It actually depends. In the case of real shapes, that is, chunks of a subset
of SVG with a description and a list of connection points slapped together,
you can do most of what you describe. Two big exceptions: you indeed can't
include images, and you can't have a half resizeable and another half not
resizeable (you can set the aspect ratio to be free, fixed, or into bounds
you define.
For your "window" object, it seems to me you'd have to cope with writing a C
object (you can freely mix C and shape objects in the same sheet).
-- Cyrille
--
Grumpf.