Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CGPictureContextMBS class

Type Topic Version
class CoreGraphics 4.1
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.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:

Blog Entries

CGPDFStringMBS   -   CGPointMBS

MBS FileMaker blog