Xojo Conferences
XDCMay2019MiamiUSA

[MBS] CGRect datatype passed to other plugin, possible? (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] IORegistryNodeMBS in RB5
Next thread: [MBS] Feature Request


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] CGRect datatype passed to other plugin, possible?   -   David Austin
   Re: [MBS] CGRect datatype passed to other plugin, possible?   -   Christian Schmitz
    Re: [MBS] CGRect datatype passed to other plugin, possible?   -   David Austin

[MBS] CGRect datatype passed to other plugin, possible?
Date: 14.04.03 14:49 (Mon, 14 Apr 2003 06:49:21 -0700)
From: David Austin
If I were to create a plugin that uses a CGRect and it (the rect) was
created by MBS plugin, can it be passed as a parameter to my plugin. Is
this possible?

Or, do I need to have my plugin create the CGRect?

-----------------------
David Austin

G4 450 MP, 512mb
OS 10.2.5
RB 4.5.3 / RB 5.1b6
MBSplugin 3.2pr11
CW 7.1

Re: [MBS] CGRect datatype passed to other plugin, possible?
Date: 14.04.03 18:31 (Mon, 14 Apr 2003 19:31:31 +0200)
From: Christian Schmitz
> If I were to create a plugin that uses a CGRect and it (the rect) was
> created by MBS plugin, can it be passed as a parameter to my plugin. Is
> this possible?

Sure.
I'll add functions to the classes CGRect, CGSize and CGPoint to return
their content as a memoryblock.

PS: The interesting question is what your plugin will do...

Mfg
Christian

Re: [MBS] CGRect datatype passed to other plugin, possible?
Date: 15.04.03 02:36 (Mon, 14 Apr 2003 18:36:05 -0700)
From: David Austin

On Monday, April 14, 2003, at 10:31 AM, Christian Schmitz wrote:
>
> PS: The interesting question is what your plugin will do...
>

Actually, I was going to use to implement CGGeometry. But you have
done, thanks.

I'm trying to implement some of the classes that one of my RB apps uses
in native RB into a plugin. The app generates postscript code that is
used for generating 4-color film for proofing and color matching. I
was experimenting with plugins and was curious if one plugin could pass
data to another plugin via RB code.

Thanks,

-----------------------
David Austin

G4 450 MP, 512mb
OS 10.2.5
RB 4.5.3 / RB 5.1b6
MBSplugin 3.2pr11
CW 7.1