Click or drag to resize

BitmapBuffer Class

Version 71.0.0
BitmapBuffer contains a byte[] used to store the Bitmap generated from OnPaint(PaintElementType, Rect, IntPtr, Int32, Int32) and associated methods for updating that buffer and creating a Bitmap from the actaual Buffer
Inheritance Hierarchy
SystemObject
  CefSharp.OffScreenBitmapBuffer

Namespace:  CefSharp.OffScreen
Assembly:  CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 71.0.0.0 (71.0.0.0)
Syntax
public class BitmapBuffer

The BitmapBuffer type exposes the following members.

Constructors
  NameDescription
Public methodBitmapBuffer
Create a new instance of BitmapBuffer
Top
Properties
  NameDescription
Public propertyBitmapLock
Locking object used to syncronise access to the underlying buffer
Public propertyBuffer
Get the byte[] array that represents the Bitmap
Public propertyDirtyRect
Dirty Rect - unified region containing th
Public propertyHeight
Height
Public propertyNumberOfBytes
Number of bytes
Public propertyWidth
Width
Top
Methods
  NameDescription
Public methodCreateBitmap
Creates a new Bitmap given with the current Width/Height and Format then copies the buffer that represents the bitmap. Locks BitmapLock before creating the Bitmap
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateBuffer
Copy data from the unmanaged buffer (IntPtr) into our managed buffer. Locks BitmapLock before performing any update
Top
See Also