note 91514 added to function.ps-setcolor

From: Date: Sun, 14 Jun 2009 15:29:29 +0000
Subject: note 91514 added to function.ps-setcolor
Groups: php.notes 
Request: Send a blank email to php-notes+get-156857@lists.php.net to get a copy of this message
Note that if you specify colors in RGB, the parameters C1, C2, and C3 should be specified in decimal form. To calculate this, divide the value by 255. Example: rgb(58,110,165) becomes <?php ps_setcolor($ps, "stroke", "rgb", .23, .43, .65, 0.0); ?> However, since this is PostScript, most if not all files will be destined for printing and colors should be specified in CMYK anyway. ---- Server IP: 216.235.13.26 Probable Submitter: 96.49.71.161 ---- Manual Page -- http://www.php.net/manual/en/function.ps-setcolor.php Edit -- https://master.php.net/note/edit/91514 Del: integrated -- https://master.php.net/note/delete/91514/integrated Del: useless -- https://master.php.net/note/delete/91514/useless Del: bad code -- https://master.php.net/note/delete/91514/bad+code Del: spam -- https://master.php.net/note/delete/91514/spam Del: non-english -- https://master.php.net/note/delete/91514/non-english Del: in docs -- https://master.php.net/note/delete/91514/in+docs Del: other reasons-- https://master.php.net/note/delete/91514 Reject -- https://master.php.net/note/reject/91514 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#156857) next »