CefRenderHandler OnPaint Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

Called when an element should be painted. Pixel values passed to this method 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.

Namespace: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

protected abstract void OnPaint(
	CefBrowser browser,
	CefPaintElementType type,
	CefRectangle[] dirtyRects,
	IntPtr buffer,
	int width,
	int height
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

[Missing <param name="browser"/> documentation for "M:Xilium.CefGlue.CefRenderHandler.OnPaint(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefPaintElementType,Xilium.CefGlue.CefRectangle[],System.IntPtr,System.Int32,System.Int32)"]

type
Type: Xilium.CefGlue CefPaintElementType

[Missing <param name="type"/> documentation for "M:Xilium.CefGlue.CefRenderHandler.OnPaint(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefPaintElementType,Xilium.CefGlue.CefRectangle[],System.IntPtr,System.Int32,System.Int32)"]

dirtyRects
Type:  Xilium.CefGlue CefRectangle 

[Missing <param name="dirtyRects"/> documentation for "M:Xilium.CefGlue.CefRenderHandler.OnPaint(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefPaintElementType,Xilium.CefGlue.CefRectangle[],System.IntPtr,System.Int32,System.Int32)"]

buffer
Type: OnlineSystem IntPtr

[Missing <param name="buffer"/> documentation for "M:Xilium.CefGlue.CefRenderHandler.OnPaint(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefPaintElementType,Xilium.CefGlue.CefRectangle[],System.IntPtr,System.Int32,System.Int32)"]

width
Type: OnlineSystem Int32

[Missing <param name="width"/> documentation for "M:Xilium.CefGlue.CefRenderHandler.OnPaint(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefPaintElementType,Xilium.CefGlue.CefRectangle[],System.IntPtr,System.Int32,System.Int32)"]

height
Type: OnlineSystem Int32

[Missing <param name="height"/> documentation for "M:Xilium.CefGlue.CefRenderHandler.OnPaint(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefPaintElementType,Xilium.CefGlue.CefRectangle[],System.IntPtr,System.Int32,System.Int32)"]

See Also