Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Quartz::TextLine Class Reference

Definition at line 37 of file QuartzText.h.

Public Member Functions

 TextLine (const char *textLine, CTFontRef font)
 
 TextLine (const std::vector< UniChar > &textLine, CTFontRef font)
 
 TextLine (const char *textLine, CTFontRef font, Color_t color)
 
 TextLine (const std::vector< UniChar > &textLine, CTFontRef font, Color_t color)
 
 TextLine (const char *textLine, CTFontRef font, const CGFloat *rgb)
 
 ~TextLine ()
 
void DrawLine (CGContextRef ctx) const
 
void DrawLine (CGContextRef ctx, Double_t x, Double_t y) const
 
void GetAscentDescent (Int_t &asc, Int_t &desc) const
 
void GetBounds (UInt_t &w, UInt_t &h) const
 

Private Member Functions

 TextLine (const TextLine &rhs)
 
void Init (const char *textLine, UInt_t nAttribs, CFStringRef *keys, CFTypeRef *values)
 
void Init (const std::vector< UniChar > &textLine, UInt_t nAttribs, CFStringRef *keys, CFTypeRef *values)
 
TextLineoperator= (const TextLine &rhs)
 

Private Attributes

CTFontRef fCTFont
 
CTLineRef fCTLine
 

#include <QuartzText.h>

Constructor & Destructor Documentation

◆ TextLine() [1/6]

ROOT::Quartz::TextLine::TextLine ( const char *  textLine,
CTFontRef  font 
)

Definition at line 75 of file QuartzText.mm.

◆ TextLine() [2/6]

ROOT::Quartz::TextLine::TextLine ( const std::vector< UniChar > &  textLine,
CTFontRef  font 
)

Definition at line 87 of file QuartzText.mm.

◆ TextLine() [3/6]

ROOT::Quartz::TextLine::TextLine ( const char *  textLine,
CTFontRef  font,
Color_t  color 
)

Definition at line 100 of file QuartzText.mm.

◆ TextLine() [4/6]

ROOT::Quartz::TextLine::TextLine ( const std::vector< UniChar > &  textLine,
CTFontRef  font,
Color_t  color 
)

Definition at line 146 of file QuartzText.mm.

◆ TextLine() [5/6]

ROOT::Quartz::TextLine::TextLine ( const char *  textLine,
CTFontRef  font,
const CGFloat *  rgb 
)

Definition at line 125 of file QuartzText.mm.

◆ ~TextLine()

ROOT::Quartz::TextLine::~TextLine ( )

Definition at line 172 of file QuartzText.mm.

◆ TextLine() [6/6]

ROOT::Quartz::TextLine::TextLine ( const TextLine rhs)
private

Member Function Documentation

◆ DrawLine() [1/2]

void ROOT::Quartz::TextLine::DrawLine ( CGContextRef  ctx) const

Definition at line 267 of file QuartzText.mm.

◆ DrawLine() [2/2]

void ROOT::Quartz::TextLine::DrawLine ( CGContextRef  ctx,
Double_t  x,
Double_t  y 
) const

Definition at line 275 of file QuartzText.mm.

◆ GetAscentDescent()

void ROOT::Quartz::TextLine::GetAscentDescent ( Int_t asc,
Int_t desc 
) const

Definition at line 189 of file QuartzText.mm.

◆ GetBounds()

void ROOT::Quartz::TextLine::GetBounds ( UInt_t w,
UInt_t h 
) const

Definition at line 179 of file QuartzText.mm.

◆ Init() [1/2]

void ROOT::Quartz::TextLine::Init ( const char *  textLine,
UInt_t  nAttribs,
CFStringRef *  keys,
CFTypeRef *  values 
)
private

Definition at line 221 of file QuartzText.mm.

◆ Init() [2/2]

void ROOT::Quartz::TextLine::Init ( const std::vector< UniChar > &  textLine,
UInt_t  nAttribs,
CFStringRef *  keys,
CFTypeRef *  values 
)
private

Definition at line 244 of file QuartzText.mm.

◆ operator=()

TextLine& ROOT::Quartz::TextLine::operator= ( const TextLine rhs)
private

Member Data Documentation

◆ fCTFont

CTFontRef ROOT::Quartz::TextLine::fCTFont
private

Definition at line 55 of file QuartzText.h.

◆ fCTLine

CTLineRef ROOT::Quartz::TextLine::fCTLine
private

Definition at line 54 of file QuartzText.h.


The documentation for this class was generated from the following files: