The OpenD Programming Language

cef_render_handler_t.on_paint

Called when an element should be painted. Pixel values passed to this function are scaled relative to view coordinates based on the value of CefScreenInfo.device_scale_factor returned from GetScreenInfo. |type| indicates whether the element is the view or the popup widget. |buffer| contains the pixel data for the whole image. |dirtyRects| contains the set of rectangles in pixel coordinates that need to be repainted. |buffer| will be |width|*|height|*4 bytes in size and represents a BGRA image with an upper-left origin. This function is only called when

More...
struct cef_render_handler_t
extern (System)
void function(cef_render_handler_t* self, cef_browser_t* browser, cef_paint_element_type_t type, size_t dirtyRectsCount, const(cef_rect_t)* dirtyRects, const(void)* buffer, int width, int height) nothrow on_paint;

Detailed Description

cef window tInfo

:shared_texture_enabled is set to false (0).

Meta