realbasic-plugins
[Top] [All Lists]

Re: Templates and other questions

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Templates and other questions
From: Phil M <phil at mobleybros dot com>
Date: Thu, 13 Jul 2006 12:19:30 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <B7458FB5-9811-4175-B710-0A4992504AE4 at mobleybros dot com> <EE0EEE94-B5BD-483C-917E-042C67D67244 at realsoftware dot com>
On Jul 13, 2006, at 8:26 AM, Jonathan Johnson wrote:

Most of the structures in the Plugin SDK are all anonymous structures. There are no useful ways to dereference this structure. There are several methods dealing with a REALpicture, which can be found in the docs or headers. Also, REALGet/SetPropValue and REALLoadObjectMethod can be used to call methods not exposed.

What I would really like to do is get access to the Pixels in the Picture.

After I enabled auto-complete in CodeWarrior I can see the public properties of the REALpictureDescription, and I can see that there is a "pictureData void*" property. Am I able to access the raw bitmap data with this property?

My primary task is to make a duplicate of the existing Picture, and I would like to use the REALBuildPictureFromPictureDescription method to create the copy. Is this possible?
_______________________________________________
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>