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

Definition at line 86 of file X11Buffer.h.

Public Member Functions

 DrawSegments (Drawable_t wid, const GCValues_t &gc, const Segment_t *segments, Int_t nSegments)
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

std::vector< Segment_tfSegments

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::DrawSegments:

Constructor & Destructor Documentation

◆ DrawSegments()

ROOT::MacOSX::X11::DrawSegments::DrawSegments ( Drawable_t  wid,
const GCValues_t gc,
const Segment_t segments,
Int_t  nSegments 

Definition at line 91 of file X11Buffer.mm.

Member Function Documentation

◆ Execute()

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

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

Definition at line 102 of file X11Buffer.mm.

◆ IsGraphicsCommand()

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

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

Definition at line 93 of file X11Buffer.h.

Member Data Documentation

◆ fSegments

std::vector<Segment_t> ROOT::MacOSX::X11::DrawSegments::fSegments

Definition at line 88 of file X11Buffer.h.

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