Skip to content

Commit

Permalink
v7.1.2 RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
DanWBR committed Dec 9, 2021
1 parent 330dc5b commit 669bb2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DWSIM.Drawing.SkiaSharp/GraphicObjects/Shapes/Cooler.vb
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ Namespace GraphicObjects.Shapes
ax = Me.X + (Me.Width - (trect.Right - trect.Left)) / 2 - 1.0
ay = Me.Y + (Me.Height - (trect.Top - trect.Bottom)) / 2

canvas.DrawText("C", ax, ay, tpaint)

Case 1

'b/w
Expand Down Expand Up @@ -200,6 +202,8 @@ Namespace GraphicObjects.Shapes
ax = Me.X + (Me.Width - (trect.Right - trect.Left)) / 2 - 1.0
ay = Me.Y + (Me.Height - (trect.Top - trect.Bottom)) / 2

canvas.DrawText("C", ax, ay, tpaint)

Case 2

'Gas/Liquid Flows
Expand Down
4 changes: 4 additions & 0 deletions DWSIM.Drawing.SkiaSharp/GraphicObjects/Shapes/Heater.vb
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ Namespace GraphicObjects.Shapes
ax = Me.X + (Me.Width - (trect.Right - trect.Left)) / 2 - 1.0
ay = Me.Y + (Me.Height - (trect.Top - trect.Bottom)) / 2

canvas.DrawText("H", ax, ay, tpaint)

Case 1

'b/w
Expand Down Expand Up @@ -203,6 +205,8 @@ Namespace GraphicObjects.Shapes
ax = Me.X + (Me.Width - (trect.Right - trect.Left)) / 2 - 1.0
ay = Me.Y + (Me.Height - (trect.Top - trect.Bottom)) / 2

canvas.DrawText("H", ax, ay, tpaint)

Case 2

'Gas/Liquid Flows
Expand Down

0 comments on commit 669bb2b

Please sign in to comment.