IRenderHandlerOnPaint Method |
Version 130.1.90
Called when an element should be painted. (Invoked from CefRenderHandler.OnPaint)
This method is only called when
SharedTextureEnabled is set to false.
Namespace: CefSharp.WpfAssembly: CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax void OnPaint(
bool isPopup,
Rect dirtyRect,
IntPtr buffer,
int width,
int height,
Image image
)
void OnPaint(
bool isPopup,
Rect dirtyRect,
IntPtr buffer,
int width,
int height,
Image^ image
)
Parameters
- isPopup Boolean
- indicates whether the element is the view or the popup widget.
- dirtyRect Rect
- contains the set of rectangles in pixel coordinates that need to be repainted
- buffer IntPtr
- The bitmap will be will be width * height *4 bytes in size and represents a BGRA image with an upper-left origin
- width Int32
- width
- height Int32
- height
- image Image
- image used as parent for rendered bitmap
See Also