summaryrefslogtreecommitdiff
path: root/doc/example.c
AgeCommit message (Collapse)Author
2013-06-18Move header files into separate include directory.Tor Andersson
2013-05-21Remove useless -lpng from doc/example.c and doc/multi-threaded.cTor Andersson
2013-05-16Add colorspace context.Tor Andersson
To prepare for color management, we have to make the device colorspaces per-context and able to be overridden by users.
2013-02-13Update doc/example.c for passing rect/matrix by reference.Tor Andersson
2013-02-06Rename bbox to irect.Tor Andersson
2013-01-30Rename fz_irect back to fz_bbox.Tor Andersson
2013-01-30Introduce fz_irect where the old fz_bbox was useful.Tor Andersson
Inside the renderer we often deal with integer sized areas, for pixmaps and scissoring regions. Use a new fz_irect type in these places.
2013-01-30Eliminate fz_bbox in favor of fz_rect everywhere.Tor Andersson
2012-03-15Add multi-threading example based on pthreads.Sebastian Rasmussen
Also update example code compilation instructions.
2012-03-13Rename some functions and accessors to be more consistent.Tor Andersson
Debug printing functions: debug -> print. Accessors: get noun attribute -> noun attribute. Find -> lookup when the returned value is not reference counted. pixmap_with_rect -> pixmap_with_bbox. We are reserving the word "find" to mean lookups that give ownership of objects to the caller. Lookup is used in other places where the ownership is not transferred, or simple values are returned. The rename is done by the sed script in scripts/rename3.sed
2012-02-26Add working example of how to render a PDF to a PNG.Sebastian Rasmussen