F2021-038: Lessen line spacing around Notes/Cautions; widen Caution box to make it consistent with Note

F2021-038: SHE/SHEA Lessen line spacing around Notes/Cautions; widen Caution box to make it consistent with Note
This commit is contained in:
2022-08-24 16:10:05 +00:00
parent a8b8f9f9c7
commit 738a726e6b
5 changed files with 39 additions and 7 deletions

View File

@@ -217,7 +217,10 @@ namespace Volian.Print.Library
lineThickness = 3;
cb.SetLineWidth(lineThickness);
// use a Y adjustment (top & bottom) to make the caution box match the 16bit output.
float YbxAdjust = 6.5F;
// F2021-038: SHE/SHEA format - Less space between text and bottom line of Caution Box
float YbxAdjust = (MyParent.MyItemInfo.IsStep && MyParent.MyItemInfo.FormatStepData.NoYBxAdjust) ? 0 : 6.5F;
// C2018-004 create meta file for baseline compares
Volian.Base.Library.BaselineMetaFile.WriteLine("BXFPLCn Lf={0} Bt={1} W={2} H={3}", left + llxOffset, bottom - YbxAdjust + (lineThickness / 2), right - left, (Height - lineThickness + 2 * YbxAdjust) * MyPageHelper.YMultiplier);
cb.Rectangle(left + llxOffset, bottom - YbxAdjust + (lineThickness / 2), right - left, (Height - lineThickness + 2*YbxAdjust) * MyPageHelper.YMultiplier);