MuPDF 1.23.0 Documentationfz_transform_vector(fz_point vector, fz_matrix m); Transform a vector according to the given matrix (ignores translation). fz_rect fz_transform_rect(fz_rect rect, fz_matrix m); Transform a fz_rect according to the 2); translate(tx, ty) Return a translation matrix, short hand for [1,0,0,1,tx,ty]. Arguments • tx – X translation as a floating point number. • ty – Y translation as a floating point number. Returns Documentation, Release 1.23.0 6.24 PDFObject All functions that take PDFObjects, do automatic translation between JavaScript objects and PDFObjects using a few basic rules: • Null, booleans, and numbers0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.25.0 Documentationfz_transform_vector(fz_point vector, fz_matrix m); Transform a vector according to the given matrix (ignores translation). fz_rect fz_transform_rect(fz_rect rect, fz_matrix m); Transform a fz_rect according to the 2); translate(tx, ty) Return a translation matrix, short hand for [1,0,0,1,tx,ty]. Arguments • tx – X translation as a floating point number. • ty – Y translation as a floating point number. Returns graftObject(-1, srcdoc, 0); 7.24 PDFObject All functions that take PDFObjects, do automatic translation between JavaScript objects and PDFObjects using a few basic rules: • Null, booleans, and numbers0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 Documentationfz_transform_vector(fz_point vector, fz_matrix m); Transform a vector according to the given matrix (ignores translation). fz_rect fz_transform_rect(fz_rect rect, fz_matrix m); Transform a fz_rect according to the 2); translate(tx, ty) Return a translation matrix, short hand for [1,0,0,1,tx,ty]. Arguments • tx – X translation as a floating point number. • ty – Y translation as a floating point number. Returns Documentation, Release 1.24.0 6.24 PDFObject All functions that take PDFObjects, do automatic translation between JavaScript objects and PDFObjects using a few basic rules: • Null, booleans, and numbers0 码力 | 249 页 | 830.15 KB | 8 月前3
MuPDF 1.22.0 Documentationmatrix, short hand for [sx,0,0,sy,0,0]. Returns [a,b,c,d,e,f]. Translate(tx, ty) Return a translation matrix, short hand for [1,0,0,1,tx,ty]. Returns [a,b,c,d,e,f]. Rotate(theta) Return a rotation srcPageNumber – Source page number. 3.4.22 PDFObject All functions that take PDFObjects, do automatic translation between JavaScript objects and PDFObjects using a few basic rules: • Null, booleans, and numbers translated to PDF arrays and dictionaries. Be aware of cycles though! The translation does NOT cope with cyclic references! • The translation goes both ways: PDF dictionaries and arrays can be accessed similarly0 码力 | 175 页 | 698.87 KB | 8 月前3
PyMuPDF 1.12.2 documentationperform a scaling Matrix.preShear() perform a shearing (skewing) Matrix.preTranslate() perform a translation (shifting) Matrix.concat() perform a matrix multiplication Matrix.invert() calculate the inverted shifting / translation operation along the x and / or y axis. Has effects on attributes e and f only: [a, b, c, d, e, f] -> [a, b, c, d, tx*a + ty*c, tx*b + ty*d]. Parameters: tx (float) – Translation effect effect in X direction. See attribute e. ty (float) – Translation effect in Y direction. See attribute f. concat(m1, m2) Calculate the matrix product m1 * m2 and store the result in the current matrix.0 码力 | 387 页 | 2.70 MB | 1 年前3
PyMuPDF 1.24.2 Documentationperform a scaling Matrix.preshear() perform a shearing (skewing) Matrix.pretranslate() perform a translation (shifting) Matrix.concat() perform a matrix multiplication Matrix.invert() calculate the inverted shifting / translation operation along the x and / or y axis. Has effects on attributes e and f only: [a, b, c, d, e, f] -> [a, b, c, d, tx*a + ty*c, tx*b + ty*d]. Parameters • tx (float) – Translation effect effect in X direction. See attribute e. • ty (float) – Translation effect in Y direction. See attribute f. concat(m1, m2) Calculate the matrix product m1 * m2 and store the result in the current matrix0 码力 | 565 页 | 6.84 MB | 1 年前3
共 6 条
- 1













