imagepsslantfont

(PHP 4, PHP 5)

imagepsslantfontSlant a font

說明

bool imagepsslantfont ( resource $font_index , float $slant )

Slant a given font given.

參數

font_index

A font resource, returned by imagepsloadfont().

slant

Slant level.

回傳值

如果成功則回傳 TRUE,失敗則回傳 FALSE

範例

Example #1 imagepsslantfont() example

<?php
// Load a .pfb font file
$font imagepsloadfont('./px3l.pfb');

// Slant the font by 22.5
imagepsslantfont($font22.5);

// Do any operations with the font here

// Free the font from memory
imagepsfreefont($font);
?>

註釋

Note: 本函式僅在 PHP 編譯時指定了 --enable-t1lib 時可用。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top