| 操作码 |
Postscript对照 |
描述 |
Discription |
| b |
closepath,fill,stroke |
使用非零缠绕数规则闭合、填充和笔划路径 |
|
| B |
fill,stroke |
使用非零缠绕数规则填充和笔划路径 |
|
| b* |
closepath,eofill,stroke |
使用奇偶规则关闭、填充和笔划路径 |
|
| B* |
eofill,stroke |
使用奇偶规则填充和笔划路径 |
|
| BDC |
|
(PDF 1.2)从属性列表开始标记内容序列 |
|
| BI |
|
开始内联图像对象 |
|
| BMC |
|
(PDF 1.2)开始标记内容序列 |
|
| BT |
|
开始文本对象 |
|
| BX |
|
(PDF 1.1)开始兼容性部分 |
(PDF 1.1) Begin compatibility section |
| c |
curveto |
将曲线段附加到路径(三个控制点) |
Append curved segment to path (three control points) |
| cm |
concat |
连接矩阵到当前变换矩阵 |
Concatenate matrix to current transformation matrix |
| CS |
setcolorspace |
(PDF 1.1)设置笔划操作的颜色空间 |
(PDF 1.1) Set color space for stroking operations |
| cs |
setcolorspace |
(PDF 1.1)为非笔划操作设置颜色空间 |
(PDF 1.1) Set color space for nonstroking operations |
| d |
setdash |
设置直线虚线图案 |
Set line dash pattern |
| d0 |
setcharwidth |
在Type 3字体中设置字形宽度 |
Set glyph width in Type 3 font |
| d1 |
setcachedevice |
在Type 3字体中设置字形宽度和边界框 |
Set glyph width and bounding box in Type 3 font |
| Do |
|
调用命名的XObject |
Invoke named XObject |
| DP |
|
(PDF 1.2)使用属性列表定义标记的内容点 |
(PDF 1.2) Define marked-content point with property list |
| EI |
|
结束内联图像对象 |
End inline image object |
| EMC |
|
(PDF 1.2)结束标记的内容序列 |
(PDF 1.2) End marked-content sequence |
| ET |
|
结束文本对象 |
End text object |
| EX |
|
(PDF 1.1)端部兼容性部分 |
(PDF 1.1) End compatibility section |
| f |
fill |
使用非零绕组数规则填充路径 |
Fill path using nonzero winding number rule |
| F |
fill |
使用非零绕组编号规则填充路径(已过时) |
Fill path using nonzero winding number rule (obsolete) |
| f* |
eofill |
使用奇偶规则填充路径 |
Fill path using even-odd rule |
| G |
setgray |
设置笔划操作的灰度级 |
Set gray level for stroking operations |
| g |
setgray |
设置非行程操作的灰度级 |
Set gray level for nonstroking operations |
| gs |
|
(PDF 1.2)从图形状态参数字典中设置参数 |
(PDF 1.2) Set parameters from graphics state parameter dictionary |
| h |
closepath |
关闭子路径 |
Close subpath |
| i |
setflag |
设置平面度公差 |
Set flatness tolerance |
| ID |
|
开始内联图像数据 |
Begin inline image data |
| j |
setlinejoin |
设置线条连接样式 |
Set line join style |
| J |
setlinecap |
设置线帽样式 |
Set line cap style |
| K |
setcmykcolor |
设置线条CMYK颜色 |
Set CMYK color for stroking operations |
| k |
setcmykcolor |
设置非线条CMYK颜色 |
Set CMYK color for nonstroking operations |
| l |
lineto |
将直线段附加到路径 |
Append straight line segment to path |
| m |
moveto |
开始新的子路径 |
Begin new subpath |
| M |
setmiterlimit |
设置斜接限制 |
Set miter limit |
| MP |
|
(PDF 1.2)定义标记内容点 |
(PDF 1.2) Define marked-content point |
| n |
|
结束路径但不包括填充和笔画 |
End path without filling or stroking |
| q |
gsave |
保存图像状态 |
Save graphics state |
| Q |
grestore |
重置图像状态 |
Restore graphics state |
| re |
|
添加矩形到路径 |
Append rectange to path |
| RG |
setrgbcolor |
为笔画设置RGB色 |
Set RGB color for stroking operations |
| ri |
|
设置渲染意图 |
Set color rendering intent |
| s |
closepath,stroke |
结束并绘制路径 |
Close and stroke path |
| S |
stroke |
绘制路径 |
Stroke path |
| SC |
setcolor |
(PDF 1.1)设置路径颜色 |
(PDF 1.1) Set color for stroking operations |
| sc |
setcolor |
(PDF 1.1)设置非路径颜色 |
(PDF 1.1) Set color for nonstroking operations |
| SCN |
setcolor |
(PDF 1.2)设置笔划操作的颜色(ICCBased和特殊颜色空间) |
(PDF 1.2) Set color for stroking operations (ICCBased and special color spaces) |
| scn |
setcolor |
(PDF 1.2)设置非笔划操作的颜色(ICCBased和特殊颜色空间) |
(PDF 1.2) Set color for nonstroking operations (ICCBased and special color spaces) |
| sh |
shfill |
(PDF 1.3)由阴影图案定义的绘画区域 |
(PDF 1.3) Paint area defined by shading pattern |
| T* |
|
移动到下一行文本的开头 |
Move to start of next text line |
| Tc |
|
设置字符间距 |
Set character spacing |
| Td |
|
移动文本位置 |
Move text position |
| TD |
|
移动文本位置并设置前导 |
Move text position and set leading |
| Tf |
selectfont |
设置字体和大小 |
Set text font and size |
| Tj |
show |
显示文本 |
Show text |
| TJ |
|
显示文本,允许单个字形定位 |
Show text, allowing individual glyph positioning |
| TL |
|
设置文本前导 |
Set text leading |
| Tm |
|
设置文本矩阵和文本行矩阵 |
Set text matrix and text line matrix |
| Tr |
|
设置文本渲染模式 |
Set text rendering mode |
| Ts |
|
|
Set text rise |
| Tw |
|
|
Set word spacing |
| Tz |
|
|
Set horizontal text scaling |
| v |
curveto |
将曲线段附加到路径(复制初始点) |
Append curved segment to path (initial point replicated) |
| w |
setlinewidth |
|
Set line width |
| W |
clip |
使用非零卷绕数规则设置剪切路径 |
Set clipping path using nonzero winding number rule |
| W* |
eoclip |
使用奇偶规则设置剪切路径 |
Set clipping path using even-odd rule |
| y |
curveto |
|
Append curved segment to path (final point replicated) |
| ' |
|
|
Move to next line and show text |
| " |
|
|
Set word and character spacing, move to next line, and show text |