The Memory class provides methods for managing image memory. The following classes and methods exist:
Methods
Method |
Description |
---|---|
Allocates an image memory for an image. |
|
Fills the image memory with a defined color. |
|
Copies the contents of the image memory to a memory area. |
|
Copies a number of lines indicated out of the image memory to a memory area. |
|
Copies the image of the passed image memory to an array. |
|
Releases an image memory and removes it from the driver management. |
|
Returns the starting address and the ID number of the active image memory. |
|
Returns the bits per pixel for the passed image memory. |
|
Returns the height of the image in the image memory. |
|
Returns the last ID in the image memory. |
|
Returns the list of image memory IDs. |
|
Returns if the passed image memory is locked. |
|
Returns the line increment (in bytes). |
|
Returns the size of the image in the image memory. |
|
Returns the width of the image in the image memory. |
|
Returns the properties of an allocated image memory. |
|
Locks the image memory defined by the ID. |
|
Makes the specified image memory the active memory. |
|
Returns a pointer to the image memory of the active/given image memory ID. |
|
Unlocks the image memory defined by the ID. |