mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add usedbbox support
This commit is contained in:
@@ -41,7 +41,7 @@ function PdfDocument:getUsedBBox(pageno)
|
||||
end
|
||||
local page = self._document:openPage(pageno)
|
||||
local used = {}
|
||||
used.x, used.y, used.w, used.h = page:getUsedBBox()
|
||||
used.x0, used.y0, used.x1, used.y1 = page:getUsedBBox()
|
||||
--@TODO give size for cacheitem? 02.12 2012 (houqp)
|
||||
Cache:insert(hash, CacheItem:new{
|
||||
ubbox = used,
|
||||
|
||||
Reference in New Issue
Block a user