Ticket #62 (new enhancement)
Introduce mirroring for rectangular graphical primitives.
| Reported by: | dhedberg | Owned by: | otter |
|---|---|---|---|
| Priority: | normal | Milestone: | ModelicaSpec3.1 |
| Component: | --Modelica Specification-- | Version: | 3.0 |
| Severity: | normal | Keywords: | annotation mirroring rectangular |
| Cc: | Hide ticket: | no |
Description
Introduce mirroring for rectangular graphical primitive items.
Why? It is not possible to mirror a bitmap or text item without introducing this explicit form of mirroring. The attributes of rectangles and ellipses (including arcs) can be transformed in a way that correspond to mirroring of the item, but this is not possible for bitmaps (without actually transforming the source, i.e., the image on file). For text there is no way at all to transform the item, explicit mirroring is required.
How? Mirroring of a rectangular primitive item would be described in the same way as mirroring of components is described today, i.e., by letting x1>x2 and y1>y2 of the item's extent specify that the item should be rendered mirrored horizontally and vertically.
For the sake of simplicity we should introduce explicit mirroring for all rectangular primitive items and not only for the bitmap and text primitive.
