Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
QuartzFillArea.h
Go to the documentation of this file.
1// @(#)root/graf2d:$Id$
2// Author: Olivier Couet, 23/01/2012
3
4/*************************************************************************
5 * Copyright (C) 1995-2011, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_QuartzFillArea
13#define ROOT_QuartzFillArea
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// QuartzFillArea //
18// //
19// Aux. functions to draw fill area. //
20// //
21//////////////////////////////////////////////////////////////////////////
22
23#include <Cocoa/Cocoa.h>
24
25#include "TAttFill.h"
26#include "Rtypes.h"
27
28#include "TPoint.h"
29
30class TColorGradient;
31
32namespace ROOT {
33namespace Quartz {
34
36Bool_t SetFillAreaParameters(CGContextRef ctx, unsigned *patternIndex);
37
38void DrawBox(CGContextRef ctx, Int_t x1, Int_t y1, Int_t x2, Int_t y2, bool hollow);
39void DrawFillArea(CGContextRef ctx, Int_t n, TPoint *xy, Bool_t drawShadow);
40
41void DrawPolygonWithGradientFill(CGContextRef ctx, const TColorGradient *extendedColor, const CGSize &sizeOfDrawable,
42 Int_t nPoints, const TPoint *xy, Bool_t drawShadow);
43
44}
45}
46
47#endif
bool Bool_t
Definition RtypesCore.h:63
int Int_t
Definition RtypesCore.h:45
short Color_t
Definition RtypesCore.h:85
Option_t Option_t DrawFillArea
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint xy
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t SetFillColor
Option_t Option_t TPoint TPoint const char y1
TColorGradient extends basic TColor.
const Int_t n
Definition legend1.C:16
void DrawBox(CGContextRef ctx, Int_t x1, Int_t y1, Int_t x2, Int_t y2, bool hollow)
Bool_t SetFillAreaParameters(CGContextRef ctx, unsigned *patternIndex)
void DrawPolygonWithGradientFill(CGContextRef ctx, const TColorGradient *extendedColor, const CGSize &sizeOfDrawable, Int_t nPoints, const TPoint *xy, Bool_t drawShadow)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...