(PHP 4, PHP 5)
imagepsslantfont — Slant a font
$font_index
, float $slant
)Slant a given font given.
如果成功則回傳 TRUE
,失敗則回傳 FALSE
。
Example #1 imagepsslantfont() example
<?php
// Load a .pfb font file
$font = imagepsloadfont('./px3l.pfb');
// Slant the font by 22.5
imagepsslantfont($font, 22.5);
// Do any operations with the font here
// Free the font from memory
imagepsfreefont($font);
?>
Note: 本函式僅在 PHP 編譯時指定了 --enable-t1lib 時可用。