/ CoreText / CTRun.m
CTRun.m
  1  #import <CoreText/CTRun.h>
  2  
  3  CFTypeID CTRunGetTypeID(void)
  4  {
  5      printf("STUB %s\n", __PRETTY_FUNCTION__);
  6      return 0;
  7  }
  8  
  9  CFIndex CTRunGetGlyphCount(CTRunRef run)
 10  {
 11      printf("STUB %s\n", __PRETTY_FUNCTION__);
 12      return -1;
 13  }
 14  
 15  CFDictionaryRef CTRunGetAttributes(CTRunRef run)
 16  {
 17      printf("STUB %s\n", __PRETTY_FUNCTION__);
 18      return nil;
 19  }
 20  
 21  CTRunStatus CTRunGetStatus(CTRunRef run)
 22  {
 23      printf("STUB %s\n", __PRETTY_FUNCTION__);
 24      return 0;
 25  }
 26  
 27  const CGGlyph * CTRunGetGlyphsPtr(CTRunRef run)
 28  {
 29      printf("STUB %s\n", __PRETTY_FUNCTION__);
 30      return nil;
 31  }
 32  
 33  void CTRunGetGlyphs(CTRunRef run, CFRange range, CGGlyph *buffer)
 34  {
 35      printf("STUB %s\n", __PRETTY_FUNCTION__);
 36  }
 37  
 38  const CGPoint * CTRunGetPositionsPtr(CTRunRef run)
 39  {
 40      printf("STUB %s\n", __PRETTY_FUNCTION__);
 41      return nil;
 42  }
 43  
 44  void CTRunGetPositions(CTRunRef run, CFRange range, CGPoint *buffer)
 45  {
 46      printf("STUB %s\n", __PRETTY_FUNCTION__);
 47  }
 48  
 49  const CGSize * CTRunGetAdvancesPtr(CTRunRef run)
 50  {
 51      printf("STUB %s\n", __PRETTY_FUNCTION__);
 52      return nil;
 53  }
 54  
 55  void CTRunGetAdvances(CTRunRef run, CFRange range, CGSize *buffer)
 56  {
 57      printf("STUB %s\n", __PRETTY_FUNCTION__);
 58  }
 59  
 60  const CFIndex * CTRunGetStringIndicesPtr(CTRunRef run)
 61  {
 62      printf("STUB %s\n", __PRETTY_FUNCTION__);
 63      return nil;
 64  }
 65  
 66  void CTRunGetStringIndices(CTRunRef run, CFRange range, CFIndex *buffer)
 67  {
 68      printf("STUB %s\n", __PRETTY_FUNCTION__);
 69  }
 70  
 71  CFRange CTRunGetStringRange(CTRunRef run)
 72  {
 73      printf("STUB %s\n", __PRETTY_FUNCTION__);
 74      return CFRangeMake(0, 0);
 75  }
 76  
 77  double CTRunGetTypographicBounds(CTRunRef run, CFRange range, CGFloat *ascent, CGFloat *descent, CGFloat *leading)
 78  {
 79      printf("STUB %s\n", __PRETTY_FUNCTION__);
 80      return -1.0;
 81  }
 82  
 83  CGRect CTRunGetImageBounds(CTRunRef run, CGContextRef context, CFRange range)
 84  {
 85      printf("STUB %s\n", __PRETTY_FUNCTION__);
 86      return CGRectMake(0, 0, 0, 0);
 87  }
 88  
 89  CGAffineTransform CTRunGetTextMatrix(CTRunRef run)
 90  {
 91      printf("STUB %s\n", __PRETTY_FUNCTION__);
 92      return CGAffineTransformIdentity;
 93  }
 94  
 95  void CTRunGetBaseAdvancesAndOrigins(CTRunRef runRef, CFRange range, CGSize *advancesBuffer, CGPoint *originsBuffer)
 96  {
 97      printf("STUB %s\n", __PRETTY_FUNCTION__);
 98  }
 99  
100  void CTRunDraw(CTRunRef run, CGContextRef context, CFRange range)
101  {
102      printf("STUB %s\n", __PRETTY_FUNCTION__);
103  }