ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
graf2d
quartz
inc
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
Style_t
short Style_t
Definition:
RtypesCore.h:76
Rtypes.h
Size_t
float Size_t
Definition:
RtypesCore.h:83
TPoint.h
TPoint
Definition:
TPoint.h:33
ROOT::Quartz::DrawPolyMarker
void DrawPolyMarker(CGContextRef ctx, const std::vector< TPoint > &marker, Size_t markerSize, Style_t markerStyle)
Definition:
QuartzMarker.mm:554