๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: de.comp.lang.c++
1 messages
1 total messages Started by Werner Huber Tue, 16 Jan 1996 17:01
Printing lines thinner than 1 point (THINK C, Mac)
#1305
Author: Werner Huber
Date: Tue, 16 Jan 1996 17:01
33 lines
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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads