[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    RENDER_WITH and RENDER_HEIGHT
From:       Patrick Julien <freak () codepimps ! org>
Date:       2004-03-08 11:04:58
Message-ID: 200403080604.58131.freak () codepimps ! org
[Download RAW message or body]

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.  However, 
here, the problem is that you also need to check so that it falls on a 4x4 
tile boundary.

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic