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

Definition at line 237 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 ClearXOROperations ()
 
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 ClipOverlaps (QuartzView *view)
 
CommandBufferoperator= (const CommandBuffer &rhs)
 

Private Attributes

std::vector< CGRect > fClippedRegion
 
std::vector< Command * > fCommands
 
std::vector< boolfGrid
 
std::vector< WidgetRectfRectsToClip
 
std::vector< QuartzView * > fViewBranch
 
std::vector< intfXBounds
 
std::vector< Command * > fXorOps
 
std::vector< intfYBounds
 

#include <X11Buffer.h>

Member Typedef Documentation

◆ size_type

Definition at line 247 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 332 of file X11Buffer.mm.

◆ ~CommandBuffer()

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

Definition at line 337 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 374 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 391 of file X11Buffer.mm.

◆ AddDeletePixmap()

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

Definition at line 493 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 505 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 344 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 517 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 445 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 358 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 411 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 463 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 427 of file X11Buffer.mm.

◆ AddUpdateWindow()

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

Definition at line 479 of file X11Buffer.mm.

◆ BufferSize()

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

Definition at line 273 of file X11Buffer.h.

◆ BuildClipRegion()

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

Definition at line 912 of file X11Buffer.mm.

◆ ClearCommands()

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

Definition at line 716 of file X11Buffer.mm.

◆ ClearXOROperations()

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

Definition at line 725 of file X11Buffer.mm.

◆ ClipOverlaps()

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

Definition at line 755 of file X11Buffer.mm.

◆ Flush()

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

Definition at line 529 of file X11Buffer.mm.

◆ FlushXOROps()

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

Definition at line 611 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 692 of file X11Buffer.mm.

◆ RemoveOperationsForDrawable()

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

Definition at line 674 of file X11Buffer.mm.

◆ RemoveXORGraphicsOperationsForWindow()

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

Definition at line 705 of file X11Buffer.mm.

Member Data Documentation

◆ fClippedRegion

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

Definition at line 303 of file X11Buffer.h.

◆ fCommands

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

Definition at line 242 of file X11Buffer.h.

◆ fGrid

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

Definition at line 306 of file X11Buffer.h.

◆ fRectsToClip

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

Definition at line 302 of file X11Buffer.h.

◆ fViewBranch

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

Definition at line 243 of file X11Buffer.h.

◆ fXBounds

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

Definition at line 304 of file X11Buffer.h.

◆ fXorOps

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

Definition at line 245 of file X11Buffer.h.

◆ fYBounds

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

Definition at line 305 of file X11Buffer.h.


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