Actually, I did the hard parts, making the primitives render to any bitmap, some
months or so ago. This part was just about 6 hours coding glue logic :)
With a little more code to keep track of update rectangles, this could be used for
fast graphics in bitmap widgets, canvas widgets, or on the display itself.
On Tue, 26 June 2001, Shane Nay wrote:
>
> On Tuesday 26 June 2001 04:43, Micah Dowty wrote:
> > You can now render graphics to offscreen bitmaps in PicoGUI. The new API
> > function pgRender can immediately render a gropnode to a bitmap. In
> > addition to this, the new pgCreateBitmap can create a new bitmap of a
> > specified size. I have also added a PGFX interface for pgRender. The new
> > demo program 'offscreen.c' demonstrates all the new functionality.
> >
> > Though it isn't complete yet (doesn't work on double-buffered drivers)
> > PicoGUI now has support for rendering directly to the display, creating a
> > full-screen mode that may be useful for games or screen-savers. Use
> > pgRegisterOwner to register PG_OWN_DISPLAY. This will grant exclusive
> > access to the display; PicoGUI cannot draw any of its normal output to the
> > screen. Then, use pgRender or PGFX with a bitmap handle of zero to draw
> > directly on the display.
>
> All I can say is..., that is *way* cool. Thanks Micah!
>
> Shane Nay.
--
To the systems programmer, users and applications serve only to provide a
test load.
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel