Logo ROOT  
Reference Guide
QuartzPixmap Class Reference

Definition at line 31 of file QuartzPixmap.h.

Instance Methods

(void- addPixel:
 
(void- copy:area:withMask:clipOrigin:toPoint:
 
(CGImageRef- createImageFromPixmap
 
(CGImageRef- createImageFromPixmap:
 
(unsigned char *) - fData
 
(unsigned) - fHeight
 
(BOOL) - fIsOpenGLWidget
 
(BOOL) - fIsPixmap
 
(CGFloat) - fScaleFactor
 
(unsigned) - fWidth
 
(id- initWithW:H:scaleFactor:
 
(void- putPixel:X:Y:
 
(unsigned char *) - readColorBits:
 
(BOOL) - resizeW:H:scaleFactor:
 
- Instance Methods inherited from <X11Drawable>
(void- copy:area:withMask:clipOrigin:toPoint:
 
(unsigned) - fHeight
 
(BOOL) - fIsOpenGLWidget
 
(BOOL) - fIsPixmap
 
(CGFloat) - fScaleFactor
 
(unsigned) - fWidth
 
(int- fX
 
(int- fY
 
(unsigned char *) - readColorBits:
 

Properties

CGContextRef fContext
 
unsigned fID
 
- Properties inherited from <X11Drawable>
CGContextRef fContext
 
unsigned fID
 

Private Attributes

ROOT::MacOSX::Util::CFScopeGuard< CGContextReffContext
 
std::vector< unsigned char > fData
 
unsigned fHeight
 
CGFloat fScaleFactor
 
unsigned fWidth
 

#import <QuartzPixmap.h>

Inheritance diagram for QuartzPixmap:
[legend]

Method Documentation

◆ addPixel:

- (void) addPixel: (const unsigned char *)  rgb

Definition at line 1 of file QuartzPixmap.mm.

◆ copy:area:withMask:clipOrigin:toPoint:

- (void) copy: (NSObject<X11Drawable> *)  src
area: (ROOT::MacOSX::X11::Rectangle area
withMask: (QuartzImage *)  mask
clipOrigin: (ROOT::MacOSX::X11::Point origin
toPoint: (ROOT::MacOSX::X11::Point dstPoint 

Reimplemented from <X11Drawable>.

Definition at line 1 of file QuartzPixmap.mm.

◆ createImageFromPixmap

- (CGImageRef) createImageFromPixmap

Definition at line 1 of file QuartzPixmap.mm.

◆ createImageFromPixmap:

- (CGImageRef) createImageFromPixmap: (ROOT::MacOSX::X11::Rectangle cropArea

Definition at line 1 of file QuartzPixmap.mm.

◆ fData

- (unsigned char *) fData

◆ fHeight

- (unsigned) fHeight

Reimplemented from <X11Drawable>.

◆ fIsOpenGLWidget

- (BOOL) fIsOpenGLWidget

Reimplemented from <X11Drawable>.

Definition at line 1 of file QuartzPixmap.mm.

◆ fIsPixmap

- (BOOL) fIsPixmap

Reimplemented from <X11Drawable>.

Definition at line 1 of file QuartzPixmap.mm.

◆ fScaleFactor

- (CGFloat) fScaleFactor

Reimplemented from <X11Drawable>.

◆ fWidth

- (unsigned) fWidth

Reimplemented from <X11Drawable>.

◆ initWithW:H:scaleFactor:

- (id) initWithW: (unsigned)  width
H: (unsigned)  height
scaleFactor: (CGFloat)  scaleFactor 

Definition at line 1 of file QuartzPixmap.mm.

◆ putPixel:X:Y:

- (void) putPixel: (const unsigned char *)  data
X: (unsigned)  x
Y: (unsigned)  y 

Definition at line 1 of file QuartzPixmap.mm.

◆ readColorBits:

- (unsigned char *) readColorBits: (ROOT::MacOSX::X11::Rectangle area

Reimplemented from <X11Drawable>.

Definition at line 1 of file QuartzPixmap.mm.

◆ resizeW:H:scaleFactor:

- (BOOL) resizeW: (unsigned)  width
H: (unsigned)  height
scaleFactor: (CGFloat)  scaleFactor 

Definition at line 1 of file QuartzPixmap.mm.

Member Data Documentation

◆ fContext

- (CGContextRef) fContext
private

Definition at line 41 of file QuartzPixmap.h.

◆ fData

- (unsigned char *) fData
private

Definition at line 40 of file QuartzPixmap.h.

◆ fHeight

- (unsigned) fHeight
private

Definition at line 38 of file QuartzPixmap.h.

◆ fScaleFactor

- (CGFloat) fScaleFactor
private

Definition at line 43 of file QuartzPixmap.h.

◆ fWidth

- (unsigned) fWidth
private

Definition at line 37 of file QuartzPixmap.h.

Property Documentation

◆ fContext

- (CGContextRef) fContext
readnonatomicassign

Definition at line 60 of file QuartzPixmap.h.

◆ fID

- (unsigned) fID
readwritenonatomicassign

Definition at line 34 of file QuartzPixmap.h.

Collaboration diagram for QuartzPixmap:
[legend]

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