 PyMuPDF 1.12.2 documentationPoint, IRect, Rect and Matrix are collectively also called “geometry” objects. We have defined operators for these classes that allow dealing with them (almost) like ordinary numbers in terms of addition division, and some others. This chapter is a synopsis of what is possible. General Remarks 1. Operators can be either binary (i.e. involving two objects) or unary. 2. The result of binary operatorions 4. All binary operators fully support in-place operations, i.e. if the operator is called “°”, then something like a °= b is equivalent to a = a ° b. 5. The following binary operators are defined for0 码力 | 387 页 | 2.70 MB | 1 年前3 PyMuPDF 1.12.2 documentationPoint, IRect, Rect and Matrix are collectively also called “geometry” objects. We have defined operators for these classes that allow dealing with them (almost) like ordinary numbers in terms of addition division, and some others. This chapter is a synopsis of what is possible. General Remarks 1. Operators can be either binary (i.e. involving two objects) or unary. 2. The result of binary operatorions 4. All binary operators fully support in-place operations, i.e. if the operator is called “°”, then something like a °= b is equivalent to a = a ° b. 5. The following binary operators are defined for0 码力 | 387 页 | 2.70 MB | 1 年前3
 PyMuPDF 1.24.2 Documentationis defined in “A Operator Summary” on page 643 of the Adobe PDF References. Spec- ifying these operators for a PDF page happens in its contents objects. implements a large part of the available features refer to Using Python Sequences as Arguments in PyMuPDF. • Rectangles can be used with arithmetic operators – see chapter Operator Algebra for Geometry Objects. This documentation covers all versions up refer to Using Python Sequences as Arguments in PyMuPDF. • Matrices can be used with arithmetic operators almost like ordinary numbers: they can be added, subtracted, multiplied or divided – see chapter0 码力 | 565 页 | 6.84 MB | 1 年前3 PyMuPDF 1.24.2 Documentationis defined in “A Operator Summary” on page 643 of the Adobe PDF References. Spec- ifying these operators for a PDF page happens in its contents objects. implements a large part of the available features refer to Using Python Sequences as Arguments in PyMuPDF. • Rectangles can be used with arithmetic operators – see chapter Operator Algebra for Geometry Objects. This documentation covers all versions up refer to Using Python Sequences as Arguments in PyMuPDF. • Matrices can be used with arithmetic operators almost like ordinary numbers: they can be added, subtracted, multiplied or divided – see chapter0 码力 | 565 页 | 6.84 MB | 1 年前3
 MuPDF 1.22.0 Documentationcallback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. Example var myPathWalker = { moveTo: function (x, y) { ... do whatever ... }, lineTo:0 码力 | 175 页 | 698.87 KB | 8 月前3 MuPDF 1.22.0 Documentationcallback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. Example var myPathWalker = { moveTo: function (x, y) { ... do whatever ... }, lineTo:0 码力 | 175 页 | 698.87 KB | 8 月前3
 MuPDF 1.23.0 Documentationhas callback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. var myPathWalker = { moveTo: function (x, y) { //... do whatever ... }, lineTo: function0 码力 | 245 页 | 817.74 KB | 8 月前3 MuPDF 1.23.0 Documentationhas callback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. var myPathWalker = { moveTo: function (x, y) { //... do whatever ... }, lineTo: function0 码力 | 245 页 | 817.74 KB | 8 月前3
 MuPDF 1.25.0 Documentationhas callback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. var myPathWalker = { moveTo: function (x, y) { //... do whatever ... }, lineTo: function0 码力 | 259 页 | 1.11 MB | 8 月前3 MuPDF 1.25.0 Documentationhas callback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. var myPathWalker = { moveTo: function (x, y) { //... do whatever ... }, lineTo: function0 码力 | 259 页 | 1.11 MB | 8 月前3
 MuPDF 1.24.0 Documentationhas callback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. var myPathWalker = { moveTo: function (x, y) { //... do whatever ... }, lineTo: function0 码力 | 249 页 | 830.15 KB | 8 月前3 MuPDF 1.24.0 Documentationhas callback methods that are called when walk() walks over moveTo, lineTo, curveTo and closePath operators in a Path. var myPathWalker = { moveTo: function (x, y) { //... do whatever ... }, lineTo: function0 码力 | 249 页 | 830.15 KB | 8 月前3
共 6 条
- 1













