printer_create_pen(3) php man page | unix.com

Man Page: printer_create_pen

Operating Environment: php

Section: 3

PRINTER_CREATE_PEN(3)							 1						     PRINTER_CREATE_PEN(3)

printer_create_pen - Create a new pen

SYNOPSIS
resource printer_create_pen (int $style, int $width, string $color)
DESCRIPTION
The function creates a new pen and returns a handle to it. A pen is used to draw lines and curves. For an example see printer_select_pen(3).
PARAMETERS
o $style -$style must be one of the following constants: o PRINTER_PEN_SOLID: creates a solid pen. o PRINTER_PEN_DASH: creates a dashed pen. o PRINTER_PEN_DOT: creates a dotted pen. o PRINTER_PEN_DASHDOT: creates a pen with dashes and dots. o PRINTER_PEN_DASHDOTDOT: creates a pen with dashes and double dots. o PRINTER_PEN_INVISIBLE: creates an invisible pen. o $width -$width specifies the width of the pen. o $color -$color must be a color in RGB hex format, i.e. " 000000" for black.
RETURN VALUES
Returns a pen handle or FALSE on error. PHP Documentation Group PRINTER_CREATE_PEN(3)
Related Man Pages
qwtsymbol(3) - debian
printer_draw_elipse(3) - php
printer_draw_pie(3) - php
printer_draw_roundrect(3) - php
printer_select_brush(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!