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 GetBounds(UInt_t &w, UInt_t &h) const
TextLine & operator=(const TextLine &rhs)
TextLine(const TextLine &rhs)
void GetAscentDescent(Int_t &asc, Int_t &desc) const
void Init(const char *textLine, UInt_t nAttribs, CFStringRef *keys, CFTypeRef *values)
TextLine(const char *textLine, CTFontRef font)
void DrawLine(CGContextRef ctx) const
const CTFontOrientation defaultFontOrientation
void DrawTextLineNoKerning(CGContextRef ctx, CTFontRef font, const std::vector< UniChar > &text, Int_t x, Int_t y)
const CTFontOrientation horizontalFontOrientation
const CTFontOrientation verticalFontOrientation
Namespace for new ROOT classes and functions.