Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 2 of 2
  1. #1
    lucmoulinier is offline Registered User
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [Newbie !] Low level graphical functions

    Hello !

    I've developped a software running on Windows and Linux that I'd like to port on Mac. this software uses low level graphical functions like (on Linux) XftDraw, XftDrawRect, or XDrawImageString.

    What are the closest equivalent of these functions in the Mac Graphical API ? Can someone direct me to some documentation ?

    PS: I'm aware X11 is available on Mac OS X, but I'd like to stick to the native Mac graphical environment.

    Luc

  2. #2
    szymczyk is offline Registered User
    Join Date
    Sep 2005
    Posts
    52
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Mac applications generally use OpenGL for low-level graphics drawing. You should also take a look at Core Graphics and Quartz, which are Apple graphics technologies. You can read Apple's developer documentation at developer.apple.com. If you have installed Xcode, you can read the documentation inside Xcode.
    Mark Szymczyk
    Author, Xcode Tools Sensei
    http://www.meandmark.com

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •