Logo ROOT   6.12/07
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 #include "Rtypes.h"
28 
29 #include "TPoint.h"
30 
31 namespace ROOT {
32 namespace Quartz {
33 
34 void DrawPolyMarker(CGContextRef ctx, const std::vector<TPoint> &marker,
35  Size_t markerSize, Style_t markerStyle);
36 void DrawPolyMarker(CGContextRef ctx, unsigned nPoints, const TPoint *marker,
37  Size_t markerSize, Style_t markerStyle);
38 
39 }
40 }
41 
42 #endif
short Style_t
Definition: RtypesCore.h:76
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
float Size_t
Definition: RtypesCore.h:83
Definition: TPoint.h:31
void DrawPolyMarker(CGContextRef ctx, const std::vector< TPoint > &marker, Size_t markerSize, Style_t markerStyle)