Article View: comp.os.os2.programmer.porting
Article #3Re: OS/2 Graphics Programming Questions
From: Q
Date: Thu, 16 Sep 1993 11:12
Date: Thu, 16 Sep 1993 11:12
30 lines
2138 bytes
2138 bytes
In <27845c$ete@access.digex.net> kbennett@access.digex.net (Keith R. Bennett) writes: >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? Yes and no. Your window will ALWAYS receive messages but you can always ignore them. >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? The Adobe Font Manager takes care of scalable fonts, which are represented by a serious of lines, fillets, etc.. When you scale them, they simply scale the relative coordinates and voila. Cheers, Q -- Have you read this month's EDM/2? It's available via anonymous FTP to ftp.cdrom.com in the /pub/os2/2_x/program/newsltr directory. New articles, comments, suggestions, and Q&A questions are always welcome! Send all to os2man@panix.com .
Technical Details
Message-ID:
<279hmj$17d@panix.com>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!nigel.msen.com!yale.edu!cmcl2!panix!not-for-mailReferences:
<27845c$ete@access.digex.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cd94,4d343d1a717987d X-Google-Attributes: gid10cd94,public X-Google-Thread: 11307a,4d343d1a717987d X-Google-Attributes: gid11307a,public X-Google-Thread: f5cc2,4d343d1a717987d X-Google-Attributes: gidf5cc2,public X-Google-ArrivalTime: 1993-09-16 04:32:44 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!spool.mu.edu!nigel.msen.com!yale.edu!cmcl2!panix!not-for-mail From: os2man@panix.com (Q) Newsgroups: comp.os.os2.programmer.porting,comp.os.os2.programmer.misc,bit.listserv.os2-l Subject: Re: OS/2 Graphics Programming Questions Date: 16 Sep 1993 07:12:19 -0400 Organization: PANIX Public Access Internet and Unix, NYC Lines: 30 Message-ID: <279hmj$17d@panix.com> References: <27845c$ete@access.digex.net> NNTP-Posting-Host: panix.com