RENDER_WITH and RENDER_HEIGHT

Boudewijn Rempt boud at valdyas.org
Mon Mar 8 12:12:41 CET 2004


On Monday 08 March 2004 12:04, Patrick Julien wrote:
> Boudewijn,
>
> The reason why the pixmap is twice the value of RENDER_WIDTH and
> RENDER_HEIGHT is to try to draw tiles 4x4.
>
> I.e. if you look at the big endian code, doing m_pixmap = img results in a
> new pixamp everytime.
>
> doing m_pixmap.convertFromImage(img); will use the existing pixmap. 

Well, let's try it -- I made the changes and comitted, but I won't have access 
to my PPC machine until I'm home tonight.

> However, here, the problem is that you also need to check so that it falls
> on a 4x4 tile boundary.

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list