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