Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
QuartzLine.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_QuartzLine
13#define ROOT_QuartzLine
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// QuartzLine //
18// //
19// Aux. functions to draw line. //
20// //
21//////////////////////////////////////////////////////////////////////////
22
23#include <Cocoa/Cocoa.h>
24
25#include "Rtypes.h"
26
27#include "TPoint.h"
28
29namespace ROOT {
30namespace Quartz {
31
33void SetLineStyle(CGContextRef ctx, Int_t lstyle);
35
36void DrawLine(CGContextRef ctx, Int_t x1, Int_t y1, Int_t x2, Int_t y2);
38
39}
40}
41
42#endif
static const double x2[5]
static const double x1[5]
int Int_t
Definition RtypesCore.h:45
bool Bool_t
Definition RtypesCore.h:63
short Color_t
Definition RtypesCore.h:92
include TDocParser_001 C image html pict1_TDocParser_001 png width
XPoint xy[kMAXMK]
Definition TGX11.cxx:123
const Int_t n
Definition legend1.C:16
void DrawPolyLine(CGContextRef ctx, Int_t n, TPoint *xy)
Bool_t SetLineColor(CGContextRef ctx, Color_t colorIndex)
Definition QuartzLine.mm:29
void DrawLine(CGContextRef ctx, Int_t x1, Int_t y1, Int_t x2, Int_t y2)
void SetLineWidth(CGContextRef ctx, Int_t width)
void SetLineStyle(CGContextRef ctx, Int_t lstyle)
Definition QuartzLine.mm:74
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...