🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.porting
Article #2

OS/2 Graphics Programming Questions

#2
From: Keith R. Bennett
Date: Wed, 15 Sep 1993 22:15
24 lines
1961 bytes
I will be porting a program from DOS to OS/2, and need to implement
some graphics drawing functions.  For example, I need to call a
function that will draw a rectangle, etc.

Can I use PM to do that?  I *don't* want my application to be event
driven in what I understand is the usual PM sense.  That is, I don't 
want the graphical objects to get any messages.  I just want to be
able to call primitive graphic functions.  Can I do this?

Also, regarding text fonts, are they scaled on the fly?  If so, does
the processor have to calculate each character as it's being displayed?
(This would seem a little dumb.)  Or is there some kind of font
cache?

Thanks for any responses.  Please reply by email if possible to:
kbennett@access.digex.net.

- Keith

-- 
--------------------------------------------------------------------------
Keith Bennett                            Bennett Business Solutions, Inc.
C++/C Software Development               1605 Ingram Terrace
kbennett@access.digex.net                Silver Spring, MD USA 20906-5932
Technical Details
Message-ID: <27845c$ete@access.digex.net>
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!unidui!uniol!news.uni-stuttgart.de!rz.uni-karlsruhe.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!digex.net!digex.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cd94,4d343d1a717987d,start
X-Google-Attributes: gid10cd94,public
X-Google-Thread: 11307a,4d343d1a717987d,start
X-Google-Attributes: gid11307a,public
X-Google-Thread: f5cc2,4d343d1a717987d,start
X-Google-Attributes: gidf5cc2,public
X-Google-ArrivalTime: 1993-09-15 15:59:16 PST
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!unidui!uniol!news.uni-stuttgart.de!rz.uni-karlsruhe.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!digex.net!digex.net!not-for-mail
From: kbennett@access.digex.net (Keith R. Bennett)
Newsgroups: comp.os.os2.programmer.porting,comp.os.os2.programmer.misc,bit.listserv.os2-l
Subject: OS/2 Graphics Programming Questions
Date: 15 Sep 1993 18:15:08 -0400
Organization: Express Access Online Communications USA
Lines: 24
Message-ID: <27845c$ete@access.digex.net>
NNTP-Posting-Host: access.digex.net