PyMuPDF 1.12.2 documentationannotation. This could e.g. be a rectangle rect = Annot.rect * M with a suitable Matrix M (only scaling and translating will yield the expected effect). setBorder(value) PDF only: Change border width Method / Attribute Description Matrix.preRotate() perform a rotation Matrix.preScale() perform a scaling Matrix.preShear() perform a shearing (skewing) Matrix.preTranslate() perform a translation (shifting) replaced with the inverted m. Parameters: m (Matrix) – Matrix to be inverted. Return type: int a Scaling in X-direction (width). For example, a value of 0.5 performs a shrink of the width by a factor of0 码力 | 387 页 | 2.70 MB | 1 年前3
MuPDF 1.22.0 Documentationa transformation matrix for the zoom and rotation desired. */ /* The default resolution without scaling is 72 dpi. */ ctm = fz_scale(zoom / 100, zoom / 100); ctm = fz_pre_rotate(ctm, rotate); /* Render color (default 303030). -C hex-color Set white tint color (default FFFFF0). -Y factor Set UI scaling factor (default calculated from screen DPI). [page] The initial page number to show. Example usage Identity The identity matrix, short hand for [1,0,0,1,0,0]. Methods Scale(sx, sy) Returns a scaling matrix, short hand for [sx,0,0,sy,0,0]. Returns [a,b,c,d,e,f]. Translate(tx, ty) Return a translation0 码力 | 175 页 | 698.87 KB | 8 月前3
PyMuPDF 1.24.2 Documentationarbitrarily “morphed”, i.e. its appearance can be changed via a Matrix, to achieve effects like scaling, shearing or mirroring, – independently from morphing and in addition to that, text can be rotated statements: >>> m = fitz.Matrix(1, 0, 0, 1, 0, 0) # specify the values >>> m = fitz.Matrix(1, 1) # use scaling by factor 1 >>> m = fitz.Matrix(0) # use rotation by zero degrees >>> m = fitz.Matrix(fitz.Identity) Method / Attribute Description Matrix.prerotate() perform a rotation Matrix.prescale() perform a scaling Matrix.preshear() perform a shearing (skewing) Matrix.pretranslate() perform a translation (shifting)0 码力 | 565 页 | 6.84 MB | 1 年前3
MuPDF 1.23.0 Documentationa transformation matrix for the zoom and rotation desired. */ /* The default resolution without scaling is 72 dpi. */ ctm = fz_scale(zoom / 100, zoom / 100); ctm = fz_pre_rotate(ctm, rotate); /* Render color (default 303030). -C hex-color Set white tint color (default FFFFF0). -Y factor Set UI scaling factor (default calculated from screen DPI). [page] The initial page number to show. Example usage float rotate); Create a transform matrix to draw a page at a given resolution and rotation. The scaling factors are adjusted so that the page covers a whole number of pixels. Resolution is given in dots0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.25.0 Documentationa transformation matrix for the zoom and rotation desired. */ /* The default resolution without scaling is 72 dpi. */ ctm = fz_scale(zoom / 100, zoom / 100); ctm = fz_pre_rotate(ctm, rotate); /* Render color (default 303030). -C hex-color Set white tint color (default FFFFF0). -Y factor Set UI scaling factor (default calculated from screen DPI). [page] The initial page number to show. Example usage float rotate); Create a transform matrix to draw a page at a given resolution and rotation. The scaling factors are adjusted so that the page covers a whole number of pixels. Resolution is given in dots0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 Documentationa transformation matrix for the zoom and rotation desired. */ /* The default resolution without scaling is 72 dpi. */ ctm = fz_scale(zoom / 100, zoom / 100); ctm = fz_pre_rotate(ctm, rotate); /* Render color (default 303030). -C hex-color Set white tint color (default FFFFF0). -Y factor Set UI scaling factor (default calculated from screen DPI). [page] The initial page number to show. Example usage float rotate); Create a transform matrix to draw a page at a given resolution and rotation. The scaling factors are adjusted so that the page covers a whole number of pixels. Resolution is given in dots0 码力 | 249 页 | 830.15 KB | 8 月前3
Flask Documentation (1.1.x)documentation of your webserver. Becoming Big Here are your options when growing your codebase or scaling your application. Read the Source. Flask started in part to demonstrate how to build your own framework complexity of the code is less an issue than the scaling for the number of users or data entries expected. Flask by itself is only limited in terms of scaling by your application code, the data store you want implementation and webserver you are running on. Scaling well means for example that if you double the amount of servers you get about twice the performance. Scaling bad means that if you add a new server the0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)documentation of your webserver. 1.23 Becoming Big Here are your options when growing your codebase or scaling your application. 1.23.1 Read the Source. Flask started in part to demonstrate how to build your complexity of the code is less an issue than the scaling for the number of users or data entries expected. Flask by itself is only limited in terms of scaling by your application code, the data store you want implementation and webserver you are running on. Scaling well means for example that if you double the amount of servers you get about twice the performance. Scaling bad means that if you add a new server the0 码力 | 291 页 | 1.25 MB | 1 年前3
Celery 3.0 Documentationsystem can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in any language. In addition to O(1) loookup of active/reserved tasks by id. • Auto-scale didn’t always update keep-alive when scaling down. Fix contributed by Philip Garnero. • Fixed typo options_list -> option_list. Fix contributed0 码力 | 703 页 | 2.60 MB | 1 年前3
Celery v4.0.1 Documentationsystem can consist of multiple workers and brokers, giving way to high availability and horizontal scaling. Celery is written in Python, but the protocol can be implemented in any language. In addition to enables O(1) loookup of active/reserved tasks by id. Auto-scale didn’t always update keep-alive when scaling down. Fix contributed by Philip Garnero. Fixed typo options_list -> option_list. Fix contributed0 码力 | 1040 页 | 1.37 MB | 1 年前3
共 58 条
- 1
- 2
- 3
- 4
- 5
- 6













