PaintBuffer (object)
August 1, 2018 ยท View on GitHub
PaintBuffer (object)
This object used in: RenderHandler.OnPaint().
Table of contents:
Methods
GetIntPointer
| Return | long |
Get int pointer to the void* buffer.
Description from upstream CEF:
|buffer| will be |width|*|height|*4 bytes in size and represents a BGRA image with an upper-left origin.
GetBytes
| Parameter | Type |
|---|---|
| mode="bgra" | string |
| origin="top-left" | string |
| Return | object |
Converts the void* buffer to string. In Py2 returns 'str' type, in Py3 returns 'bytes' type.
origin may be one of: "top-left", "bottom-left".
mode may be one of: "bgra", "rgba".