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

Definition at line 226 of file X11Buffer.h.

Public Member Functions

 DrawLineXor (Window_t windowID, const Point &p1, const Point &p2)
 
Point end () const
 
void Execute () const
 
void Execute (CGContextRef ctx) const
 
Point start () 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 bool HasOperand (Drawable_t drawable) const
 
virtual bool IsGraphicsCommand () const
 
void setView (NSView *v)
 

Private Attributes

Point fP1
 
Point fP2
 

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::DrawLineXor:
[legend]

Constructor & Destructor Documentation

◆ DrawLineXor()

ROOT::MacOSX::X11::DrawLineXor::DrawLineXor ( Window_t  windowID,
const Point p1,
const Point p2 
)

Definition at line 297 of file X11Buffer.mm.

Member Function Documentation

◆ end()

Point ROOT::MacOSX::X11::DrawLineXor::end ( ) const
inline

Definition at line 238 of file X11Buffer.h.

◆ Execute() [1/2]

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

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

Definition at line 305 of file X11Buffer.mm.

◆ Execute() [2/2]

void ROOT::MacOSX::X11::DrawLineXor::Execute ( CGContextRef  ctx) const
virtual

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

Definition at line 311 of file X11Buffer.mm.

◆ start()

Point ROOT::MacOSX::X11::DrawLineXor::start ( ) const
inline

Definition at line 237 of file X11Buffer.h.

Member Data Documentation

◆ fP1

Point ROOT::MacOSX::X11::DrawLineXor::fP1
private

Definition at line 228 of file X11Buffer.h.

◆ fP2

Point ROOT::MacOSX::X11::DrawLineXor::fP2
private

Definition at line 229 of file X11Buffer.h.

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