Click or drag to resize

ManagedPixelMemory Class

Constructs a new PiixelMemory object using memory from the managed heap for the image.
Constructs a new PiixelMemory object using memory from the managed heap for the image.
Inheritance Hierarchy

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class ManagedPixelMemory : PixelMemory, 
	IContiguous, IDirectScanlineAccess

The ManagedPixelMemory type exposes the following members.

Constructors
  NameDescription
Public methodManagedPixelMemory(Int32, Int32)
Constructs a new ManagedPixelMemory object.
Public methodManagedPixelMemory(Int64, Int32, Int32, Int32)
Constructs a new ManagedPixelMemory object.
Top
Properties
  NameDescription
Public propertyDisposed
Indicates whether or the PixelMemory has been disposed.
(Inherited from PixelMemory.)
Public propertyHeight
Returns the height of the image represented.
(Inherited from PixelMemory.)
Public propertyIsContiguous
Indicates whether or not the memory is contiguous.
Public propertyCode exampleIsLocked
Indicates whether or not the PixelMemory is currently locked.
(Inherited from PixelMemory.)
Public propertyRowStride
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.)
Top
Methods
  NameDescription
Public methodAcquirePixelAccessor
Returns an object that inherits from PixelAccessor that is used to get to an image's pixel data.
(Inherited from PixelMemory.)
Public methodClone
Creates a deep copy of this image and its memory.
(Inherited from PixelMemory.)
Public methodDispose
Disposes this PixelMemory and all its managed and unmanaged resources.
(Inherited from PixelMemory.)
Protected methodDispose(Boolean)
Disposes this PixelMemory and all its managed and unmanaged resources.
(Inherited from PixelMemory.)
Protected methodDisposeManagedResources
Disposes any unmanaged resources that implement IDisposable
(Overrides PixelMemoryDisposeManagedResources.)
Protected methodDisposeUnmanagedResources
Disposes and unmanaged resources, such as memory not claimed by the garbage collector.
(Overrides PixelMemoryDisposeUnmanagedResources.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the PixelMemory class.
(Inherited from PixelMemory.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetScanLinePtr
Returns a pointer to the specified scan line.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLLClone
Subclasses of PixelMemory implement this method to create a deep copy of the object.
(Overrides PixelMemoryLLClone.)
Protected methodLLGetHeight
Subclasses of PixelMemory implement this method to return the height of the image.
(Overrides PixelMemoryLLGetHeight.)
Protected methodLLGetPixelAccessor
Subclasses of PixelMemory implement this method to return a new PixelAccessor object suitable for their particular version of PixelMemory.
(Overrides PixelMemoryLLGetPixelAccessor.)
Protected methodLLGetRowStride
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.
(Overrides PixelMemoryLLGetRowStride.)
Protected methodLLLock
Subclasses of PixelMemory implement this method to lock the memory.
(Overrides PixelMemoryLLLock.)
Protected methodLLUnlock
Subclasses of PixelMemory implement this method to unlock the memory.
(Overrides PixelMemoryLLUnlock.)
Public methodLock
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.)
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 methodCode exampleUnlock (Inherited from PixelMemory.)
Top
Remarks
Managed memory may move. This PixelMemory object needs to be locked before any direct memory access.
Remarks
Managed memory may move. This PixelMemory object needs to be locked before any direct memory access.
See Also