Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CIVectorMBS.vectorWithCGAffineTransform(t as CGAffineTransformMBS) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 14.1 Yes No No Yes, macOS only No
Function: Creates and returns a vector that is initialized with values provided by a CGAffineTransform.
Example:
dim p as new CGAffineTransformMBS
dim v as CIVectorMBS = CIVectorMBS.vectorWithCGAffineTransform(p)
dim x as CGAffineTransformMBS = v.CGAffineTransformValue
MsgBox str(x.A)+" "+str(x.B)+" "+str(x.C)+" "+str(x.D)+" "+str(x.TX)+" "+str(x.TY)
Notes:
t: A transform.
Returns a vector initialized with the specified values.

The six values that comprise the affine transform fill the first six positions of the resulting CIVector object.

Feedback, Comments & Corrections

CIVectorMBS.vectorWithCGPoint(p as CGPointMBS) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 14.1 Yes No No Yes, macOS only No
Function: Creates and returns a vector that is initialized with values provided by a CGPoint.
Example:
dim p as new CGPointMBS(10, 20)
dim v as CIVectorMBS = CIVectorMBS.vectorWithCGPoint(p)

MsgBox str(v.x)+" "+str(v.y)
Notes:
p: A point.
A vector initialized with the specified values.

The CGPoint's X and Y values are stored in the vector's X and Y properties.

Feedback, Comments & Corrections

CIVectorMBS.vectorWithCGRect(r as CGRectMBS) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 14.1 Yes No No Yes, macOS only No
Function: Creates and returns a vector that is initialized with values provided by a CGRect.
Example:
dim p as new CGRectMBS(10, 20, 30, 40)
dim v as CIVectorMBS = CIVectorMBS.vectorWithCGRect(p)

dim x as CGRectMBS = v.CGRectValue
MsgBox str(x.Origin.X)+" "+str(x.Origin.y)+" "+str(x.Size.Width)+" "+str(x.Size.Height)
Notes:
r: A rect.

Returns a vector initialized with the specified values.
The CGRect's X, Y, height and width values are stored in the vector's X, Y, Z and W properties.

Feedback, Comments & Corrections

CIVectorMBS.vectorWithString(s as string) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 12.4 Yes No No Yes, macOS only No
Function: Creates a new vector based on content of the string.

Feedback, Comments & Corrections

CIVectorMBS.vectorWithValues(values() as Double) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: Creates a new vector based on the given values.

See also:

Feedback, Comments & Corrections

CIVectorMBS.vectorWithValues(values() as single) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: Creates a new vector based on the given values.

See also:

Feedback, Comments & Corrections

CIVectorMBS.vectorWithX(x as Double) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 12.4 Yes No No Yes, macOS only No
Function: Creates a new vector based on one value.

Feedback, Comments & Corrections

CIVectorMBS.vectorWithXY(x as Double, y as Double) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 12.4 Yes No No Yes, macOS only No
Function: Creates a new vector based on two values.

Feedback, Comments & Corrections

CIVectorMBS.vectorWithXYZ(x as Double, y as Double, z as Double) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 12.4 Yes No No Yes, macOS only No
Function: Creates a new vector based on three values.

Feedback, Comments & Corrections

CIVectorMBS.vectorWithXYZW(x as Double, y as Double, z as Double, w as Double) as CIVectorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 12.4 Yes No No Yes, macOS only No
Function: Creates a new vector based on 4 values.

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins