Skip to content

Commit b3cb5d5

Browse files
committed
Icons: Change position of text and "connection" lines of u1 and u2
1 parent 2f7d5d3 commit b3cb5d5

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

Modelica/Blocks/Math.mo

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,15 +1089,17 @@ by <em>dividing</em> the two inputs <strong>u1</strong> and <strong>u2</strong>:
10891089
Icon(coordinateSystem(
10901090
preserveAspectRatio=true,
10911091
extent={{-100,-100},{100,100}}), graphics={
1092+
Line(points={{-100,60},{-60,60},{0,0}}, color={0,0,127}),
1093+
Line(points={{-100,-60},{-60,-60},{0,0}}, color={0,0,127}),
1094+
Ellipse(lineColor={0,0,127}, extent={{-50,-50},{50,50}},
1095+
fillColor={255,255,255},
1096+
fillPattern=FillPattern.Solid),
10921097
Line(points={{50,0},{100,0}}, color={0,0,127}),
10931098
Line(points={{-30,0},{30,0}}),
10941099
Ellipse(fillPattern=FillPattern.Solid, extent={{-5,20},{5,30}}),
10951100
Ellipse(fillPattern=FillPattern.Solid, extent={{-5,-30},{5,-20}}),
1096-
Ellipse(lineColor={0,0,127}, extent={{-50,-50},{50,50}}),
1097-
Line(points={{-100,60},{-40,60},{-30,40}}, color={0,0,127}),
1098-
Line(points={{-100,-60},{-40,-60},{-30,-40}}, color={0,0,127}),
10991101
Text(
1100-
extent={{-60,94},{90,54}},
1102+
extent={{-60,90},{90,50}},
11011103
lineColor={128,128,128},
11021104
textString="u1 / u2")}),
11031105
Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{

Modelica/ComplexBlocks.mo

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -802,18 +802,20 @@ the two inputs <code>u1</code> and <code>u2</code>. Optionally, either input <co
802802
803803
</html>"),
804804
Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{
805-
100,100}}), graphics={Line(points={{50,0},{100,0}}, color={0,0,127}),
805+
100,100}}), graphics={
806+
Line(points={{-100,60},{-60,60},{0,0}}, color={0,0,127}),
807+
Line(points={{-100,-60},{-60,-60},{0,0}}, color={0,0,127}),
808+
Ellipse(extent={{-50,50},{50,-50}}, lineColor={0,0,127},
809+
fillColor={255,255,255},
810+
fillPattern=FillPattern.Solid),
811+
Line(points={{50,0},{100,0}}, color={0,0,127}),
806812
Line(points={{-30,0},{30,0}}),Ellipse(
807813
extent={{-5,20},{5,30}},
808814
fillPattern=FillPattern.Solid),Ellipse(
809815
extent={{-5,-20},{5,-30}},
810-
fillPattern=FillPattern.Solid),Ellipse(extent={{-50,50},{50,-50}},
811-
lineColor={0,0,127}),
812-
Line(points={{-100,60},{-40,60},{-30,40}},
813-
color={0,0,127}),Line(points={{-100,-60},{-40,-60},{-30,-40}}, color=
814-
{0,0,127}),
816+
fillPattern=FillPattern.Solid),
815817
Text(
816-
extent={{-60,94},{90,54}},
818+
extent={{-60,90},{90,50}},
817819
lineColor={128,128,128},
818820
textString="u1 / u2")}),
819821
Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},

0 commit comments

Comments
 (0)