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

Definition at line 162 of file X11Buffer.h.

Public Member Functions

 FillPolygon (Drawable_t wid, const GCValues_t &gc, const Point_t *points, Int_t nPoints)
 
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< Point_tfPolygon
 

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

Constructor & Destructor Documentation

◆ FillPolygon()

ROOT::MacOSX::X11::FillPolygon::FillPolygon ( Drawable_t  wid,
const GCValues_t gc,
const Point_t points,
Int_t  nPoints 
)

Definition at line 192 of file X11Buffer.mm.

Member Function Documentation

◆ Execute()

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

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

Definition at line 203 of file X11Buffer.mm.

◆ IsGraphicsCommand()

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

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

Definition at line 169 of file X11Buffer.h.

Member Data Documentation

◆ fPolygon

std::vector<Point_t> ROOT::MacOSX::X11::FillPolygon::fPolygon
private

Definition at line 164 of file X11Buffer.h.

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