Platforms to show: All Mac Windows Linux Cross-Platform
CGAffineTransformMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreGraphics | MBS MacCG Plugin | 3.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 7 properties
- 15 methods
- method Binary as MemoryBlock
- method Concat(t as CGAffineTransformMBS) as CGAffineTransformMBS
- method Constructor
- method Constructor(a as double, b as double, c as double, d as double, tx as double = 0.0, ty as double = 0.0)
- method Constructor(p as Ptr)
- method Constructor(transform as CGAffineTransformMBS)
- method EqualToTransform(t as CGAffineTransformMBS) as boolean
- method Invert as CGAffineTransformMBS
- method IsIdentity as boolean
- method Operator_Convert as String
- method Operator_Multiply(other as CGAffineTransformMBS) as CGAffineTransformMBS
- method Operator_MultiplyRight(other as CGAffineTransformMBS) as CGAffineTransformMBS
- method Rotate(angle as Double) as CGAffineTransformMBS
- method Scale(sx as Double, sy as Double) as CGAffineTransformMBS
- method Translate(tx as Double, ty as Double) as CGAffineTransformMBS
- 5 shared methods
- shared method Identity as CGAffineTransformMBS
- shared method Make(a as double, b as double, c as double, d as double, tx as double = 0.0, ty as double = 0.0) as CGAffineTransformMBS
- shared method MakeRotation(angle as Double) as CGAffineTransformMBS
- shared method MakeScale(sx as Double, sy as Double) as CGAffineTransformMBS
- shared method MakeTranslation(tx as Double, ty as Double) as CGAffineTransformMBS
This class has no sub classes.
Some methods using this class:
- AVMutableVideoCompositionLayerInstructionMBS.setTransformRamp(startTransform as CGAffineTransformMBS, endTransform as CGAffineTransformMBS, timeRange as CMTimeRangeMBS)
- AVVideoCompositionLayerInstructionMBS.getTransformRampForTime(time as CMTimeMBS, byref startTransform as CGAffineTransformMBS, byref endOpacity as CGAffineTransformMBS, byref timeRange as CMTimeRangeMBS) as boolean
- CGContextMBS.GetCTM as CGAffineTransformMBS
- CGMutablePathMBS.AddArcToPoint(transform as CGAffineTransformMBS, x as Double, y as Double, x2 as Double, y2 as Double, radius as Double)
- CGMutablePathMBS.AddLineToPoint(transform as CGAffineTransformMBS, x as Double, y as Double)
- CGMutablePathMBS.AddPath(transform as CGAffineTransformMBS, path as CGPathMBS)
- CIVectorMBS.Constructor(t as CGAffineTransformMBS)
- CIVectorMBS.vectorWithCGAffineTransform(t as CGAffineTransformMBS) as CIVectorMBS
- CTFontMBS.CreateWithFamily(size as Double, Matrix as CGAffineTransformMBS, family as string) as CTFontMBS
- CTFontMBS.CreateWithSymbolicTraits(size as Double, Matrix as CGAffineTransformMBS, symTraitValue as Integer, symTraitMask as Integer) as CTFontMBS
Some properties using for this class:
- AVMutableMovieTrackMBS.preferredTransform as CGAffineTransformMBS
- AVVideoCompositionRenderContextMBS.renderTransform as CGAffineTransformMBS
- CTFontMBS.Matrix as CGAffineTransformMBS
- CTRunMBS.TextMatrix as CGAffineTransformMBS
- VNHorizonObservationMBS.transform as CGAffineTransformMBS
- VNImageTranslationAlignmentObservationMBS.alignmentTransform as CGAffineTransformMBS
- AVAssetWriterInputMBS.transform as CGAffineTransformMBS
- AVMutableCompositionTrackMBS.preferredTransform as CGAffineTransformMBS
- CGContextMBS.TextMatrix as CGAffineTransformMBS
- CGSWindowMBS.AffineTransform as CGAffineTransformMBS
Some examples using this class:
- /AVFoundation/Merge and Crop Videos
- /DynaPDF/DnyaPDF Matrix tests
- /MacCG/CoreText/CoreText Dynamic Text Height
- /MacCG/CoreText/CoreText Test
Blog Entries
Release notes
- Version 20.2
- Added Operator_Convert and StringValue to CGAffineTransformMBS and NSAffineTransformMBS classes.
The items on this page are in the following plugins: MBS MacCG Plugin.
CFWriteStreamMBS - CGBitmapContextMBS