PixelMemory Class |
Namespace: Atalasoft.Imaging.Memory
The PixelMemory type exposes the following members.
Name | Description | |
---|---|---|
PixelMemory | Initializes a new instance of the PixelMemory class |
Name | Description | |
---|---|---|
Disposed | Indicates whether or the PixelMemory has been disposed. | |
Height | Returns the height of the image represented. | |
IsLocked | Indicates whether or not the PixelMemory is currently locked. | |
RowStride | Returns the number of bytes in a row of this image. The number is always rounded up to the next multiple
of 4. |
Name | Description | |
---|---|---|
AcquirePixelAccessor | Returns an object that inherits from PixelAccessor that is used to get to an image's pixel data.
| |
Clone | Creates a deep copy of this image and its memory. | |
Dispose | Disposes this PixelMemory and all its managed and unmanaged resources. | |
Dispose(Boolean) | Disposes this PixelMemory and all its managed and unmanaged resources. | |
DisposeManagedResources | Disposes any unmanaged resources that implement IDisposable | |
DisposeUnmanagedResources | Disposes and unmanaged resources, such as memory not claimed by the garbage collector. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the PixelMemory class.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LLClone | Subclasses of PixelMemory implement this method to create a deep copy of the object. | |
LLGetHeight | Subclasses of PixelMemory implement this method to return the height of the image. | |
LLGetPixelAccessor | Subclasses of PixelMemory implement this method to return a new PixelAccessor object suitable for their
particular version of PixelMemory. | |
LLGetRowStride | Subclasses of PixelMemory implement this method to return the number of bytes necessary for a row of
pixels. This number should be rounded up to the next multiple of 4 bytes. | |
LLLock | Subclasses of PixelMemory implement this method to lock the memory. | |
LLUnlock | Subclasses of PixelMemory implement this method to unlock the memory. | |
Lock |
Locks this instance of PixelMemory. For memory objects that are movable, this will prevent
the PixelMemory from moving. Client code rarely needs to use this method.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PixelDataFromPixelMemory(AtalaImage) | Returns an IntPtr to the first scanline of an image if this version of PixelMemory supports that
operation, IntPtr.Zero is returned otherwise. | |
PixelDataFromPixelMemory(PixelMemory) | Returns an IntPtr to the first scanline of an image if this version of PixelMemory supports that
operation, IntPtr.Zero is returned otherwise. | |
PointerSum |
Returns an IntPtr that is offset by the provided amount.
| |
ThrowOnNonContiguous(AtalaImage) | This is a utility method to throw an exception if a PixelMemory object is not represented by a single
contiguous block of memory. | |
ThrowOnNonContiguous(PixelMemory) | This is a utility method to throw an exception if a PixelMemory object is not represented by a single
contiguous block of memory. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unlock |