The Allegro Wiki is migrating to github at


From Allegro Wiki
Revision as of 05:37, December 23, 2006 by Awikiadmin (talk | contribs) (twiki import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Proposed changes to the original graphics API proposal:

  • implicit surface parameter for the current "render target"
  • renamed AL_BITMAP to AL_SURFACE

AL_DISPLAY *al_create_display(...)

AL_EVENT_SOURCE *al_get_display_event_source(AL_DISPLAY) AL_SURFACE *al_get_surface(AL_DISPAY)

AL_SURFACE *al_get_bitmap_surface(AL_BITMAP) al_select_surface(AL_SURFACE)

al_select_bitmap_surface(AL_BITMAP) - shortcut combining the previous two functions

AL_BITMAP *al_create_bitmap(...)

al_line(int x, y, w, h, color) al_blit(AL_BITMAP *bitmap, int x, int y)