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

List:       kde-kimageshop
Subject:    Re: Painting on a temporary layer
From:       Bart Coppens <kde () bartcoppens ! be>
Date:       2004-09-26 12:59:26
Message-ID: 1096203566.4156bd2ed9cb8 () webmail ! exploit ! be
[Download RAW message or body]

I looked a bit at how I made a new layer in the text tool, and I was able to 
get the layer to be displayed. Unfortunately it looks really hacky and awful: 
I now use 
 
m_target = dynamic_cast<KisDoc*>(m_subject->document())->layerAdd( 
currentImage(), device->width(), device->height(), "temp", OPACITY_OPAQUE); 
 
instead of manually creating a new layer. Not only does it look ugly, it also 
has the side effect of this layer suddenly becoming visible in the layer 
selection box. And as you feared it's quite slow, so I fear I will have to use 
the undo information... 
 
Bart Coppens 
_______________________________________________
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