View Single Post
Old 09-12-2011, 03:50 AM   #2488
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by Mark Nord View Post
Kartu,

trying to do so, but bitmap always holds the textpage (when called from within a book)
But on thinking twice this might be due JS is using references all the time, so after doGoto(oldpage) bitmap refers again to the text-page.
Will have to try to COPY the bitmap instead of referencing it. (I thought page.data.render() is returning a independed bitmap, but this seems not to be true)
To my knowledge, they have only one bitmap, so when rendering new page they re-use existing. But why is it a problem for you, just do goto old page after you've finished drawing.

MiK77
Which addon has those?

Last edited by kartu; 09-12-2011 at 03:56 AM.
kartu is offline   Reply With Quote