MBS Plugin Documentation
Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchie
New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0
The list of the themes, classes, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
class, Graphics & Pictures, MBS QuickTime Plugin (GWorld), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Extends Realbasic's Graphics Class.
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Clears an Arc inside the rectangle.
Notes: This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Clears the oval inside the rectangle.
Notes: This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Clears the round rectangle inside the rectangle.
Notes: This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Draws an Arc inside the rectangle.
Example:
g.DrawArcMBS 0,0,100,100,5,300
Notes: left, top, width and height are the circle bounds and start and end the degrees from where to where you want the circle line to be drawn.
This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS QuickTime Plugin (GWorld), class Graphics, Plugin version: 4.0, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Draws a Gworld into a graphics objct.
Notes: You can pass a handle of a GWorldMBS object.
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Fills an Arc inside the rectangle.
Example:
g.FillArcMBS 0,0,100,100,5,300
Notes: left, top, width and height are the circle bounds and start and end the degrees from where to where you want the circle line to be drawn.
This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Win Plugin (Win), class Graphics, Plugin version: 4.3, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The handle of the graphics port.
Notes:
On Mac OS a GrafPort, on Windows a HDC and on Linux a GTK Graphics Port.
Returns 0 on any error.
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Inverts an Arc inside the rectangle.
Notes: This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Inverts the oval inside the rectangle.
Notes: This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Inverts the graphics rectangle.
Notes:
Changed in MBS Plugin 2.7. Old function was a function and named Invert.
This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Inverts the round rectangle inside the rectangle.
Notes: This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Picture Plugin (Picture), class Graphics, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Draws on Windows the desktop into the current graphics port.
Notes: May not draw a desktop picture.
method, Graphics & Pictures, MBS Mac Plugin (PictureMac), class Graphics, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Scrolls the graphics object.
Notes: This function is QuickDraw based. It will not be supported in the future when Realbasic uses more and more Quartz drawing functions.
Some examples which use this method:
method, Graphics & Pictures, MBS Win Plugin (Win), class Graphics, Plugin version: 6.1, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The StretchBlt function copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
Notes:
This is just a wrapper to the StretchBlt function from the Windows API.
The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Parameters:
| nXOriginDest | Specifies the x-coordinate, in logical units, of the upper-left corner of the destination rectangle. |
| nYOriginDest | Specifies the y-coordinate, in logical units, of the upper-left corner of the destination rectangle. |
| nWidthDest | Specifies the width, in logical units, of the destination rectangle. |
| nHeightDest | Specifies the height, in logical units, of the destination rectangle. |
| hdcSrc | The source device context. |
| nXOriginSrc | Specifies the x-coordinate, in logical units, of the upper-left corner of the source rectangle. |
| nYOriginSrc | Specifies the y-coordinate, in logical units, of the upper-left corner of the source rectangle. |
| nWidthSrc | Specifies the width, in logical units, of the source rectangle. |
| nHeightSrc | Specifies the height, in logical units, of the source rectangle. |
| dwRop | Specifies the raster operation to be performed. Raster operation codes define how the system combines colors in output operations that involve a brush, a source bitmap, and a destination bitmap. See BitBlt for a list of common raster operation codes (ROPs). Note that the CAPTUREBLT ROP generally cannot be used for printing device contexts. |
Return Values
If the function succeeds, the return value is true.
If the function fails, the return value is false.
The items on this page are in the following plugins: MBS Mac Plugin, MBS Picture Plugin, MBS QuickTime Plugin, MBS Win Plugin.
Monkeybread Software Realbasic Plugins - Pfarrgemeinderat St. Arnulf Nickenich