al_get_bitmap_height
int al_get_bitmap_height(ALLEGRO_BITMAP *bitmap)
Introduced in 5.0.0
Returns the height of a bitmap in pixels.
Examples: ex_bitmap_flip, ex_blit, ex_clip, ex_draw, ex_draw_bitmap, ex_filter, ex_fs_resize, ex_fs_window, ex_gldepth, ex_haiku, ex_joystick_events, ex_logo, ex_membmp, ex_mixer_pp, ex_mouse_cursor, ex_multiwin, ex_native_filechooser, ex_prim, ex_resize, ex_resize2, ex_rotate, ex_scale, ex_subbitmap, ex_threads, ex_threads2, ex_transform, ex_ttf
Most helpful discussions:
- help: memory bitmap background image causing artifacts (1)
- how to get width from sprite? (1)
- al_load_bitmap question
- MOUSE question
- A shader that sets transparancy
- My second game, space invader simplified
- You're such a disappointment.
- using a photo to floofill a bitmap
- how many rows in a locked region
- Mipmap causing texture bleeding
Other recent discussions:
- ex_resize
- Allegro color bitmap
- Game Crashing and I'm not sure why?
- ALLEGRO_LOCKED_REGION confusion
- trouble with collision detection
- Making a simple button
- al_get_bitmap_height() sometimes return 0 on a loaded bitmap
- GAME MENU
- Pixel shader- how do I get the source coordinate?
- Creating a background