ISurfacePaint Method Awesomium.NET 1.7.6Awesomium.NET
This method is called whenever the IWebView instance this surface is assigned to, wants to paint a certain section of the Surface with a block of pixels. It is your responsibility to copy srcBuffer to the location in this Surface specified by destRect.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

void Paint(
	IntPtr srcBuffer,
	int srcRowSpan,
	AweRect srcRect,
	AweRect destRect


Type: SystemIntPtr
A pointer to a block of pixels in 32-bit BGRA format. The size of the buffer is: srcRowSpan * srcRect.Height.
Type: SystemInt32
The number of bytes of each row. (Usually: srcRect.Width * 4)
Type: Awesomium.CoreAweRect
The dimensions of the region of srcBuffer to copy from. May have a non-zero origin.
Type: Awesomium.CoreAweRect
The location to copy srcBuffer to. Always has same dimensions as srcRect but may have different origin (which specifies the offset of the section to copy to).
See Also