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

List:       koffice-devel
Subject:    Re: Foreground shape doesn't help me.
From:       jaham () gmx ! net
Date:       2009-07-06 20:49:43
Message-ID: 200907062249.43850.jaham () gmx ! net
[Download RAW message or body]

On Monday 06 July 2009 18:14:57 Jean-Nicolas Artaud wrote:
> Hello guys,
>
> How get a shape which is not the foreground one ? (I used
> m_canvas->shapeManager()->shapeAt( ... , ...) and I think the second should
> be something else than ShapeOnTop )
> Maybe it could help :
> http://www.koffice.org/developer/apidocs/libs-flake/classKoShapeManager.htm
>l#5bff74fb5d3335581ae1a09e476097f7 I cannot find the good selection...

You could also use KoShapeManager::shapesAt which returns a list of shapes 
intersectung the given rectangle. Then you could choose the right one from 
this list.

Ciao Jan
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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