Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::MacOSX::X11::Command Class Referenceabstract

Definition at line 45 of file X11Buffer.h.

Public Member Functions

 Command (Drawable_t wid)
 
 Command (Drawable_t wid, const GCValues_t &gc)
 
virtual ~Command ()
 
virtual void Execute () const =0
 
virtual void Execute (CGContextRef) const
 
virtual bool HasOperand (Drawable_t drawable) const
 
virtual bool IsGraphicsCommand () const
 
void setView (NSView *v)
 

Protected Attributes

const GCValues_t fGC
 
const Drawable_t fID
 
NSViewview = nil
 

Private Member Functions

 Command (const Command &rhs)
 
Commandoperator= (const Command &rhs)
 

Friends

class CommandBuffer
 

#include <X11Buffer.h>

Inheritance diagram for ROOT::MacOSX::X11::Command:
[legend]

Constructor & Destructor Documentation

◆ Command() [1/3]

ROOT::MacOSX::X11::Command::Command ( Drawable_t  wid)

Definition at line 45 of file X11Buffer.mm.

◆ Command() [2/3]

ROOT::MacOSX::X11::Command::Command ( Drawable_t  wid,
const GCValues_t gc 
)

Definition at line 38 of file X11Buffer.mm.

◆ ~Command()

ROOT::MacOSX::X11::Command::~Command ( )
virtual

Definition at line 52 of file X11Buffer.mm.

◆ Command() [3/3]

ROOT::MacOSX::X11::Command::Command ( const Command rhs)
private

Member Function Documentation

◆ Execute() [1/2]

◆ Execute() [2/2]

void ROOT::MacOSX::X11::Command::Execute ( CGContextRef  ) const
virtual

Reimplemented in ROOT::MacOSX::X11::DrawBoxXor, and ROOT::MacOSX::X11::DrawLineXor.

Definition at line 57 of file X11Buffer.mm.

◆ HasOperand()

bool ROOT::MacOSX::X11::Command::HasOperand ( Drawable_t  drawable) const
virtual

Reimplemented in ROOT::MacOSX::X11::CopyArea.

Definition at line 62 of file X11Buffer.mm.

◆ IsGraphicsCommand()

◆ operator=()

Command & ROOT::MacOSX::X11::Command::operator= ( const Command rhs)
private

◆ setView()

void ROOT::MacOSX::X11::Command::setView ( NSView v)
inline

Definition at line 63 of file X11Buffer.h.

Friends And Related Symbol Documentation

◆ CommandBuffer

friend class CommandBuffer
friend

Definition at line 46 of file X11Buffer.h.

Member Data Documentation

◆ fGC

const GCValues_t ROOT::MacOSX::X11::Command::fGC
protected

Definition at line 50 of file X11Buffer.h.

◆ fID

const Drawable_t ROOT::MacOSX::X11::Command::fID
protected

Definition at line 49 of file X11Buffer.h.

◆ view

NSView* ROOT::MacOSX::X11::Command::view = nil
protected

Definition at line 51 of file X11Buffer.h.

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