From: Jay Link (jlink@interlink-bbs.com)
Date: Thu 06 Apr 2000 - 19:33:19 IST
> The only way I have came up with so far is to treat > the section as a pixmap, writing my own routines for > graphic primatives on the pixmaps. After creating > pixmap, do a gl_copybox(). Is there a better way to > do this? Any help would be greatly appreciated Actually, I think you mean gl_getbox() and gl_putbox(), as I think gl_copybox() will only copy to a different location on the same screen. Anyway, your method is probably the best. If you want to try something different, I might have an idea. What is the resolution of your physical screen? If you made your *virtual* screen larger, you could have both your "mini" screen and a full rendition of the "physical" screen all on the same framebuffer (virtual screen). Make sense? For example, if your physical screen were 800x600, and your virtual screen were 1024x768, you could have a copy of the physical screen and your mini work box side by side on the virtual screen. Then you'd be able to draw to the work area with normal SVGAlib functions, and you could use gl_copybox() to insert your work into the full-sized copy (still in the framebuffer), and then gl_copyboxfromcontext() to transfer the full-sized screen area to the physical screen. Did any of that make sense? I've never actually tried this, but it sounds like it might be plausible. Have a good one, -Jay Link
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST