i'm trying svg importer cocoa. got code gnustep project relied on displaypostscript. have ported on coregraphics, when call -[nsgraphicscontext graphicsport], resulting pointer null , can't use it. better me create cgcontextref , link nsgraphicscontext somehow?
code here, curious.
post code. people not dig around project find wtf talking about.
have done debugging on it? if so, sort?
code gave makes no sense. sample 1 of os x projects looks following. first have context.
code:
nsgraphicscontext *ctx = [nsgraphicscontext currentcontext]; cgcontextref contextref = [ctx graphicsport];
Forums Macs Mac Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment