downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ps_setoverprintmode> <ps_setlinewidth
Last updated: Fri, 13 Nov 2009

view this page in

ps_setmiterlimit

(PECL ps >= 1.1.0)

ps_setmiterlimitmiter limit 値を設定する

説明

bool ps_setmiterlimit ( resource $psdoc , float $value )

2 本の直線が小さい角度で連結され、かつ連結方法が PS_LINEJOIN_MITER に設定されている場合、 出来上がる線の角の部分が非常に長くなります。miter limit は、miter length (角の長さ) と線幅の比率の最大値です。

パラメータ

psdoc

ps_new() が返す、postscript ファイルのリソース ID。

value

miter length と線幅の比率の最大値。大きな値 (> 10) を設定すると、2 本の直線が狭い角度で交わる際に、 角の部分が非常に長くなってしまいます。 よくわからない場合はデフォルトのままにしておきましょう。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考



add a note add a note User Contributed Notes
ps_setmiterlimit
There are no user contributed notes for this page.

ps_setoverprintmode> <ps_setlinewidth
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites