Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
31namespace ROOT {
32namespace Quartz {
33
34void DrawPolyMarker(CGContextRef ctx, const std::vector<TPoint> &marker,
35 Size_t markerSize, Style_t markerStyle);
36void 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:89
float Size_t
Definition RtypesCore.h:96
Option_t Option_t TPoint DrawPolyMarker
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.