ROOT  6.06/09
Reference Guide
QuartzMarker.h
Go to the documentation of this file.
1 // @(#)root/graf2d:$Id$
2 // Author: Timur Pocheptsov, 14/8/2011
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_QuartzMarker
13 #define ROOT_QuartzMarker
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // QuartzMarkers //
18 // //
19 // Aux. functions to draw poly-markers. //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 #include <vector>
24 
25 #include <Cocoa/Cocoa.h>
26 
27 #ifndef ROOT_Rtypes
28 #include "Rtypes.h"
29 #endif
30 
31 #ifndef ROOT_TPoint
32 #include "TPoint.h"
33 #endif
34 
35 namespace ROOT {
36 namespace Quartz {
37 
38 void DrawPolyMarker(CGContextRef ctx, const std::vector<TPoint> &marker,
39  Size_t markerSize, Style_t markerStyle);
40 void DrawPolyMarker(CGContextRef ctx, unsigned nPoints, const TPoint *marker,
41  Size_t markerSize, Style_t markerStyle);
42 
43 }
44 }
45 
46 #endif
short Style_t
Definition: RtypesCore.h:76
Namespace for new ROOT classes and functions.
Definition: ROOT.py:1
float Size_t
Definition: RtypesCore.h:83
Definition: TPoint.h:33
void DrawPolyMarker(CGContextRef ctx, const std::vector< TPoint > &marker, Size_t markerSize, Style_t markerStyle)