Logo ROOT  
Reference Guide
ROOT::MacOSX::X11::CommandBuffer Class Reference

Definition at line 234 of file X11Buffer.h.

Classes

struct  WidgetRect
 

Public Types

typedef std::vector< Command * >::size_type size_type
 

Public Member Functions

 CommandBuffer ()
 
 ~CommandBuffer ()
 
void AddClearArea (Window_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h)
 
void AddCopyArea (Drawable_t src, Drawable_t dst, const GCValues_t &gc, Int_t srcX, Int_t srcY, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY)
 
void AddDeletePixmap (Pixmap_t pixmap)
 
void AddDrawBoxXor (Window_t windowID, Int_t x1, Int_t y1, Int_t x2, Int_t y2)
 
void AddDrawLine (Drawable_t wid, const GCValues_t &gc, Int_t x1, Int_t y1, Int_t x2, Int_t y2)
 
void AddDrawLineXor (Window_t windowID, Int_t x1, Int_t y1, Int_t x2, Int_t y2)
 
void AddDrawRectangle (Drawable_t wid, const GCValues_t &gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
 
void AddDrawSegments (Drawable_t wid, const GCValues_t &gc, const Segment_t *segments, Int_t nSegments)
 
void AddDrawString (Drawable_t wid, const GCValues_t &gc, Int_t x, Int_t y, const char *text, Int_t len)
 
void AddFillPolygon (Drawable_t wid, const GCValues_t &gc, const Point_t *polygon, Int_t nPoints)
 
void AddFillRectangle (Drawable_t wid, const GCValues_t &gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
 
void AddUpdateWindow (QuartzView *view)
 
size_type BufferSize () const
 
void Flush (Details::CocoaPrivate *impl)
 
void FlushXOROps (Details::CocoaPrivate *impl)
 
void RemoveGraphicsOperationsForWindow (Window_t wid)
 
void RemoveOperationsForDrawable (Drawable_t wid)
 
void RemoveXORGraphicsOperationsForWindow (Window_t wid)
 

Private Member Functions

 CommandBuffer (const CommandBuffer &rhs)
 
void BuildClipRegion (const WidgetRect &rect)
 
void ClearCommands ()
 
void ClearXOROperations ()
 
void ClipOverlaps (QuartzView *view)
 
CommandBufferoperator= (const CommandBuffer &rhs)
 

Private Attributes

std::vector< CGRect > fClippedRegion
 
std::vector< Command * > fCommands
 
std::vector< bool > fGrid
 
std::vector< WidgetRectfRectsToClip
 
std::vector< QuartzView * > fViewBranch
 
std::vector< int > fXBounds
 
std::vector< Command * > fXorOps
 
std::vector< int > fYBounds
 

#include <X11Buffer.h>

Member Typedef Documentation

◆ size_type

typedef std::vector<Command*>::size_type ROOT::MacOSX::X11::CommandBuffer::size_type

Definition at line 244 of file X11Buffer.h.

Constructor & Destructor Documentation

◆ CommandBuffer() [1/2]

ROOT::MacOSX::X11::CommandBuffer::CommandBuffer ( const CommandBuffer rhs)
private

◆ CommandBuffer() [2/2]

ROOT::MacOSX::X11::CommandBuffer::CommandBuffer ( )

Definition at line 322 of file X11Buffer.mm.

◆ ~CommandBuffer()

ROOT::MacOSX::X11::CommandBuffer::~CommandBuffer ( )

Definition at line 327 of file X11Buffer.mm.

Member Function Documentation

◆ AddClearArea()

void ROOT::MacOSX::X11::CommandBuffer::AddClearArea ( Window_t  wid,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)

Definition at line 364 of file X11Buffer.mm.

◆ AddCopyArea()

void ROOT::MacOSX::X11::CommandBuffer::AddCopyArea ( Drawable_t  src,
Drawable_t  dst,
const GCValues_t gc,
Int_t  srcX,
Int_t  srcY,
UInt_t  width,
UInt_t  height,
Int_t  dstX,
Int_t  dstY 
)

Definition at line 381 of file X11Buffer.mm.

◆ AddDeletePixmap()

void ROOT::MacOSX::X11::CommandBuffer::AddDeletePixmap ( Pixmap_t  pixmap)

Definition at line 483 of file X11Buffer.mm.

◆ AddDrawBoxXor()

void ROOT::MacOSX::X11::CommandBuffer::AddDrawBoxXor ( Window_t  windowID,
Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
)

Definition at line 495 of file X11Buffer.mm.

◆ AddDrawLine()

void ROOT::MacOSX::X11::CommandBuffer::AddDrawLine ( Drawable_t  wid,
const GCValues_t gc,
Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
)

Definition at line 334 of file X11Buffer.mm.

◆ AddDrawLineXor()

void ROOT::MacOSX::X11::CommandBuffer::AddDrawLineXor ( Window_t  windowID,
Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
)

Definition at line 507 of file X11Buffer.mm.

◆ AddDrawRectangle()

void ROOT::MacOSX::X11::CommandBuffer::AddDrawRectangle ( Drawable_t  wid,
const GCValues_t gc,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)

Definition at line 435 of file X11Buffer.mm.

◆ AddDrawSegments()

void ROOT::MacOSX::X11::CommandBuffer::AddDrawSegments ( Drawable_t  wid,
const GCValues_t gc,
const Segment_t segments,
Int_t  nSegments 
)

Definition at line 348 of file X11Buffer.mm.

◆ AddDrawString()

void ROOT::MacOSX::X11::CommandBuffer::AddDrawString ( Drawable_t  wid,
const GCValues_t gc,
Int_t  x,
Int_t  y,
const char *  text,
Int_t  len 
)

Definition at line 401 of file X11Buffer.mm.

◆ AddFillPolygon()

void ROOT::MacOSX::X11::CommandBuffer::AddFillPolygon ( Drawable_t  wid,
const GCValues_t gc,
const Point_t polygon,
Int_t  nPoints 
)

Definition at line 453 of file X11Buffer.mm.

◆ AddFillRectangle()

void ROOT::MacOSX::X11::CommandBuffer::AddFillRectangle ( Drawable_t  wid,
const GCValues_t gc,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)

Definition at line 417 of file X11Buffer.mm.

◆ AddUpdateWindow()

void ROOT::MacOSX::X11::CommandBuffer::AddUpdateWindow ( QuartzView view)

Definition at line 469 of file X11Buffer.mm.

◆ BufferSize()

size_type ROOT::MacOSX::X11::CommandBuffer::BufferSize ( ) const
inline

Definition at line 270 of file X11Buffer.h.

◆ BuildClipRegion()

void ROOT::MacOSX::X11::CommandBuffer::BuildClipRegion ( const WidgetRect rect)
private

Definition at line 894 of file X11Buffer.mm.

◆ ClearCommands()

void ROOT::MacOSX::X11::CommandBuffer::ClearCommands ( )
private

Definition at line 698 of file X11Buffer.mm.

◆ ClearXOROperations()

void ROOT::MacOSX::X11::CommandBuffer::ClearXOROperations ( )
private

Definition at line 707 of file X11Buffer.mm.

◆ ClipOverlaps()

void ROOT::MacOSX::X11::CommandBuffer::ClipOverlaps ( QuartzView view)
private

Definition at line 737 of file X11Buffer.mm.

◆ Flush()

void ROOT::MacOSX::X11::CommandBuffer::Flush ( Details::CocoaPrivate impl)

Definition at line 519 of file X11Buffer.mm.

◆ FlushXOROps()

void ROOT::MacOSX::X11::CommandBuffer::FlushXOROps ( Details::CocoaPrivate impl)

Definition at line 601 of file X11Buffer.mm.

◆ operator=()

CommandBuffer & ROOT::MacOSX::X11::CommandBuffer::operator= ( const CommandBuffer rhs)
private

◆ RemoveGraphicsOperationsForWindow()

void ROOT::MacOSX::X11::CommandBuffer::RemoveGraphicsOperationsForWindow ( Window_t  wid)

Definition at line 674 of file X11Buffer.mm.

◆ RemoveOperationsForDrawable()

void ROOT::MacOSX::X11::CommandBuffer::RemoveOperationsForDrawable ( Drawable_t  wid)

Definition at line 656 of file X11Buffer.mm.

◆ RemoveXORGraphicsOperationsForWindow()

void ROOT::MacOSX::X11::CommandBuffer::RemoveXORGraphicsOperationsForWindow ( Window_t  wid)

Definition at line 687 of file X11Buffer.mm.

Member Data Documentation

◆ fClippedRegion

std::vector<CGRect> ROOT::MacOSX::X11::CommandBuffer::fClippedRegion
private

Definition at line 301 of file X11Buffer.h.

◆ fCommands

std::vector<Command *> ROOT::MacOSX::X11::CommandBuffer::fCommands
private

Definition at line 239 of file X11Buffer.h.

◆ fGrid

std::vector<bool> ROOT::MacOSX::X11::CommandBuffer::fGrid
private

Definition at line 304 of file X11Buffer.h.

◆ fRectsToClip

std::vector<WidgetRect> ROOT::MacOSX::X11::CommandBuffer::fRectsToClip
private

Definition at line 300 of file X11Buffer.h.

◆ fViewBranch

std::vector<QuartzView *> ROOT::MacOSX::X11::CommandBuffer::fViewBranch
private

Definition at line 240 of file X11Buffer.h.

◆ fXBounds

std::vector<int> ROOT::MacOSX::X11::CommandBuffer::fXBounds
private

Definition at line 302 of file X11Buffer.h.

◆ fXorOps

std::vector<Command *> ROOT::MacOSX::X11::CommandBuffer::fXorOps
private

Definition at line 242 of file X11Buffer.h.

◆ fYBounds

std::vector<int> ROOT::MacOSX::X11::CommandBuffer::fYBounds
private

Definition at line 303 of file X11Buffer.h.


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