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

Definition at line 72 of file X11Buffer.h.

Public Member Functions

 DrawLine (Drawable_t wid, const GCValues_t &gc, const Point &p1, const Point &p2)
virtual void Execute (CGContextRef) const
void Execute () const
virtual bool HasOperand (Drawable_t drawable) const
bool IsGraphicsCommand () const
void setView (NSView *v)

Protected Attributes

const GCValues_t fGC
const Drawable_t fID
NSViewview = nil

Private Attributes

const Point fP1
const Point fP2

#include <X11Buffer.h>

Inheritance diagram for ROOT::MacOSX::X11::DrawLine:
ROOT::MacOSX::X11::Command

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 75 of file X11Buffer.mm.

Member Function Documentation

◆ Execute() [1/2]

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

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

Definition at line 58 of file X11Buffer.mm.

◆ Execute() [2/2]

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

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

Definition at line 83 of file X11Buffer.mm.

◆ HasOperand()

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

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

Definition at line 63 of file X11Buffer.mm.

◆ IsGraphicsCommand()

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

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

Definition at line 80 of file X11Buffer.h.

◆ setView()

void ROOT::MacOSX::X11::Command::setView ( NSView * v)
inlineinherited

Definition at line 63 of file X11Buffer.h.

Member Data Documentation

◆ fGC

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

Definition at line 50 of file X11Buffer.h.

◆ fID

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

Definition at line 49 of file X11Buffer.h.

◆ fP1

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

Definition at line 74 of file X11Buffer.h.

◆ fP2

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

Definition at line 75 of file X11Buffer.h.

◆ view

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

Definition at line 51 of file X11Buffer.h.


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