|
Boost Users : |
From: Christian Henning (chhenning_at_[hidden])
Date: 2008-07-09 10:58:26
Hi Felipe, at one point I have created an extension for gil for
displaying a window using SDL ( Simple DirectMedia Layer ) . What I
like about SDL is that it's portable and also very fast. As far as I
remember one can only open one window at the time. This might have
changed with a newer version, but I don't know for sure.
In conjunction with my most recent extension ( opencv ) it's very
fairly easy to draw primitives inside a gil view and than display it
on the monitor. Although I must admit I haven't tried it out yet. ;-(
Anyway, if you're interested have a look at my subversion repository at:
http://gil-contributions.googlecode.com/svn/trunk/gil_2
Let me know what you think.
Christian
On Wed, Jul 9, 2008 at 10:38 AM, Felipe Magno de Almeida
<felipe.m.almeida_at_[hidden]> wrote:
> Hi,
>
> I'm creating a gui lib and am designing the basic drawing operations.
> I want the interface to be implementable as thin layers over most UIs
> (win32/gtk+/qt/etc).
>
> I wanted most of all have good interoperability with GIL.
> I found that it was actually very inconvenient defining
> windows as GIL views. A win32 window for example
> can't model a view without sacrificing reliability or
> efficiency. It also fixes operations as to be manipulations of pixels.
>
> But this definition for drawing operations lacks flexibility to
> create generic code to work with different units (not only pixels).
> This would allow a scalable GUI implementation where the units
> could be defined as millimeters and the drawing operations
> done with advanced anti-aliasing for example, without
> compromising straightforward implementations.
>
> So these drawing operations would actually define a concept.
> These operations could then be defined for GIL views, GUI windows
> and maybe more :).
>
> Do you think this could actually be useful?
>
> Comments are welcome,
> --
> Felipe Magno de Almeida
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net