Public Methods | |
struct BitmapSequence* | BitmapSequence_ctor (struct BitmapSequence *ptr_bitmap_sequence) |
struct BitmapSequence* | BitmapSequence_ctor_Ex (struct BitmapSequence *ptr_bitmap_sequence, char *file_name) |
void | BitmapSequence_dtor (struct BitmapSequence *ptr_bitmap_sequence, int memory_flag) |
int | BitmapSequence_get_size (struct BitmapSequence *ptr_bitmap_sequence) |
struct Bitmap* | BitmapSequence_get_bitmap (struct BitmapSequence *ptr_bitmap_sequence, int bitmap_index) |
bool | BitmapSequence_load (struct BitmapSequence *ptr_bitmap_sequence, struct Input *input) |
bool | BitmapSequence_store (struct BitmapSequence *ptr_bitmap_sequence, struct Output *output) |
While the Bitmap structure above is used for working with a single bitmapped image, the BitmapSequence is used for working with a Bitmap array. To create a BitmapSequence object, you must use the BitmapSequence_ctor function.
Use the BitmapSequence_dtor function to release the created object by after you work with it. To receive the bitmap object from the bitmap sequence, use the BitmapSequence_get_bitmap function.
The BitmapSequence get size function determines the number of bitmap objects in the BitmapSequence object you can receive. Bitmap structure operations with streams are designated the same way. They are implemented in the BitmapSequence_load and BitmapSequence_store functions.
Please pay special attention to the examples for these functions.
|
Simple BitmapSequence constructor.
|
|
This is the extended version of the BitmapSequence_ctor function.
|
|
Destructor.
|
|
Returns a pointer on the Bitmap object that has the 'bitmap_index' index.
|
|
Returns the number of bitmaps in a BitmapSequence object.
|
|
Loads the bitmap sequence from an opened stream.
|
|
Stores a bitmap sequence to an opened stream.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |