What does the CFDictionary passed to CGContextBeginTransparencyLayer specify?

StackOverflow https://stackoverflow.com/questions/23503675

  •  16-07-2023
  •  | 
  •  

According to Apple documentation it is possible to pass CFDictionaryRef auxiliaryInfo when creating/beginning a transparency layer, but I cannot find any documentation or examples on what key-value pairs might be appropriate for this or how it might be used. Can anyone shed light on this or should it always be null?

有帮助吗?

解决方案

The auxiliaryInfo dictionary is intended for future use to be used for layer options, however currently it is not being used in the Quartz 2D API. So for now it should always be NULL for this function.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top