Platforms to show: All Mac Windows Linux Cross-Platform

Back to QuartzFilterMBS class.

QuartzFilterMBS.applyToContext(CGContextHandle as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacControls Plugin 8.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Applies a filter to a given context.
Example
dim c as CGContextMBS // your context
dim fi as QuartzFilterMBS

fi=QuartzFilterMBS.quartzFilterWithFile(SpecialFolder.Desktop.Child("Reduce File Size.qfilter"))

call fi.applyToContext(c.Handle)

Returns true on success.

QuartzFilterMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacControls Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The private constructor.

QuartzFilterMBS.localizedName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacControls Plugin 8.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The localized name of the filter.
Example
dim q as new QuartzFilterManagerMBS
dim s(-1) as string

dim a() as QuartzFilterMBS = q.filters

for each f as QuartzFilterMBS in a
s.append f.localizedName
next

MsgBox Join(s,EndOfLine)

QuartzFilterMBS.removeFromContext(CGContextHandle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacControls Plugin 8.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Removes a filter from a CGContext.

Pass CGContextMBS.handle and make sure it is not 0.

QuartzFilterMBS.url as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacControls Plugin 8.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The URL where this filter is located.
Example
dim q as new QuartzFilterManagerMBS
dim s(-1) as string

dim a() as QuartzFilterMBS = q.filters

for each f as QuartzFilterMBS in a
s.append f.url
next

MsgBox Join(s,EndOfLine)

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


The biggest plugin in space...