[reportlab-users] Anybody else hungry for Image shapes?

Dirk Datzert reportlab-users@reportlab.com
Wed, 31 Jul 2002 18:26:20 +0200


> well the complete things could be called diagrams or pictures; we call
> the top class Drawing. Underneath are Groups which are containers for
> either primitives or other containers. Drawings have a size, Groups not.
> Both can have a transformation applied to their contents. At the bottom
> we have primitives called Shapes. Typical Shapes are Line, Rect, Path
> etc.
> 
> These Image things are primitives constructed from external files (via
> PIL). So while Line(0,0,10,10,strokeWidth=....) draws a line in the
> current userspace Image(0,0,10,10,'bongo.gif') is supposed to draw the
> contents of the gif file into the rectangle x,y,width,height=0,0,10,10
> by appropriate transforms. If the local reference frame is itself skewed
> etc then the transforms are composed.

some funny suggestions:

Image -> ExternalShape
Image -> ExternalContent
Image -> ContentShape
Image -> ContainerShape
Image -> ShapeFromExternalContent
Image -> ShapeFromImageContent
Image -> ImageContentShape
Image -> ImageShape
Image -> Image ;-)

???

Dirk