Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

GWorldMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Graphics & Pictures MBS QuickTime Plugin 3.3 Yes Yes No Yes No
Function: A class for a GWorld picture object.
Example:
// This example is for Mac OS and Windows:

dim g as GWorldMBS
dim p as Picture
dim d as GWorldMBS

// get a picture and make sure it's a bitmap
p=LogoMBS(500)

// Make the destination GWorld
d=new GWorldMBS
if d.NewGWorld(p.Width*4,p.Height*4,32) then

// Make a reference GWorld to target the picture for the source (Mac only!)
g=new GWorldMBS
if g.NewGWorldFromPicture(p) then

// Scale bicubic in QuickTime 6
g.Scale d, 1024

// not 0 on any error
Title=str(g.Lasterror)

// show it in a window
Backdrop=d.CopyPicture
end if
end if
Notes:
Several classes can draw directly into a GWorld picture of take a GWorld Picture as a source. On Mac OS most Realbasic picture objects have a GWorld handle inside, so the plugin functions can accept a Realbasic picture object.
This class is deprecated as Apple deprecated the QuickDraw framework. This class may not work on 64 bit targets.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


The items on this page are in the following plugins: MBS QuickTime Plugin.


GTKWindowMBS   -   GZipFileMBS




Links
MBS FileMaker Plugins