ResidentPixelMemory Class |
Namespace: Atalasoft.Imaging.Memory
The ResidentPixelMemory type exposes the following members.
Name | Description | |
---|---|---|
ResidentPixelMemory(Int32, Int32, Int32) |
Initializes a new instance of the ResidentPixelMemory class, total size in bytes is calculated
by multiplying height and rowString and adding offsetToFirstScanline.
| |
ResidentPixelMemory(Int64, Int32, Int32, Int32) |
Initializes a new instance of the ResidentPixelMemory class.
|
Name | Description | |
---|---|---|
Disposed | Indicates whether or the PixelMemory has been disposed. (Inherited from PixelMemory.) | |
Height | Returns the height of the image represented. (Inherited from PixelMemory.) | |
IsContiguous | Returns true. | |
IsLocked | Indicates whether or not the PixelMemory is currently locked. (Inherited from PixelMemory.) | |
LLPixelMemoryStart | Returns a pointer to the start of memory. | |
OffsetToFirstScanline | Returns an offset to the first scanline of the image. | |
PixelData | Returns a pointer to the first scanline in the image. | |
RowStride | Returns the number of bytes in a row of this image. The number is always rounded up to the next multiple
of 4. (Inherited from PixelMemory.) | |
SizeInBytes | Returns the number of bytes used by the memory for this image. |
Name | Description | |
---|---|---|
AcquirePixelAccessor | Returns an object that inherits from PixelAccessor that is used to get to an image's pixel data.
(Inherited from PixelMemory.) | |
AllocateMemory | Allocates memory for this PixelMemory object and reports it for tracking. | |
Clone | Creates a deep copy of this image and its memory. (Inherited from PixelMemory.) | |
Dispose | Disposes this PixelMemory and all its managed and unmanaged resources. (Inherited from PixelMemory.) | |
Dispose(Boolean) | Disposes this PixelMemory and all its managed and unmanaged resources. (Inherited from PixelMemory.) | |
DisposeManagedResources | Disposes any unmanaged resources. (Overrides PixelMemoryDisposeManagedResources.) | |
DisposeUnmanagedResources | Disposes the memory used by this object. (Overrides PixelMemoryDisposeUnmanagedResources.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the PixelMemory class.
(Inherited from PixelMemory.) | |
FreeMemory | Frees memory. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetScanLinePtr | Gets a pointer to the a given scanline. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LLAllocateMemory(Int32, Boolean) | Obsolete. Subclasses of ResidentPixelMemory implement this method to allocate memory. | |
LLAllocateMemory(Int64, Boolean) | Subclasses of ResidentPixelMemory implement this method to allocate memory. | |
LLClone | Subclasses of PixelMemory implement this method to create a deep copy of the object. (Inherited from PixelMemory.) | |
LLFreeMemory | Subclasses of ResidentPixelMemory implement this method to free memory. | |
LLGetHeight | Returns the height of the image. (Overrides PixelMemoryLLGetHeight.) | |
LLGetPixelAccessor | Returns a suitable PixelAccesor object for this PixelMemory. (Overrides PixelMemoryLLGetPixelAccessor.) | |
LLGetRowStride | Returns the size of a scanline in bytes, rounded up to the next multiple of 4. (Overrides PixelMemoryLLGetRowStride.) | |
LLLock | Subclasses of PixelMemory implement this method to lock the memory. (Inherited from PixelMemory.) | |
LLUnlock | Subclasses of PixelMemory implement this method to unlock the memory. (Inherited from PixelMemory.) | |
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.
(Inherited from PixelMemory.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RerportMemoryAllocated |
Rerports that memory was allocated.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unlock | (Inherited from PixelMemory.) |