Adjusted the Condition/Response table lines.

This commit is contained in:
Rich 2014-08-15 22:32:06 +00:00
parent 8c5703de65
commit 7cdeec91f8

View File

@ -236,8 +236,8 @@ namespace Volian.Print.Library
if (MySection.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm) if (MySection.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm)
{ {
float left = (float)MySection.MyDocStyle.Layout.LeftMargin + 4.5f; // used 4.5 to make bge alarm lines closest to lining up with macro float left = (float)MySection.MyDocStyle.Layout.LeftMargin + 4.40f; // used 4.40 (4.5) to make bge alarm lines closest to lining up with macro
float right = (float)MySection.MyDocStyle.Layout.PageWidth; float right = (float)MySection.MyDocStyle.Layout.PageWidth - .76f; // used -.76 to make bge alarm lines closest to lining up with macro
if (AlarmYoffStart > 0) if (AlarmYoffStart > 0)
{ {
// draw vertical - either to the alarmyoffend or bottom of page // draw vertical - either to the alarmyoffend or bottom of page
@ -272,6 +272,7 @@ namespace Volian.Print.Library
cb.SaveState(); cb.SaveState();
if (PageListLayer != null) cb.BeginLayer(PageListLayer); if (PageListLayer != null) cb.BeginLayer(PageListLayer);
cb.SetColorStroke(new Color(PrintOverride.SvgColor)); cb.SetColorStroke(new Color(PrintOverride.SvgColor));
cb.SetLineWidth(1.05f); // Tweak the line width to match vlnmacro
//cb.SetColorStroke(lineColor); //cb.SetColorStroke(lineColor);
cb.MoveTo(x, top); cb.MoveTo(x, top);
cb.LineTo(x, bottom); cb.LineTo(x, bottom);