This commit is contained in:
Kathy Ruffing 2011-10-14 10:35:26 +00:00
parent 545c4268a6
commit 0ed59c65bf

View File

@ -94,7 +94,9 @@ namespace Volian.Print.Library
case BoxFPLCaution:
lineThickness = 3;
cb.SetLineWidth(lineThickness);
cb.Rectangle(left + llxOffset, bottom + (lineThickness / 2), right - left, (Height - lineThickness) * MyPageHelper.YMultiplier);
// use a Y adjustment (top & bottom) to make the caution box match the 16bit output.
float YbxAdjust = 6.5F;
cb.Rectangle(left + llxOffset, bottom - YbxAdjust + (lineThickness / 2), right - left, (Height - lineThickness + 2*YbxAdjust) * MyPageHelper.YMultiplier);
break;
default:
// For other than thick, thin and double.