realbasic-plugins
[Top] [All Lists]

REALBuildPictureFromBuffer, does it create a new pictureData?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: REALBuildPictureFromBuffer, does it create a new pictureData?
From: Alfred Van Hoek <vanhoek at mac dot com>
Date: Wed, 28 Mar 2007 21:59:18 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Given that REALBuildPictureFromXXX generally has a bPassOwnership  
flag that tells REALbasic whether or not it should dispose of the  
GWorld, PicHandle etc, will the call to REALBuildPictureFromBuffer  
mean that RB takes ownership, and/or copies the buffer?

In other words, if we create a buffer that we can manipulate at will,  
and we present this buffer to the user as a graphics object, will  
drawing affect this mutable buffer? We hope it will, as this might be  
a workaround for something I hope to explain later..

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • REALBuildPictureFromBuffer, does it create a new pictureData?, Alfred Van Hoek <=