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

List:       kde-kimageshop
Subject:    Re: Infinite Canvas mode
From:       "LukasT.dev () gmail ! com" <lukast ! dev () gmail ! com>
Date:       2010-09-07 20:18:59
Message-ID: 201009072218.59683.LukasT.dev () gmail ! com
[Download RAW message or body]

On Tuesday 07 September 2010 20:02:36 Dmitry Kazakov wrote:
> Hi!
> 
> Could someone explain me what KoCanvasController::setCanvas(Infinite) do?
> Is there any special behavior for this mode implemented?
> 
> Why i ask? I think i can remove setVastScrolling() flag from the class and
> use mode instead. But i don't know what this mode was intended for in the
> very beginning.
> 
> Lukas, can you help me with it?

Infinite canvas is used AFAIK only in Karbon and in Krita.
It was not INFINITE before in Krita, I implemented this type of canvas for 
Krita in GSoC 2009. I was inspired by code in Karbon.

Basically this type of canvas means that the borders are part of the canvas 
and that the events are coming to the tools. Because before there was QWidget 
(borders, maybe KoCanvasController or something like that) inside QWidget 
(canvas, paint area or I don't know how to name it -- viewport maybe).

I think that is the whole point of Infinite type of canvas, as I remember it. 
Do you need more information?
_______________________________________________
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