]> git.draconx.ca Git - liblbx.git/commit
liblbx: Implement new image reading API.
authorNick Bowler <nbowler@draconx.ca>
Thu, 23 Jan 2014 02:13:45 +0000 (21:13 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 23 Jan 2014 03:14:50 +0000 (22:14 -0500)
commit430be3ec2f86aec28fa21558b3141a2e28efd848
tree3383248efc904905a8f1ce03f12dd56eee374abf
parent2ec44cef64979d8e19eb66206c26a7bcad4bef8a
liblbx: Implement new image reading API.

Add a new API which allows the application to essentially loop over
the drawing commands in an LBX frame.  This requires no runtime memory
allocations in the library, pushing all that out to the caller.

Conceptually this simplifies many applications because they can use
this to handle image data row-at-a-time.

For now, keep the old getframe function but change it to use the new
API under the hood.
src/image.c
src/image.h