Skip to content

Commit

Permalink
Specify that preserveAspectRatio is a hint, so that we don't have to …
Browse files Browse the repository at this point in the history
…perform special actions when components don't follow it.

Closes modelica#2268
  • Loading branch information
HansOlsson committed Jul 5, 2019
1 parent 7167b69 commit 9fb2b11
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions chapters/annotations.tex
Expand Up @@ -358,10 +358,11 @@ \subsubsection{Coordinate Systems}\doublelabel{coordinate-systems}
the first point shall be less than the coordinates of the second point
{[}\emph{a first quadrant coordinate system}{]}.

The attribute \lstinline!preserveAspectRatio! specifies a constraint on the shape of
components of the class. If \lstinline!preserveAspectRatio! is true, changing the
extent of components shall preserve the aspect ratio of the coordinate
system of the class.
The attribute \lstinline!preserveAspectRatio! specifies a hint for the shape of
components of the class, but does not actually influence the rendering of the component.
If \lstinline!preserveAspectRatio! is true, changing the
extent of components should preserve the current aspect ratio of the coordinate
system of the class.

The attribute \lstinline!initialScale! specifies the default component size as
\lstinline!initialScale! times the size of the coordinate system of the class. An
Expand Down

0 comments on commit 9fb2b11

Please sign in to comment.