7.85 Impression
7 Index des fonctions
Manuel PHP
. Introduction . Installation . Configuration à l'exécution . printer_abort . printer_close . printer_create_brush . printer_create_dc . printer_create_font ->printer_create_pen . printer_delete_brush . printer_delete_dc . printer_delete_font . printer_delete_pen . printer_draw_bmp . printer_draw_chord . printer_draw_elipse . printer_draw_line . printer_draw_pie . printer_draw_rectangle . printer_draw_roundrect . printer_draw_text . printer_end_doc . printer_end_page . printer_get_option . printer_list . printer_logical_fontheight . printer_open . printer_select_brush . printer_select_font . printer_select_pen . printer_set_option . printer_start_doc . printer_start_page . printer_write
|
7.85.9 printer_create_pen()Crée un nouveau stylo[ Exemples avec printer_create_pen ] CVS uniquement
mixed
printer_create_pen (
int
style
,
int
width
,
string
color
)
printer_create_pen
crée un nouveau stylo et retourne
une ressource. Un stylo est utilisé pour dessiner des lignes et des courbes.
Pour un exemple, voyez la fonction
printer_select_pen
.
color
doit être une couleur au format
RGB hexadécimal, "000000" pour le noir.
width
spécifie la largeur du stylo.
style
doit être l'une des constantes suivantes :
-
PRINTER_PEN_SOLID
:
crée un stylo plein.
-
PRINTER_PEN_DASH
:
crée un stylo pointillé avec des tirets.
-
PRINTER_PEN_DOT
:
crée un stylo pointillé avec des points.
-
PRINTER_PEN_DASHDOT
:
crée un stylo pointillé avec des tirets et des points.
-
PRINTER_PEN_DASHDOTDOT
:
crée un stylo pointillé avec des tirets et des doubles points.
-
PRINTER_PEN_INVISIBLE
:
crée un stylo invisible.
|