ps_setgray

(no version information, might be only in CVS)

ps_setgray -- Sets gray value

說明

bool ps_setgray ( resource psdoc, float gray )

Sets the gray value for all following drawing operations.

參數

psdoc

gray

The value must be between 0 (white) and 1 (black).

返回值

若果成功則返回 TRUE,失敗則返回 FALSE