Skip to content

Commit

Permalink
Specify that extent and preserveAspectRatio use the same logic but se…
Browse files Browse the repository at this point in the history
…parately.

Closes modelica#3219
  • Loading branch information
HansOlsson committed Sep 29, 2022
1 parent 0f1ed88 commit a49e4fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/annotations.tex
Expand Up @@ -614,15 +614,15 @@ \subsubsection{Coordinate Systems}\label{coordinate-systems}
GraphicItem[:] graphics;
end Diagram;
\end{lstlisting}
The coordinate system (including \lstinline!preserveAspectRatio!) of a class is defined by the following priority:
The coordinate system attributes (\lstinline!extent! and \lstinline!preserveAspectRatio!) of a class are separately defined by the following priority:
\begin{enumerate}
\item
The coordinate system annotation given in the class (if specified).
\item
The coordinate systems of the first base class where the extent on the \lstinline!extends!-clause specifies a null-region (if any).
Note that null-region is the default for base classes, see \cref{extends-clause}.
\item
The default coordinate system \lstinline!CoordinateSystem(extent = {{-100, -100}, {100, 100}})!.
The default coordinate system \lstinline!CoordinateSystem(preserveAspectRatio=true, extent = {{-100, -100}, {100, 100}})!.
\end{enumerate}

\subsubsection{Graphical Properties}\label{graphical-properties}
Expand Down

0 comments on commit a49e4fc

Please sign in to comment.