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