PHP: ps_setmiterlimit - Manual

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

search for in the

ps_setpolydash ps_setlinewidth

Last updated: Fri, 26 Jan 2007

view this page in

# ps_setmiterlimit

(PECL)

ps_setmiterlimit -- Sets the miter limit

## Описание

bool ps_setmiterlimit ( resource psdoc, float value )

If two lines join in a small angle and the line join is set to `PS_LINEJOIN_MITER`, then the resulting spike will be very long. The miter limit is the maximum ratio of the miter length (the length of the spike) and the line width.

## Список параметров

`psdoc`

  Resource identifier of the postscript file as returned by ps_new().

`value`

  The maximum ratio between the miter length and the line width. Larger values (> 10) will result in very long spikes when two lines meet in a small angle. Keep the default unless you know what you are doing.

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Смотрите также

ps_setlinecap()
ps_setlinejoin()
ps_setlinewidth()

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

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST