Article View: comp.os.os2.programmer
Article #2424Re: GPI Question
From: Larry Salomon
Date: Thu, 21 Feb 1991 22:55
Date: Thu, 21 Feb 1991 22:55
21 lines
911 bytes
911 bytes
What about this: Given rectl of type RECTL containing the box you want to draw... GpiMove(hps,(PPOINTL)&rectl.xLeft); GpiSetColor(hps,CLR_BLACK); GpiBox(hps,DRO_OUTLINE,(PPOINTL)&rectl.xRight,0L,0L); WinInflateRect(hab,&rectl,-sCxThick,-sCyThick); GpiMove(hps,(PPOINTL)&rectl.xLeft); GpiSetColor(hps,CLR_RED); GpiBox(hps,DRO_OUTLINE,(PPOINTL)&rectl.xRight,0L,0L); Of course, you should have #define INCL_GPIPRIMITIVES #define INCL_WINRECTANGLES at the top of the file. Cheers, Q
Technical Details
Message-ID:
<13237@hubcap.clemson.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!emory!hubcap!ibmmanReferences:
<1991Feb20.211007.8081@terminator.cc.umich.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!emory!hubcap!ibmman From: ibmman@eng.clemson.edu (Larry Salomon) Newsgroups: comp.os.os2.programmer Subject: Re: GPI Question Message-ID: <13237@hubcap.clemson.edu> Date: 21 Feb 91 22:55:26 GMT References: <1991Feb20.211007.8081@terminator.cc.umich.edu> Sender: news@hubcap.clemson.edu Distribution: na Lines: 21