Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

QCViewMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Creates a new Quartz composer view with size 100/100 and position 0/0
Example:
dim t as new QCViewMBS
Notes: On success the handle property is not zero.

See also:

Feedback, Comments & Corrections

QCViewMBS.Constructor(Handle as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.3 Yes No No Yes, macOS only No
Function: Creates an object based on the given QCView handle.
Example:
dim t as new QCViewMBS(0, 0, 100, 100)
dim v as new QCViewMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)
Notes: The handle is casted to a QCView and the plugin retains this handle.

See also:

Feedback, Comments & Corrections

QCViewMBS.Constructor(left as Double, top as Double, width as Double, height as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Creates a new Quartz composer view with the given size and position.
Example:
dim x as new QCViewMBS(0, 0, 100, 100)
Notes: On success the handle property is not zero.

See also:

Feedback, Comments & Corrections

QCViewMBS.erase
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Clears the view using the current erase color.

Feedback, Comments & Corrections

QCViewMBS.getAttributes as dictionary
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Returns the attributes of the composition associated with the renderer.
Notes:
Returns a dictionary that contains the attributes that describe the composition, including the input and output ports of the root patch.

The dictionary can define any of the attributes that are specified by the composition attribute keys. See QCCompositionAttributeNameKey, QCCompositionAttributeDescriptionKey, and QCCompositionAttributeCopyrightKey.

The dictionary can also contain dictionaries that correspond to the keys that identify the input and output ports of the root patch of the composition. See QCPortAttributeTypeKey, QCPortAttributeNameKey, QCPortAttributeMinimumValueKey, QCPortAttributeMaximumValueKey, and QCPortAttributeMenuItemsKey.

Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

QCViewMBS.inputKeys as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Returns an array that contains the keys that identify the input ports of the root patch of the composition.

Feedback, Comments & Corrections

QCViewMBS.loadComposition(composition as QCCompositionMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 15.1 Yes No No Yes, macOS only No
Function: Loads a QCComposition object into the view.
Notes:
Returns true if successful; otherwise false.
If unsuccessful, any composition that's already loaded in the view remains loaded.

Feedback, Comments & Corrections

QCViewMBS.loadCompositionFromData(data as MemoryBlock) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 15.1 Yes No No Yes, macOS only No
Function: Loads the composition from memoryblock.
Notes:
If unsuccessful, returns false; any composition that's already loaded in the view remains loaded.
Available in Mac OS X v10.4 and later.

See also:

Feedback, Comments & Corrections

QCViewMBS.loadCompositionFromData(data as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 15.1 Yes No No Yes, macOS only No
Function: Loads the composition from data string.
Notes:
If unsuccessful, returns false; any composition that's already loaded in the view remains loaded.
Available in Mac OS X v10.4 and later.

See also:

Feedback, Comments & Corrections

QCViewMBS.loadCompositionFromFile(file as folderitem) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Loads the composition file located at the specified path.
Notes:
file: A folderitem that specifies the location of a Quartz Composer composition file.

If unsuccessful, returns false; any composition that's already loaded in the view remains loaded.

Available in Mac OS X v10.4 and later.

See also:

Feedback, Comments & Corrections

QCViewMBS.loadCompositionFromFile(filepath as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Loads the composition file located at the specified path.
Notes:
filepath: A string that specifies the location of a Quartz Composer composition file.

If unsuccessful, returns false; any composition that's already loaded in the view remains loaded.

Available in Mac OS X v10.4 and later.

See also:

Feedback, Comments & Corrections

QCViewMBS.outputKeys as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Returns an array that contains the keys that identify the output ports of the root patch of the composition.

Feedback, Comments & Corrections

QCViewMBS.pauseRendering
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Pauses rendering in the view.
Notes:
You can nest calls to this method.
Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

QCViewMBS.resumeRendering
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Resumes rendering a paused composition.
Notes:
You can nest calls to this method.
Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

QCViewMBS.setValueForInputKey(value as Variant, key as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Sets the value for an input port of a composition.
Notes:
value: The value to set for the input port. The input port must be at the root patch of the composition. The data type of the value argument must match the input port.
key: The key associated with the input port of the composition. This method throws an exception if key is invalid.

Returns false if it cannot set the value.
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

QCViewMBS.startRendering as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Starts rendering the composition that is in the view.
Notes:
Returns false if the composition fails to start rendering; true otherwise.
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

QCViewMBS.stopRendering
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Stops rendering the composition that is in the view.
Notes: Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

QCViewMBS.unloadComposition
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Unloads the composition from the view.
Notes:
If necessary, this method calls stopRendering prior to unloading the composition.
Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

QCViewMBS.valueForInputKey(key as string) as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Returns the value for an input port of a composition.
Notes:
key: The key associated with an input port for the root patch of a composition. This method throws an exception if key is invalid.

Returns the value. The data type of returned value depends on the type of the input port.
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

QCViewMBS.valueForOutputKey(key as string) as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Quartz Composer MBS MacControls Plugin 10.1 Yes No No Yes, macOS only No
Function: Returns the value for an output port of a composition.
Notes:
key
The key associated with an output port for the root patch of a composition. This method throws an exception if key is invalid.

Returns the value as REALbasic variant. The data type of returned value depends on the type of the output port.

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins