Click or drag to resize

WritableBitmapRenderHandler Class

Version 110.0.300
WritableBitmapRenderHandler - creates/updates an WritableBitmap Uses a MemoryMappedFile for double buffering when the size matches or creates a new WritableBitmap when required
Inheritance Hierarchy
SystemObject
  CefSharp.Wpf.RenderingAbstractRenderHandler
    CefSharp.Wpf.RenderingWritableBitmapRenderHandler

Namespace:  CefSharp.Wpf.Rendering
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 110.0.300.0 (110.0.300.0)
Syntax
public class WritableBitmapRenderHandler : AbstractRenderHandler

The WritableBitmapRenderHandler type exposes the following members.

Constructors
  NameDescription
Public methodWritableBitmapRenderHandler
Initializes a new instance of the WritableBitmapRenderHandler class.
Top
Properties
  NameDescription
Public propertyCopyOnlyDirtyRect
When true if the Dirty Rect (rectangle that's to be updated) is smaller than the full width/height then only copy the Dirty Rect from the CEF native buffer to our own managed buffer. Set to true to improve performance when only a small portion of the screen is updated. Defaults to false currently.
Public propertyIsDisposed
Gets a value indicating whether this instance is disposed.
(Inherited from AbstractRenderHandler.)
Top
Methods
  NameDescription
Protected methodCreateOrUpdateBitmap (Overrides AbstractRenderHandlerCreateOrUpdateBitmap(Boolean, Rect, IntPtr, Int32, Int32, Image, Size, MemoryMappedFile, MemoryMappedViewAccessor).)
Public methodDispose
Releases all resources used by the AbstractRenderHandler object
(Inherited from AbstractRenderHandler.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources for the AbstractRenderHandler
(Inherited from AbstractRenderHandler.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnAcceleratedPaint
Called when an element has been rendered to the shared texture handle. This method is only called when SharedTextureEnabled is set to true
(Inherited from AbstractRenderHandler.)
Public methodOnPaint
Called when an element should be painted. (Invoked from CefRenderHandler.OnPaint) This method is only called when SharedTextureEnabled is set to false.
(Inherited from AbstractRenderHandler.)
Protected methodReleaseMemoryMappedView (Inherited from AbstractRenderHandler.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
See Also