forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
PaintBuffer
Dominique B edited this page Feb 2, 2016
·
2 revisions
This object is related to: Browser.GetImage() and RenderHandler.OnPaint().
long GetIntPointer()
Get int pointer to the
void*buffer.
object GetString(string mode="bgra", string origin="top-left")
Converts the
void*buffer to string. In Py2 returns 'str' type, in Py3 returns 'bytes' type.
originmay be one of: "top-left", "bottom-left".
modemay be one of: "bgra", "rgba".