12 #ifndef ROOT_QuartzText 13 #define ROOT_QuartzText 17 #include <Cocoa/Cocoa.h> 39 TextLine(
const char *textLine, CTFontRef font);
40 TextLine(
const std::vector<UniChar> &textLine, CTFontRef font);
43 TextLine(
const std::vector<UniChar> &textLine, CTFontRef font,
Color_t color);
44 TextLine(
const char *textLine, CTFontRef font,
const CGFloat *rgb);
51 void DrawLine(CGContextRef ctx)
const;
57 void Init(
const char *textLine,
UInt_t nAttribs, CFStringRef *keys, CFTypeRef *values);
58 void Init(
const std::vector<UniChar> &textLine,
UInt_t nAttribs, CFStringRef *keys, CFTypeRef *values);
void GetAscentDescent(Int_t &asc, Int_t &desc) const
void GetBounds(UInt_t &w, UInt_t &h) const
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
const CTFontOrientation horizontalFontOrientation
TextLine & operator=(const TextLine &rhs)
const CTFontOrientation defaultFontOrientation
TextLine(const char *textLine, CTFontRef font)
const CTFontOrientation verticalFontOrientation
void DrawLine(CGContextRef ctx) const
void DrawTextLineNoKerning(CGContextRef ctx, CTFontRef font, const std::vector< UniChar > &text, Int_t x, Int_t y)
void Init(const char *textLine, UInt_t nAttribs, CFStringRef *keys, CFTypeRef *values)