Image-Magick-PolyText
view release on metacpan or search on metacpan
lib/Image/Magick/PolyText/FreeType.pm view on Meta::CPAN
108109110111112113114115116117118119120121122123124125126127128die
$result
if
$result
;
# We have to set the background to none so when the bitmap is rotated,
# the areas filled in where the glyph is moved from are left as white.
$result
=
$bitmap
-> Set(
background
=>
'None'
);
die
$result
if
$result
;
# We set white as transparent so this bitmap has no background, so that
# when it's overlayed on the original image, only the glyph is visible.
$result
=
$bitmap
-> Transparent(
color
=>
'White'
);
die
$result
if
$result
;
$result
=
$bitmap
-> Rotate(
$rotation
);
die
$result
if
$result
;
return
$bitmap
;
( run in 0.239 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )