CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (4 messages)

#163803 #QD Geometry Message #163911
From: Peter Marx Mac Developers Forum · C and Pascal March 14, 1994 3:53 PM
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
From: Peter Marx Mac Developers Forum · C and Pascal March 14, 1994 3:53 PM
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
#131785 #Pascal->asm->C Message #131837
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,…
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…