下载
文档
参与其中
帮助
PHP 8.3.0 RC 6 available for testing
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
简介 »
« wkhtmltox\Image\Converter::getVersion
PHP 手册
函数参考
非文本内容的 MIME 输出
Change language:
English
Brazilian Portuguese
Chinese (Simplified)
French
German
Japanese
Russian
Spanish
Turkish
Other
Submit a Pull Request
Report a Bug
PostScript document creation
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
PS 函数
ps_add_bookmark
— Add bookmark to current page
ps_add_launchlink
— Adds link which launches file
ps_add_locallink
— Adds link to a page in the same document
ps_add_note
— Adds note to current page
ps_add_pdflink
— Adds link to a page in a second pdf document
ps_add_weblink
— Adds link to a web location
ps_arc
— Draws an arc counterclockwise
ps_arcn
— Draws an arc clockwise
ps_begin_page
— Start a new page
ps_begin_pattern
— Start a new pattern
ps_begin_template
— Start a new template
ps_circle
— Draws a circle
ps_clip
— Clips drawing to current path
ps_close_image
— Closes image and frees memory
ps_close
— Closes a PostScript document
ps_closepath_stroke
— Closes and strokes path
ps_closepath
— Closes path
ps_continue_text
— Continue text in next line
ps_curveto
— Draws a curve
ps_delete
— Deletes all resources of a PostScript document
ps_end_page
— End a page
ps_end_pattern
— End a pattern
ps_end_template
— End a template
ps_fill_stroke
— Fills and strokes the current path
ps_fill
— Fills the current path
ps_findfont
— Loads a font
ps_get_buffer
— Fetches the full buffer containig the generated PS data
ps_get_parameter
— Gets certain parameters
ps_get_value
— Gets certain values
ps_hyphenate
— Hyphenates a word
ps_include_file
— Reads an external file with raw PostScript code
ps_lineto
— Draws a line
ps_makespotcolor
— Create spot color
ps_moveto
— Sets current point
ps_new
— Creates a new PostScript document object
ps_open_file
— Opens a file for output
ps_open_image_file
— Opens image from file
ps_open_image
— Reads an image for later placement
ps_open_memory_image
— Takes an GD image and returns an image for placement in a PS document
ps_place_image
— Places image on the page
ps_rect
— Draws a rectangle
ps_restore
— Restore previously save context
ps_rotate
— Sets rotation factor
ps_save
— Save current context
ps_scale
— Sets scaling factor
ps_set_border_color
— Sets color of border for annotations
ps_set_border_dash
— Sets length of dashes for border of annotations
ps_set_border_style
— Sets border style of annotations
ps_set_info
— Sets information fields of document
ps_set_parameter
— Sets certain parameters
ps_set_text_pos
— Sets position for text output
ps_set_value
— Sets certain values
ps_setcolor
— Sets current color
ps_setdash
— Sets appearance of a dashed line
ps_setflat
— Sets flatness
ps_setfont
— Sets font to use for following output
ps_setgray
— Sets gray value
ps_setlinecap
— Sets appearance of line ends
ps_setlinejoin
— Sets how contected lines are joined
ps_setlinewidth
— Sets width of a line
ps_setmiterlimit
— Sets the miter limit
ps_setoverprintmode
— Sets overprint mode
ps_setpolydash
— Sets appearance of a dashed line
ps_shading_pattern
— Creates a pattern based on a shading
ps_shading
— Creates a shading for later use
ps_shfill
— Fills an area with a shading
ps_show_boxed
— Output text in a box
ps_show_xy2
— Output text at position
ps_show_xy
— Output text at given position
ps_show2
— Output a text at current position
ps_show
— Output text
ps_string_geometry
— Gets geometry of a string
ps_stringwidth
— Gets width of a string
ps_stroke
— Draws the current path
ps_symbol_name
— Gets name of a glyph
ps_symbol_width
— Gets width of a glyph
ps_symbol
— Output a glyph
ps_translate
— Sets translation
+
add a note
User Contributed Notes
There are no user contributed notes for this page.