This commit is contained in:
@@ -59,22 +59,22 @@ namespace Volian.Print.Library
|
||||
}
|
||||
else
|
||||
{
|
||||
float lineThickness = 0;
|
||||
switch (MyBox.BoxStyle)
|
||||
{
|
||||
case BoxThin:
|
||||
cb.SetLineWidth(.6F);
|
||||
cb.Rectangle(left, bottom, right - left, Height * MyPageHelper.YMultiplier);
|
||||
lineThickness = .6F;
|
||||
break;
|
||||
case BoxThick:
|
||||
float lineThickness = 6;
|
||||
cb.SetLineWidth(lineThickness);
|
||||
cb.Rectangle(left+6, bottom + (lineThickness / 2), right - left - 6, (Height - lineThickness) * MyPageHelper.YMultiplier);
|
||||
lineThickness = 6;
|
||||
break;
|
||||
default:
|
||||
// For other than OHLP/HLP. For those not matching the HLP Boxes
|
||||
throw new Exception("Missing vlnBox handler");
|
||||
break;
|
||||
}
|
||||
const float llxOffset = 3;
|
||||
cb.SetLineWidth(lineThickness);
|
||||
cb.Rectangle(left + llxOffset, bottom + (lineThickness / 2), right - left - llxOffset, (Height - lineThickness) * MyPageHelper.YMultiplier);
|
||||
}
|
||||
cb.Stroke();
|
||||
if (textLayer != null) cb.EndLayer();
|
||||
|
Reference in New Issue
Block a user