Skip to content

Commit

Permalink
Draw lines antialiased with gd driver
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Dec 12, 2023
1 parent f6e4d0d commit 2622255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Drivers/Gd/Modifiers/DrawLineModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class DrawLineModifier extends AbstractDrawModifier
public function apply(ImageInterface $image): ImageInterface
{
foreach ($image as $frame) {
imageantialias($frame->native(), true);
imageline(
$frame->native(),
$this->drawable->start()->x(),
Expand Down

0 comments on commit 2622255

Please sign in to comment.