Article View: de.comp.lang.c++
Article #1305Printing lines thinner than 1 point (THINK C, Mac)
From: Werner Huber
Date: Tue, 16 Jan 1996 17:01
Date: Tue, 16 Jan 1996 17:01
33 lines
1396 bytes
1396 bytes
Hi!
I have a problem that I try to resolve for months now. Maybe you can
help me.
I am using a Macintosh with system 7.1 and THINK C 6.0.
I have to print lines thinner than 1 point (e.g. hairlines). But the
QuickDraw-command PenSize allows only integer values, the thinnest
possible is PenSize(1).
So I scaled the document by using PrOpenPage. Now I managed it to get
thin lines. But my application, which normally needs less then 1MB,
suddenly needed more then 5MB of memory. Especially when printing on
a laser-printer with many fonts. Another problem is that this
solution didnยดt function with each print-manager.
So I simulated the lines by using special characters with a
2 point-font. But this solution is very, very slow and I can only draw
vertical and horizontal lines.
Can you help me?
my adress:
Werner Huber
Thaliastr. 132/15
1160 Wien
Austria
e-mail:
A6213NBI@PCSERV.UNIVIE.AC.AT
Thank you!
Technical Details
Message-ID:
<4dglkl$1se2@ftp.univie.ac.at>Path:
arc1-ca.pugleaf.net!news.univie.ac.at!news-admin@univie.ac.atShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.univie.ac.at!news-admin@univie.ac.at From: A6213NBI@PCSERV.UNIVIE.AC.AT (Werner Huber) Newsgroups: de.comp.lang.c++ Subject: Printing lines thinner than 1 point (THINK C, Mac) Date: 16 Jan 1996 17:01:09 GMT Organization: University of Vienna Message-ID: <4dglkl$1se2@ftp.univie.ac.at> Reply-To: Werner Huber NNTP-Posting-Host: pcn15.trm.univie.ac.at X-Newsreader: WinVN 0.92.6+