php h t t ps抓取,PHP:imagepsslantfont()的用法_GD库图像处理函数

imagepsslantfont

(PHP 4, PHP 5)

imagepsslantfont — 倾斜某字体

说明

bool imagepsslantfont

( resource $font_index

, float $slant

)

用 slant 参数指定的倾斜值来倾斜

font_index 参数指定的字体。

Note: 此函数仅在 PHP

编译时指定了 --with-t1lib[=DIR]

时可用。

参数

font_index

A font resource, returned by imagepsloadfont().

slant

Slant level.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE。

范例

Example #1 imagepsslantfont() example

// 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

编译时指定了 --with-t1lib[=DIR]

时可用。

PHP:imagepsloadfont()的用法_GD库图像处理函数

imagepsloadfont(PHP4,PHP5)imagepsloadfont从文件中加载一个PostScriptType1字体说明resourceimagepsloadfont(string$filename)从文件filename中加载一个PostScriptType1字体。参数filena

PHP:imagepsextendfont()的用法_GD库图像处理函数

imagepsextendfont(PHP4,PHP5)imagepsextendfont扩充或精简字体说明boolimagepsextendfont(resource$font_index,float$extend)扩充或精简某字体(font_index)。如果extend参数的值小于

PHP:imagepsfreefont()的用法_GD库图像处理函数

imagepsfreefont(PHP4,PHP5)imagepsfreefont释放一个PostScriptType1字体所占用的内存说明boolimagepsfreefont(resource$font_index)imagepsfreefont()释放一个PostScriptType1字体所占用的

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值