13 #ifndef ROOT_QuartzPixmap 14 #define ROOT_QuartzPixmap 18 #include <Cocoa/Cocoa.h> 20 #ifndef ROOT_CocoaGuiTypes 23 #ifndef ROOT_CocoaUtils 26 #ifndef ROOT_X11Drawable 48 std::vector<unsigned char>
fData;
54 - (
id) initWithW : (
unsigned) width H : (
unsigned) height scaleFactor : (CGFloat) scaleFactor;
55 - (BOOL) resizeW : (
unsigned) width H : (
unsigned) height scaleFactor : (CGFloat) scaleFactor;
62 @property (nonatomic, assign)
unsigned fID;
67 @property (nonatomic, readonly) CGContextRef
fContext;
73 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
75 - (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
78 - (
unsigned char *)
fData;
81 - (
void) putPixel : (const
unsigned char *) data X : (
unsigned) x Y : (
unsigned) y;
83 - (
void) addPixel : (const
unsigned char *) rgb;
109 - (
id) initWithW : (
unsigned) width H : (
unsigned) height data : (
unsigned char *) data;
110 - (
id) initMaskWithW : (
unsigned) width H : (
unsigned) height bitmapMask : (
unsigned char *) mask;
111 - (
id) initMaskWithW : (
unsigned) width H : (
unsigned) height;
116 @property (nonatomic, readonly) BOOL fIsStippleMask;
117 - (CGImageRef) fImage;
120 @property (nonatomic, assign)
unsigned fID;
128 - (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
139 bool AdjustCropArea(
const Rectangle &srcRect, Rectangle &cropArea);
146 ULong_t backgroundPixel,
unsigned depth,
unsigned char *imageData);
std::vector< unsigned char > fData
ROOT::MacOSX::Util::CFScopeGuard< CGImageRef > fImage
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
void FillPixmapBuffer(const unsigned char *bitmap, unsigned width, unsigned height, ULong_t foregroundPixel, ULong_t backgroundPixel, unsigned depth, unsigned char *imageData)
CGImageRef CreateSubImage(QuartzImage *image, const Rectangle &area)
CGImageRef createImageFromPixmap()
ROOT::MacOSX::Util::CFScopeGuard< CGContextRef > fContext
bool AdjustCropArea(QuartzPixmap *srcImage, Rectangle &cropArea)
std::vector< unsigned char > fImageData
typedef void((*Func_t)())