al_get_bitmap_width
int al_get_bitmap_width(ALLEGRO_BITMAP *bitmap)
Introduced in 5.0.0
Returns the width of a bitmap in pixels.
Examples: ex_bitmap, ex_bitmap_flip, ex_blit, ex_clip, ex_draw, ex_draw_bitmap, ex_filter, ex_font_justify, 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:
- how to get width from sprite? (2)
- Section of Code Lagging the Program
- Using Sine And Cosine For Rotation
- Shooting Ball From Rotating Bitmap
- Saving Bitmaps
- Problem with al_creat_bitmap
- Grabber With Allegro 5?
- A5 Fullscreen Vs Windowed
- al_load_bitmap question
- MOUSE question
Other recent discussions:
- A shader that sets transparancy
- My second game, space invader simplified
- You're such a disappointment.
- using a photo to floofill a bitmap
- Mipmap causing texture bleeding
- ex_resize
- help: memory bitmap background image causing artifacts
- Allegro color bitmap
- Game Crashing and I'm not sure why?
- ALLEGRO_LOCKED_REGION confusion