位置: 编程技术 - 正文
推荐整理分享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
A font resource, returned by imagepsloadfont().
slantSlant 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字体所占用的
标签: PHP:imagepsslantfont()的用法_GD库图像处理函数
本文链接地址:https://www.jiuchutong.com/biancheng/284758.html 转载请保留说明!友情链接: 武汉网站建设