🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #527

PM Programming - Graphic Spaces?

#527
From: Brian Ladd
Date: Tue, 28 Jul 1992 14:44
28 lines
1731 bytes
What I CAN do: Draw squares, hexes, grids in a window's presentation space.
Vary the size or number of such figures when the window is resized (the
entire presentation space is redrawn with graphics primatives when this
happens). Create and manipulate scroll bars.

What I WANT to do: Draw a fairly complex figure once in a virtual
presentation space and use the window on the screen as a view into the
complex figure.

I think I have two questions, one how to do this in concept (presentation
space, graphics segments, retained graphics...I don't understand them very
well), the other what routines to call to accomplish it. The Technical
Reference Library should answer the second one, but even having read
_Programming Guide, Vol III_, understanding the first still eludes me. Any
illumination would be greatly appreciated, be it in news or e-mail.

Thanks, -bcl

Brian C. Ladd
Graduate Student & *NIX Court Jester
University of North Carolina - Chapel Hill

P.S. - I am using G++-EMX and attempting to extend the API; if anyone who
has the IBM OS/2 header files could send me the information on value sets
or slider bars (and maybe even the index numbers for their functions? Or a
way to figure that out without any of the *Set/2 tools), it would probably
make my life a lot easier.
Technical Details
Message-ID: <LADD.92Jul28104416@oscar.cs.unc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!rutgers!concert!borg!news_server!ladd

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!rutgers!concert!borg!news_server!ladd
From: ladd@oscar.cs.unc.edu (Brian Ladd)
Newsgroups: comp.os.os2.programmer
Subject: PM Programming - Graphic Spaces?
Message-ID: <LADD.92Jul28104416@oscar.cs.unc.edu>
Date: 28 Jul 92 14:44:16 GMT
Sender: news@cs.unc.edu
Distribution: comp
Organization: UNC Department of Computer Science
Lines: 28