MBS Xojo Developer Conference and Training
Join us from 11th to 14th September 2013 in Koblenz.
Join us from 11th to 14th September 2013 in Koblenz.
Platforms to show: All Mac Windows Linux Cross-Platform
CIContextMBS class
class, CoreImage,
MBS Real Studio MacOSXCG Plugin
(QuartzCore),
class CIContextMBS,
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: A class for a drawing context for CoreImage.
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.
Function: A class for a drawing context for CoreImage.
- property CGContext as CGContextMBS
- property description as String
- property Handle as Integer
- property Picture as Picture
- method ClearCaches
- method Constructor(cgcontext as CGContextMBS)
- method Constructor(cgcontext as CGContextMBS, OutputColorSpace as CGColorSpaceMBS, WorkingColorSpace as CGColorSpaceMBS, UseSoftwareRenderer as Boolean)
- method Constructor(Handle as Integer)
- method Constructor(Pic as Picture)
- method CreateCGImage(image as CIImageMBS, r as CGRectMBS = nil) as CGImageMBS
- method CreateCGImage(image as CIImageMBS, r as CGRectMBS, ColorSpace as CGColorSpaceMBS) as CGImageMBS
- method Destructor
- method DrawImage(ciImage as CIImageMBS)
- method DrawImagePoint(ciImage as CIImageMBS, DestPoint as CGPointMBS, SourceRect as CGRectMBS = nil)
- method DrawImageRect(ciImage as CIImageMBS, DestRect as CGRectMBS, SourceRect as CGRectMBS = nil)
- method Flush
- method ReclaimResources
This class has no sub classes.
Some useful global functions for this class:
- NewCIContextMBS(cgcontext as CGContextMBS) as CIContextMBS
- NewCIContextMBS(cgcontext as CGContextMBS, OutputColorSpace as CGColorSpaceMBS, WorkingColorSpace as CGColorSpaceMBS, UseSoftwareRenderer as Boolean) as CIContextMBS
Some methods using this class:
- CIDetectorMBS.Constructor(type as string, context as CIContextMBS, options as dictionary)
Some examples which use this class:
- /MacOSX/CoreImage/Gauss Blur Filter 2
- /MacOSX/CoreImage/Ripple Transition filter/Ripple Transition filter
- /MacOSX/CoreImage/Simple Filter
- /MacOSX/Gauss Blur Filter
- /MacOSX/Open Image using CoreImage
The items on this page are in the following plugins: MBS Real Studio MacOSXCG Plugin.
Links
MBS Realbasic Plugins