开发者

GetPictInfo replacement Api in quartz 2D

开发者 https://www.devze.com 2023-04-04 23:56 出处:网络
how to get pict info without using deprecated call to GetPictInfo ? Also, is there anyway to 开发者_如何学Goget pixmaphandle without using deprecated Api, i could not find any .I suggest you relearn h

how to get pict info without using deprecated call to GetPictInfo ? Also, is there anyway to 开发者_如何学Goget pixmaphandle without using deprecated Api, i could not find any .


I suggest you relearn how to work with images on Mac OS X. If you can handle a little Cocoa code, use the NSImage class. Otherwise, use Core Graphics and the CGImage API. Either one works.

Since PixMapHandle is itself deprecated, you cannot use it without using deprecated functions. Use Core Graphics (Quartz) instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消