Quartz paths & text question

Discussion in 'iOS Programming' started by mccannmarc, Sep 8, 2008.

  1. mccannmarc macrumors 6502

    mccannmarc

    Joined:
    Aug 15, 2008
    Location:
    Manchester, UK
    #1
    Hi everyone,

    I've been looking all night for a simple answer to this but I can't seem to find any way of doing it, so before I sit and write the entire routine myself from scratch does anyone know of any way to get text to clip to a path in quartz/ core graphics? Basically I am trying to get a string of text to follow the curvature of an arc.

    Cheers
     
  2. mccannmarc thread starter macrumors 6502

    mccannmarc

    Joined:
    Aug 15, 2008
    Location:
    Manchester, UK
    #2
    any ideas?

    I've read something about being able to use Glyphs using cocoa text functions but I dont know if this would be any use?
     
  3. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #3
    You might want to look at the CircleView sample code. This is an appkit example but you might get a better idea how to do it.
     
  4. mccannmarc thread starter macrumors 6502

    mccannmarc

    Joined:
    Aug 15, 2008
    Location:
    Manchester, UK
    #4
    Cheers mate, just what I was after. God knows how I managed to overlook this
     

Share This Page