| To: | REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Masked picture returned by plugin is broken on Win32 |
| From: | Brad Hutchings <brad at componentx dot com> |
| Date: | Fri, 2 Jul 2004 14:43:30 -0700 |
| Delivered-to: | realbasic-plugins at lists dot realsoftware dot com |
| List-help: | <mailto:realbasic-plugins-request@lists.realsoftware.com?subject=help> |
| List-id: | REALbasic Plugins <realbasic-plugins.lists.realsoftware.com> |
| List-post: | <mailto:realbasic-plugins@lists.realsoftware.com> |
| References: | <BD0B30CB dot 2C41%william at realsoftware dot com> <4FC6FD03-CC6F-11D8-BFB8-0003933EA538 at si-co dot com> |
Frank,Use REALNewPicture to create your result and draw into its picture and mask. I would bet that your not getting a mask when using REALBuildPictureFromBuffer. Throw a REALMessageBox inside the mask != NULL test to see if it's getting there. char* message = "got here"; REALMessageBox(REALBuildString(message, strlen(message))); -Brad On Jul 2, 2004, at 2:32 PM, Frank C wrote: Both rgbPic and maskPic are built with:REALBuildPictureFromBuffer(width, height, kRBPixelBGRX32, data, rowbytes);Could this be the problem? _______________________________________________ Unsubscribe or switch delivery mode: <http://support.realsoftware.com/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Masked picture returned by plugin is broken on Win32, Frank C |
|---|---|
| Next by Date: | Re: Masked picture returned by plugin is broken on Win32, William Yu |
| Previous by Thread: | Re: Masked picture returned by plugin is broken on Win32, Frank C |
| Next by Thread: | Re: Masked picture returned by plugin is broken on Win32, Frank C |
| Indexes: | [Date] [Thread] [Top] [All Lists] |