pdf_setgray double values start at 0 for black and end at 1 for white so for any shade of gray simply pick a value inbetween these 2 numbers
PDF_setgray
説明
bool PDF_setgray ( resource p, float g )カレントの塗りつぶしおよび輪郭描画色を 0 から 1 までのグレー値に設定します。 成功した場合に TRUE を、失敗した場合に FALSE を返します。
この関数は PDFlib バージョン 4 で廃止されました。かわりに PDF_setcolor() を使用してください。
PDF_setgray
leea at digitus dot com dot au
30-Jan-2001 12:37
30-Jan-2001 12:37