位置: 编程技术 - 正文

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

编辑:rootadmin
imagepsslantfont

推荐整理分享PHP:imagepsslantfont()的用法_GD库图像处理函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4, PHP 5)

imagepsslantfont — 倾斜某字体

说明 bool imagepsslantfont ( resource $font_index , float $slant )

用 slant 参数指定的倾斜值来倾斜 font_index 参数指定的字体。

Note: 此函数仅在 PHP编译时指定了 --with-t1lib[=DIR] 时可用。

参数

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

A font resource, returned by imagepsloadfont().

slant

Slant level.

返回值

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

范例

Example #1 imagepsslantfont() example

<?php//Loada.pfbfontfile$font=imagepsloadfont('./px3l.pfb');//Slantthefontby.5imagepsslantfont($font,.5);//Doanyoperationswiththefonthere//Freethefontfrommemoryimagepsfreefont($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字体所占用的

本文链接地址:https://www.jiuchutong.com/biancheng/284758.html 转载请保留说明!

上一篇:PHP:imagepstext()的用法_GD库图像处理函数(php imagecopymerge)

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

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络