diff options
author | 2014-12-10 21:43:27 -0800 | |
---|---|---|
committer | 2014-12-10 21:43:28 -0800 | |
commit | 3490263287e9432119c501884e45840de4d986bc (patch) | |
tree | 2ba9e1c9f5accf46d281e2c2c24f4722ad24e7d5 /tools/bench_pictures.cfg | |
parent | 294738268d3a9317282224f03063eb38ad19717c (diff) |
Replace use of deprecated CG methods.
OSX10.9 and iOS7.0 deprecated CGContextShowGlyphsAtPoint so a new API
should be used. OSX10.7 and iOS4.2 replace CGContextShowGlyphsAtPoint with
CTFontDrawGlyphs. OSX10.5 and iOS2.0 have CGContextShowGlyphsAtPositions
which works similarly to CTFontDrawGlyphs and has not yet been deprecated.
This change allows the use of CTFontDrawGlyphs when it is available,
falling back to CGContextShowGlyphsAtPositions when it isn't.
Review URL: https://codereview.chromium.org/770383002
Diffstat (limited to 'tools/bench_pictures.cfg')
0 files changed, 0 insertions, 0 deletions