Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

CGDisplayStreamEventMBS.kCGDisplayStreamColorSpace as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
Set the desired CGColorSpace of the output frames.
By default the color space will be that of the display.

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamDestinationRect as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
This may be used to request where within the destination buffer the display updates should be placed. Use CGRectCreateDictionaryRepresentation to convert from a CGRect to the value used here.
Note: The coordinate system for the destination rectangle is always specified in output pixels to match the fact that the output buffer size is also specified in terms of pixels.
Defaults to entire buffer

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamMinimumFrameTime as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
Request that the delta between frame updates be at least as much specified by this value.
Number in seconds, defaults to zero.

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamPreserveAspectRatio as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
Enable/disable the work the Window Server will do to preserve the display aspect ratio. By default the Window Server will assume that it should preserve the original aspect ratio of the source display rect. If the aspect ratio of the source display and the display stream destination rect are not the same, black borders will be inserted at the top/bottom or right/left sides of the destination in order to preserve the source aspect ratio.
Boolean - defaults to true

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamQueueDepth as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
Controls how many frames deep the frame queue will be.
Defaults to 3.

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamShowCursor as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: Controls whether the cursor is embedded within the provided buffers or not.

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamSourceRect as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
This may be used to request a subregion of the display to be provided as the source of the display stream. Use CGRectCreateDictionaryRepresentation to convert from a CGRect to the value used here. N
Note: The coordinate system for the source rectangle is specified in display logical coordinates and not in pixels, in order to match the normal convention on HiDPI displays.
Defaults to entire display.

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: One of the keys for the properties dictionary.
Notes:
When outputting frames in 420v or 420f format, this key may be used to control which YCbCr matrix is used
The value should be one of the three kCGDisplayStreamYCbCrMatrix values specified below:
kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995
kCGDisplayStreamYCbCrMatrix_ITU_R_709_2
kCGDisplayStreamYCbCrMatrix_ITU_R_601_4

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix_ITU_R_601_4 as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: A possible value for kCGDisplayStreamYCbCrMatrix key.

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix_ITU_R_709_2 as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: A possible value for kCGDisplayStreamYCbCrMatrix key.

Feedback, Comments & Corrections

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995 as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: A possible value for kCGDisplayStreamYCbCrMatrix key.

Feedback, Comments & Corrections

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




Links
MBS Xojo tutorial videos