Public Methods | |
struct Bitmap* | Bitmap_ctor (struct Bitmap *ptr_bitmap) |
struct Bitmap* | Bitmap_ctor_Ex1 (struct Bitmap *ptr_bitmap, char *filename) |
struct Bitmap* | Bitmap_ctor_Ex2 (struct Bitmap *ptr_bitmap, int width, int height, int bpp) |
struct Bitmap* | Bitmap_ctor_Ex3 (struct Bitmap *ptr_bitmap, struct Bitmap *templ) |
void | Bitmap_dtor (struct Bitmap *ptr_bitmap, int memory_flag) |
void | Bitmap_fill (struct Bitmap *ptr_bitmap, color_t color) |
void | Bitmap_clear (struct Bitmap *ptr_bitmap) |
bool | Bitmap_load (struct Bitmap *ptr_bitmap, struct Input *input) |
bool | Bitmap_store (struct Bitmap *ptr_bitmap, struct Output *output) |
int | Bitmap_get_w (struct Bitmap *ptr_bitmap) |
int | Bitmap_get_h (struct Bitmap *ptr_bitmap) |
Public Attributes | |
int | w |
int | h |
A structure for creating and working with simple bitmap object. Using this structure, you can create a bitmap object in one of four ways:
|
Fills whole bitmap by white color.
|
|
The simple Bitmap constructor.
|
|
The first extended version of the Bitmap_ctor function.
|
|
The second extended version of the Bitmap_ctor function.
|
|
The third extended version of the Bitmap_ctor function.
|
|
Destructor.
|
|
Fills whole bitmap by a color pointed on the color_t value.
|
|
Returns physical height of the Bitmap (in pixels).
|
|
Returns physical width of the Bitmap (in pixels).
|
|
Loads bitmap from an opened stream.
|
|
Stores bitmap to an opened stream.
|
|
Establishes a physical bitmap height (in pixels). |
|
Establishes a physical bitmap width (in pixels). |
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |