Article View: comp.os.os2.programmer
Article #248Help with GpiSetLineWidth pleeeeze...
From: Darren Merrill
Date: Wed, 05 Aug 1992 02:38
Date: Wed, 05 Aug 1992 02:38
25 lines
1460 bytes
1460 bytes
Ok, before I go and start hacking out my own solution, I would like some feedback. What I want to do is quite simple. I want to draw a line in a window, 5 pixels wide (ie - by calling GpiLine). First, I took the obvious (or at least it seemed obvious approach): I tried setting the cosmetic width with GpiSetLineWidth. The function returned and 'ok' but no go, the line came out thin. So after doing some reading, I figured I should check the device capabilities for CAPS_COSMETIC_WIDELINE_SUPPORT with a call to DevQueryCaps (under CAPS_ADDITIONAL_GRAPHICS). Well, the results say it isn't supported. Why not? Will the 32bit GRE 'fix' this? What devices do support cosmetic wide lines? (I would guess at least postcript) Am I missing something really obvious (that would keep me from drawing multiple 'thin' lines to make one fatso)? Thanks.. -darren -- Darren Merrill UUCP: uunet!arizona!merrill University of Arizona Bitnet: merrill%cs.arizona.edu@arizona.bitnet Department of Computer Science Internet: merrill@cs.arizona.edu
Technical Details
Message-ID:
<20086@optima.cs.arizona.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!gumby!destroyer!ncar!noao!arizona!merrillShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!gumby!destroyer!ncar!noao!arizona!merrill From: merrill@cs.arizona.edu (Darren Merrill) Newsgroups: comp.os.os2.programmer Subject: Help with GpiSetLineWidth pleeeeze... Keywords: GpiSetLineWidth, OS/2, braindead Message-ID: <20086@optima.cs.arizona.edu> Date: 5 Aug 92 02:38:40 GMT Sender: news@cs.arizona.edu Lines: 25