Platforms to show: All Mac Windows Linux Cross-Platform
CGSizeMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreGraphics | MBS MacCG Plugin | 2.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 2 properties
- 7 methods
- method ApplyAffineTransform(p as CGAffineTransformMBS) as CGSizeMBS
- method Binary as MemoryBlock
- method Constructor
- method Constructor(p as Ptr)
- method Constructor(source as CGSizeMBS)
- method Constructor(width as Double, height as Double)
- method Equal(p as CGSizeMBS) as boolean
- 2 shared methods
This class has no sub classes.
Some useful global functions for this class:
- CGMakeSizeMBS(width as Double, height as Double) as CGSizeMBS
Some methods using this class:
- AVCompositionMBS.naturalSize as CGSizeMBS
- CGLayerMBS.Constructor(context as CGContextMBS, size as CGSizeMBS, auxiliaryInfo as dictionary = nil)
- CGLayerMBS.Size as CGSizeMBS
- CIContextMBS.createCGLayer(size as CGSizeMBS, info as dictionary = nil) as CGLayerMBS
- CTFramesetterMBS.SuggestFrameSizeWithConstraints(location as Integer, length as Integer, frameAttributes as dictionary, constraints as CGSizeMBS, byref fitRangeLocation as Integer, byref fitRangeLength as Integer) as CGSizeMBS
- CTRunMBS.Advances as CGSizeMBS()
- PHCachingImageManagerMBS.startCachingImagesForAssets(assets() as PHAssetMBS, targetSize as CGSizeMBS, contentMode as Integer, options as PHImageRequestOptionsMBS = nil)
- PHCachingImageManagerMBS.stopCachingImagesForAssets(assets() as PHAssetMBS, targetSize as CGSizeMBS, contentMode as Integer, options as PHImageRequestOptionsMBS = nil)
- PHLivePhotoEditingContextMBS.prepareLivePhotoForPlayback(targetSize as CGSizeMBS, options as Dictionary = nil, completionHandler as PrepareLivePhotoForPlaybackCompletedMBS, tag as variant = nil)
- PHLivePhotoMBS.requestLivePhotoWithResourceFileURLs(Files() as FolderItem, placeholderImage as NSImageMBS = nil, targetSize as CGSizeMBS, contentMode as Integer, theDelegate as RequestLivePhotoWithResourceFileURLsMBS, Tag as Variant = nil) as Integer
Some properties using for this class:
- AVAssetTrackMBS.naturalSize as CGSizeMBS
- AVAssetWriterInputMBS.naturalSize as CGSizeMBS
- AVMutableMovieTrackMBS.cleanApertureDimensions as CGSizeMBS
- AVMutableMovieTrackMBS.encodedPixelsDimensions as CGSizeMBS
- AVMutableMovieTrackMBS.productionApertureDimensions as CGSizeMBS
- AVPlayerItemMBS.presentationSize as CGSizeMBS
- CALayerMBS.preferredFrameSize as CGSizeMBS
- CGRectMBS.Size as CGSizeMBS
- MKTileOverlayMBS.TileSize as CGSizeMBS
- AVMutableCompositionMBS.naturalSize as CGSizeMBS
Some examples using this class:
- /AVFoundation/Add text to video
- /AVFoundation/Overlay video track with picture
- /AVFoundation/Query metadata
- /Mac64bit/Photos/Photos
- /MacCG/CoreText/CoreText Dynamic Text Height
- /MacFrameworks/Vision Object Detection/Vision Object Detection
Blog Entries
Xojo Developer Magazine
The items on this page are in the following plugins: MBS MacCG Plugin.
CGShadingMBS - CGSTransitionMBS