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

Definition at line 68 of file X11Buffer.h.

Public Member Functions

 DrawLine (Drawable_t wid, const GCValues_t &gc, const Point &p1, const Point &p2)
 
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
 

Private Attributes

const Point fP1
 
const Point fP2
 

Additional Inherited Members

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

#include <X11Buffer.h>

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

Constructor & Destructor Documentation

◆ DrawLine()

ROOT::MacOSX::X11::DrawLine::DrawLine ( Drawable_t  wid,
const GCValues_t gc,
const Point p1,
const Point p2 
)

Definition at line 74 of file X11Buffer.mm.

Member Function Documentation

◆ Execute()

void ROOT::MacOSX::X11::DrawLine::Execute ( ) const
virtual

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

Definition at line 82 of file X11Buffer.mm.

◆ IsGraphicsCommand()

bool ROOT::MacOSX::X11::DrawLine::IsGraphicsCommand ( ) const
inlinevirtual

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

Definition at line 76 of file X11Buffer.h.

Member Data Documentation

◆ fP1

const Point ROOT::MacOSX::X11::DrawLine::fP1
private

Definition at line 70 of file X11Buffer.h.

◆ fP2

const Point ROOT::MacOSX::X11::DrawLine::fP2
private

Definition at line 71 of file X11Buffer.h.

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