Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CGPictureContextMBS class

Super class: CGBitmapContextMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreGraphics MBS MacCG Plugin 4.1 Yes No No Yes, macOS only No
Function: A subclass of the CGBitmapContextMBS class to draw into a picture.
This class creates a picture bitmap which can be copied into a RB picture. Only for Carbon!

You need to call CGPictureContextMBS or fill background with some color as there may be random bytes in the picture memory.
The image is not cleared in the constructor for you (to increase performance where it's not needed). You may need to call ClearRect.
Subclass of the CGBitmapContextMBS class.

Feedback, Comments & Corrections

Super class CGBitmapContextMBS

Super class CGContextMBS

This class has no sub classes.

Some examples which use this class:

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

CGPDFStringMBS   -   CGPointMBS

MBS Xojo Plugins