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

Definition at line 241 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

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

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

◆ ~CommandBuffer()

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

Definition at line 334 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 371 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 388 of file X11Buffer.mm.

◆ AddDeletePixmap()

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

Definition at line 490 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 502 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 341 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 514 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 442 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 355 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 408 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 460 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 424 of file X11Buffer.mm.

◆ AddUpdateWindow()

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

Definition at line 476 of file X11Buffer.mm.

◆ BufferSize()

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

Definition at line 277 of file X11Buffer.h.

◆ BuildClipRegion()

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

Definition at line 882 of file X11Buffer.mm.

◆ ClearCommands()

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

Definition at line 686 of file X11Buffer.mm.

◆ ClearXOROperations()

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

Definition at line 695 of file X11Buffer.mm.

◆ ClipOverlaps()

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

Definition at line 725 of file X11Buffer.mm.

◆ Flush()

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

Definition at line 526 of file X11Buffer.mm.

◆ FlushXOROps()

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

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

◆ RemoveOperationsForDrawable()

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

Definition at line 644 of file X11Buffer.mm.

◆ RemoveXORGraphicsOperationsForWindow()

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

Definition at line 675 of file X11Buffer.mm.

Member Data Documentation

◆ fClippedRegion

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

Definition at line 307 of file X11Buffer.h.

◆ fCommands

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

Definition at line 246 of file X11Buffer.h.

◆ fGrid

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

Definition at line 310 of file X11Buffer.h.

◆ fRectsToClip

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

Definition at line 306 of file X11Buffer.h.

◆ fViewBranch

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

Definition at line 247 of file X11Buffer.h.

◆ fXBounds

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

Definition at line 308 of file X11Buffer.h.

◆ fXorOps

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

Definition at line 249 of file X11Buffer.h.

◆ fYBounds

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

Definition at line 309 of file X11Buffer.h.

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