ROOT  6.06/09
Reference Guide
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 GetBounds (UInt_t &w, UInt_t &h) const
 
void GetAscentDescent (Int_t &asc, Int_t &desc) const
 
void DrawLine (CGContextRef ctx) const
 
void DrawLine (CGContextRef ctx, Double_t x, Double_t y) const
 

Private Member Functions

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)
 
 TextLine (const TextLine &rhs)
 
TextLineoperator= (const TextLine &rhs)
 

Private Attributes

CTLineRef fCTLine
 
CTFontRef fCTFont
 

#include <QuartzText.h>

Constructor & Destructor Documentation

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

Definition at line 75 of file QuartzText.mm.

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

Definition at line 89 of file QuartzText.mm.

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

Definition at line 104 of file QuartzText.mm.

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

Definition at line 154 of file QuartzText.mm.

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

Definition at line 131 of file QuartzText.mm.

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

Definition at line 183 of file QuartzText.mm.

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

Member Function Documentation

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

Definition at line 278 of file QuartzText.mm.

Referenced by DrawLine(), and TGQuartz::DrawText().

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

Definition at line 286 of file QuartzText.mm.

void ROOT::Quartz::TextLine::GetAscentDescent ( Int_t asc,
Int_t desc 
) const
void ROOT::Quartz::TextLine::GetBounds ( UInt_t w,
UInt_t h 
) const

Definition at line 190 of file QuartzText.mm.

Referenced by DrawLine(), and ROOT::MacOSX::Details::FontCache::GetTextBounds().

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

Definition at line 232 of file QuartzText.mm.

Referenced by TextLine().

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

Definition at line 255 of file QuartzText.mm.

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

Member Data Documentation

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

Definition at line 55 of file QuartzText.h.

Referenced by GetAscentDescent().

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

Definition at line 54 of file QuartzText.h.

Referenced by DrawLine(), GetAscentDescent(), GetBounds(), Init(), and ~TextLine().


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