MuPDF 1.23.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 6.5 Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . image }, }) // Create content stream. var buffer = new Buffer() buffer.writeLine("10 10 280 330 re s") buffer.writeLine("q 200 0 0 200 50 100 cm /Im0 Do Q") buffer.writeLine("BT /Tm 16 Tf 50 50 TD (Hello (Hello, world!) Tj ET") var contents = pdf.addStream(buffer) // Create page object. var page = pdf.addObject({ Type: "Page", MediaBox: [0,0,300,350], Contents: contents, Resources: resources, }) // Insert0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.24.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 6.5 Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . image }, }) // Create content stream. var buffer = new Buffer() buffer.writeLine("10 10 280 330 re s") buffer.writeLine("q 200 0 0 200 50 100 cm /Im0 Do Q") buffer.writeLine("BT /Tm 16 Tf 50 50 TD (Hello (Hello, world!) Tj ET") var contents = pdf.addStream(buffer) // Create page object. var page = pdf.addObject({ Type: "Page", MediaBox: [0,0,300,350], Contents: contents, Resources: resources, }) // Insert0 码力 | 249 页 | 830.15 KB | 8 月前3
MuPDF 1.25.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 7.5 Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . image }, }) // Create content stream. var buffer = new Buffer() buffer.writeLine("10 10 280 330 re s") buffer.writeLine("q 200 0 0 200 50 100 cm /Im0 Do Q") buffer.writeLine("BT /Tm 16 Tf 50 50 TD (Hello (Hello, world!) Tj ET") var contents = pdf.addStream(buffer) (continues on next page) 5.3. mutool 57 MuPDF Documentation, Release 1.25.0 (continued from previous page) // Create page object. var page =0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.22.0 Documentationimage }, }) // Create content stream. var buffer = new Buffer() buffer.writeLine("10 10 280 330 re s") buffer.writeLine("q 200 0 0 200 50 100 cm /Im0 Do Q") buffer.writeLine("BT /Tm 16 Tf 50 50 TD (Hello (Hello, world!) Tj ET") var contents = pdf.addStream(buffer) // Create page object. var page = pdf.addObject({ Type: "Page", MediaBox: [0,0,300,350], Contents: contents, Resources: resources, }) // Insert PDFDocument() var subdoc = new Document("pdfref17.pdf") var resources = { XObject: {} } var contents = new Buffer() for (var i=0; i < 5; ++i) { var pixmap = subdoc.loadPage(1140+i).toPixmap([0.2,0,0,0.2,0,0],␣0 码力 | 175 页 | 698.87 KB | 8 月前3
Tornado 6.1 Documentation
RequestHandler.write(chunk: Union[str, bytes, dict]) → None[source] Writes the given chunk to the output buffer. To write the output to the network, use the flush() method below. If the given chunk is a dictionary RequestHandler.flush(include_footers: bool = False) → Future[None][source] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in Optional[float] = None, body_timeout: Optional[float] = None, max_body_size: Optional[int] = None, max_buffer_size: Optional[int] = None, trusted_downstream: Optional[List[str]] = None)[source] A non-blocking0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.0 Documentation
RequestHandler.write(chunk: Union[str, bytes, dict]) → None[source] Writes the given chunk to the output buffer. To write the output to the network, use the flush() method below. If the given chunk is a dictionary RequestHandler.flush(include_footers: bool = False) → Future[None][source] Flushes the current output buffer to the network. The callback argument, if given, can be used for flow control: it will be run when idle_connection_timeout: float = None, body_timeout: float = None, max_body_size: int = None, max_buffer_size: int = None, trusted_downstream: List[str] = None)[source] A non-blocking, single-threaded0 码力 | 869 页 | 692.83 KB | 1 年前3
Python 标准库参考指南 2.7.18 . . . . . . . . . . . . . . . . . 35 5.6 Sequence Types —str, unicode, list, tuple, bytearray, buffer, xrange . . . . . . . . 35 5.7 集合类型—set, frozenset . . . . . . . . . . . . . . . . . . . . . . addition, there are other four built-in functions that are no longer considered essential: apply(), buffer(), coerce(), and intern(). They are documented in the Non-essential Built-in Functions section. bytes using unicode.encode(). • 如果是一个 integer,会初始化大小为该数字的数组,并使用 null 字节填充。 • 如果是一个符合 buffer 接口的对象,该对象的只读 buffer 会用来初始化字节数组。 • 如果是一个 iterable 可迭代对象,它的元素的范围必须是 0 <= x < 256 的整数,它会被用作数 组的初始内容。 如果没有实参,则创建大小为0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 . . . . . . . . . . . . . . . . . 35 5.6 Sequence Types —str, unicode, list, tuple, bytearray, buffer, xrange . . . . . . . . 35 5.7 集合类型—set, frozenset . . . . . . . . . . . . . . . . . . . . . . addition, there are other four built-in functions that are no longer considered essential: apply(), buffer(), coerce(), and intern(). They are documented in the Non-essential Built-in Functions section. bytes using unicode.encode(). • 如果是一个 integer,会初始化大小为该数字的数组,并使用 null 字节填充。 • 如果是一个符合 buffer 接口的对象,该对象的只读 buffer 会用来初始化字节数组。 • 如果是一个 iterable 可迭代对象,它的元素的范围必须是 0 <= x < 256 的整数,它会被用作数 组的初始内容。 如果没有实参,则创建大小为0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 . . . . . . . . . . . . . . . . . 35 5.6 Sequence Types —str, unicode, list, tuple, bytearray, buffer, xrange . . . . . . . . 35 5.7 集合类型—set, frozenset . . . . . . . . . . . . . . . . . . . . . . addition, there are other four built-in functions that are no longer considered essential: apply(), buffer(), coerce(), and intern(). They are documented in the Non-essential Built-in Functions section. bytes using unicode.encode(). • 如果是一个 integer,会初始化大小为该数字的数组,并使用 null 字节填充。 • 如果是一个符合 buffer 接口的对象,该对象的只读 buffer 会用来初始化字节数组。 • 如果是一个 iterable 可迭代对象,它的元素的范围必须是 0 <= x < 256 的整数,它会被用作数 组的初始内容。 如果没有实参,则创建大小为0 码力 | 1552 页 | 7.42 MB | 9 月前3
Tornado 6.1 Documentation
RequestHandler.write(chunk: Union[str, bytes, dict]) → None Writes the given chunk to the output buffer. To write the output to the network, use the flush() method below. If the given chunk is a dictionary 1 RequestHandler.flush(include_footers: bool = False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in Optional[float] = None, body_timeout: Optional[float] = None, max_body_size: Optional[int] = None, max_buffer_size: Optional[int] = None, trusted_downstream: Optional[List[str]] = None) A non-blocking, single-threaded0 码力 | 245 页 | 904.24 KB | 1 年前3
共 353 条
- 1
- 2
- 3
- 4
- 5
- 6
- 36













