QuartzFilterMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem