Logo ROOT  
Reference Guide
No Matches
ROOT::MacOSX::X11::DrawString Class Reference

Definition at line 131 of file X11Buffer.h.

Public Member Functions

 DrawString (Drawable_t wid, const GCValues_t &gc, const Point &point, const std::string &text)
void Execute () const
bool IsGraphicsCommand () const
- Public Member Functions inherited from ROOT::MacOSX::X11::Command
 Command (Drawable_t wid)
 Command (Drawable_t wid, const GCValues_t &gc)
virtual ~Command ()
virtual void Execute (CGContextRef) const
virtual bool HasOperand (Drawable_t drawable) const
void setView (NSView *v)

Private Attributes

const Point fPoint
const std::string fText

Additional Inherited Members

- Protected Attributes inherited from ROOT::MacOSX::X11::Command
const GCValues_t fGC
const Drawable_t fID
NSViewview = nil

#include <X11Buffer.h>

Inheritance diagram for ROOT::MacOSX::X11::DrawString:

Constructor & Destructor Documentation

◆ DrawString()

ROOT::MacOSX::X11::DrawString::DrawString ( Drawable_t  wid,
const GCValues_t gc,
const Point point,
const std::string &  text 

Definition at line 154 of file X11Buffer.mm.

Member Function Documentation

◆ Execute()

void ROOT::MacOSX::X11::DrawString::Execute ( ) const

Implements ROOT::MacOSX::X11::Command.

Definition at line 163 of file X11Buffer.mm.

◆ IsGraphicsCommand()

bool ROOT::MacOSX::X11::DrawString::IsGraphicsCommand ( ) const

Reimplemented from ROOT::MacOSX::X11::Command.

Definition at line 139 of file X11Buffer.h.

Member Data Documentation

◆ fPoint

const Point ROOT::MacOSX::X11::DrawString::fPoint

Definition at line 133 of file X11Buffer.h.

◆ fText

const std::string ROOT::MacOSX::X11::DrawString::fText

Definition at line 134 of file X11Buffer.h.

  • graf2d/cocoa/inc/X11Buffer.h
  • graf2d/cocoa/src/X11Buffer.mm