13#ifndef ROOT_QuartzPixmap
14#define ROOT_QuartzPixmap
18#include <Cocoa/Cocoa.h>
40 std::vector<unsigned char>
fData;
46- (
id) initWithW : (
unsigned) width H : (
unsigned) height scaleFactor : (CGFloat) scaleFactor;
47- (BOOL) resizeW : (
unsigned) width H : (
unsigned) height scaleFactor : (CGFloat) scaleFactor;
54@property (nonatomic, assign)
unsigned fID;
57- (BOOL) fIsOpenGLWidget;
58- (CGFloat) fScaleFactor;
66 clipOrigin : (
ROOT::MacOSX::
X11::Point) origin toPoint : (
ROOT::MacOSX::
X11::Point) dstPoint;
68- (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
71- (
unsigned char *) fData;
74- (void) putPixel : (const
unsigned char *) data X : (
unsigned) x Y : (
unsigned) y;
76- (void) addPixel : (const
unsigned char *) rgb;
100- (
id) initWithW : (
unsigned) width H : (
unsigned) height data : (
unsigned char *) data;
101- (
id) initMaskWithW : (
unsigned) width H : (
unsigned) height bitmapMask : (
unsigned char *) mask;
102- (
id) initMaskWithW : (
unsigned) width H : (
unsigned) height;
107@property (nonatomic, readonly) BOOL fIsStippleMask;
111@property (nonatomic, assign)
unsigned fID;
114- (BOOL) fIsOpenGLWidget;
119- (
unsigned char *) readColorBits : (
ROOT::MacOSX::
X11::Rectangle) area;
130bool AdjustCropArea(
const Rectangle &srcRect, Rectangle &cropArea);
137 ULong_t backgroundPixel,
unsigned depth,
unsigned char *imageData);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char bitmap
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
ROOT::MacOSX::Util::CFScopeGuard< CGImageRef > fImage
std::vector< unsigned char > fImageData
std::vector< unsigned char > fData
ROOT::MacOSX::Util::CFScopeGuard< CGContextRef > fContext
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)
bool AdjustCropArea(const Rectangle &srcRect, Rectangle &cropArea)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.