This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (4 messages)
Patrick: What many drawing programs do is draw a filled arc at the end of the line. The arc belongs to a circle whose center is "after the end of" your line. For example, when drawing line AB below, the arc belongs to a circle centered on C: A————-B C…
#163612-
#Callable Compression
Message #163910
Steve: There are libraries that allow you to use the DiskDoubler or Stuffit compression engines from inside your code. Contact Symantec or Aladdin, respectively. -Peter
From:
Peter Marx
MAUG(R)/Macintosh Developers/Programmers Forum
· C and Pascal
July 14, 1993 5:35 PM
Burt: The rewritten code is slower than the original, perhaps by a factor or 4 or 5 (I'm sure someone will tell you exactly how much, but I'm not normally into cycle-counting). Here's a more literal translation, into Think C 5, of the original: pascal OSErr CallTLPM(short tlCode, PMParamPtr pmParams,…
Should I be doing this?
Message #131836
From:
Peter Marx
MAUG(R)/Macintosh Developers/Programmers Forum
· C and Pascal
July 14, 1993 5:35 PM
You mean "clear the high bit". You shouldn't clear the whole byte. Probably wouldn't matter, though. If your control has been drawn at least once, you should also be able to get the size by checking the cntrlRect field of the control record. Otherwise, your approach seems sound. You might…