Language Reference Guide confusion

Language Reference Guide confusion

Post by JM » Thu, 27 May 2004 01:04:39


could someone please re-word this for me, as it doesn't really make too much
sense to me


DrawInto - Draws the contents of a window into a specified Graphics
context


The only definitions I have for 'context' don't make any sense in this line
 
 
 

Language Reference Guide confusion

Post by Joe Strou » Thu, 27 May 2004 04:00:35

In article <r8Ksc.801$ XXXX@XXXXX.COM >,



Hmm, I'm not sure how to make it any clearer. You have a Graphics
object that represents some drawing context; you want to draw the
contents of a window there; this method does that.


A graphics context is that which a Graphics object represents. It might
be the background of a window, or a print job, or the content of a
Canvas, or a pixel map. Whatever the Graphics object is attached to and
causes drawing to appear in, that's the Graphics context.

Cheers,
- Joe

,------------------------------------------------------------------.
| Joseph J. Strout Check out the Mac Web Directory: |
| XXXX@XXXXX.COM http://www.yqcomputer.com/ |
`------------------------------------------------------------------'

 
 
 

Language Reference Guide confusion

Post by spam » Sat, 29 May 2004 04:09:36


Thanks Mr. Strout! This was a very clear explanation.

Bruce