hwhw/kindlepdfviewer — pull request #95 by dpavlin (2012-04-09 13:23:50+00:00)
Title: show overlap when moving on page

This is nice feature of Sony e-book readers which is very useful when reading since it shows previous part of visible page and provides hint where to continue reading after page refresh.

It's not quite ready for merge because:

1) djvu reader doesn't seem to use pan_overlap_vertical so it's not implemented for djvu
2) I would love to make page "dim" (e.g. make pixel >> 1l) but I'm not sure if dimRect in `blitbuffer.c` is the right way to go. This would make three functions which are similar (`paintRect`, `invertRect` and `dimRect`), but on the other hand, having separate functions does enable compiler to make better job.

What are you thoughts on this?