2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Qingping Hou
936ce2d661 fix: bug in paintRect
When calculating index of byte for rightmost column,
it should be (x + w)/2 not (x + w + 1)/2.
2012-03-06 11:10:20 +08:00
HW
affc3b231a major overhaul of the code structure, more OO like 2011-12-08 00:45:39 +01:00
HW
c9ab02084f refactored code a bit to avoid duplication 2011-12-02 22:28:48 +01:00
HW
1271d908dc fixed bug in rectangle painting and added example 2011-12-02 01:43:55 +01:00
HW
f739baff5f moved blitting over to blitbuffer API
the framebuffer "object" now has a "member" that exposes the blitbuffer
API for the framebuffer pixmap. This allows to reuse blitting & Co for
blitbuffer-to-blitbuffer operations
2011-12-02 01:31:13 +01:00
HW
f307264fb6 added freetype text rendering (still buggy)
this allows to render glyphs and also brings a simple
engine for rendering UTF-8 strings onto the framebuffer.
blitting to uneven offset is implemented here, too, but
needs more work and is still buggy.

In the end, this will allow for a simple GUI.
2011-12-01 01:35:53 +01:00
HW
c2dd2d9897 switched blitbuffer to 4bpp (from 8bpp alpha + 8bpp gray)
this should allow to cache more, bigger pixmaps. We'll need this for
zoomed-in pages.
2011-11-20 21:29:59 +01:00
HW
0c24e3c7e0 initial project, basic reader working 2011-11-14 18:30:16 +01:00