Ticket #62 (new enhancement)

Opened 4 months ago

Last modified 4 months ago

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.

Attachments

Change History

Changed 4 months ago by HansOlsson

The original idea was bitmap, and the idea is now back to bitmaps and texts (and the rest for "orthoginality").

Thus the simple questions are:

  • What is the compelling user scenario for mirrored texts?
  • What are the useability implications? (I personally find it slightly difficult to read mirrored texts.)

Add/Change #62 (Introduce mirroring for rectangular graphical primitives.)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.