realbasic-plugins
[Top] [All Lists]

Re: Graphics.Handle Property

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Graphics.Handle Property
From: Alfred Van Hoek <vanhoek at mac dot com>
Date: Sat, 20 May 2006 21:03:28 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <E7B3FFC8-F010-40BB-805C-DDF03F3C1BDF at mac dot com> <E24790F6-0762-43E7-AF55-28E09A3FDE81 at einhugur dot com>

On May 20, 2006, at 8:13 PM, Björn Eiríksson wrote:

I am a little lost here,

are all of those not just the same as you have had access to with normal Plugin SDK functions ?

Well, a couple of things:

Graphics.Handle is not really a property but takes an integer as argument (so my question is already answered) but is another way to get the CGContext, or CGraphPtr, or HDC etc, and if you want to obtain the graphics of "OpenPrinter", you can get it independent of a window or other convoluted coding.

Of course the graphics from OpenPrinter is identical to the window on MacOS, but it it is not on Windows.

Alfred


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>