ISurface MethodsAwesomium.NET 1.7.6Awesomium.NET

The ISurface type exposes the following members.

Methods

  NameDescription
Public methodInitialize
Called when the size of the view has changed and the surface needs to be re-initialized.
Public methodPaint
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.
Public methodScroll
This method is called whenever the IWebView instance this surface is assigned to, wants to 'scroll' an existing section of the Surface by a certain offset. It your responsibility to translate the pixels within the specified clipping rectangle (clipRect) by the specified offset.
Top
See Also

Reference