From 3ef75a58145c133f1229aeea91b069dc5372cbda Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Thu, 4 Jun 2026 15:47:12 +0000 Subject: [PATCH] stroke position fix --- svoboda/pechatalka/system/models/paper.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/svoboda/pechatalka/system/models/paper.php b/svoboda/pechatalka/system/models/paper.php index 2a263e3..c9cf94e 100644 --- a/svoboda/pechatalka/system/models/paper.php +++ b/svoboda/pechatalka/system/models/paper.php @@ -181,15 +181,15 @@ final class paper extends core // Drawing the cutting line $draw = new imagick_draw(); $draw->setfillcolor($canvas['background'] ?? '#fff'); - $stroke = 1; - $draw->setStrokeOpacity($stroke); + $stroke = 2; + $draw->setStrokeOpacity(1); $draw->setStrokeColor('#000'); - $draw->setStrokeWidth(2); + $draw->setStrokeWidth($stroke); $draw->circle( $place['x'] + $blank['width'] / 2, $place['y'] + $blank['height'] / 2, - round($place['x'] + $blank['width'] / 2 - $stroke), - round($place['y'] + $blank['height']) + round($place['x'] + $blank['width'] / 2 + $stroke), + round($place['y'] + $blank['height'] + $stroke) ); $paper->drawimage($draw);