ROOT
Version v6.32
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
▼
graf2d
►
asimage
►
cocoa
►
fitsio
►
gpad
►
gpadv7
►
graf
►
gviz
►
postscript
▼
quartz
▼
inc
►
QuartzFillArea.h
►
QuartzLine.h
►
QuartzMarker.h
►
QuartzText.h
►
QuartzUtils.h
►
src
►
win32gdk
►
x11
►
x11ttf
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
QuartzUtils.h
Go to the documentation of this file.
1
// @(#)root/graf2d:$Id$
2
// Author: Timur Pocheptsov, 11/06/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_QuartzUtils
13
#define ROOT_QuartzUtils
14
15
#include <ApplicationServices/ApplicationServices.h>
16
17
#include "
CocoaUtils.h
"
18
19
namespace
ROOT
{
20
namespace
Quartz
{
21
22
//Scope guard class for CGContextRef.
23
class
CGStateGuard
{
24
public
:
25
explicit
CGStateGuard
(
MacOSX::Util::CFScopeGuard<CGContextRef>
&ctx);
26
explicit
CGStateGuard
(
CGContextRef
ctx);
27
~CGStateGuard
();
28
29
private
:
30
CGContextRef
fCtx
;
31
32
CGStateGuard
(
const
CGStateGuard
&
rhs
);
33
CGStateGuard
&
operator =
(
const
CGStateGuard
&
rhs
);
34
};
35
36
//Scope guard for AA flag (due to some reason it's not
37
//saved/restored as a part of a context state).
38
class
CGAAStateGuard
{
39
public
:
40
CGAAStateGuard
(
CGContextRef
ctx,
bool
enable
);
41
~CGAAStateGuard
();
42
43
private
:
44
CGContextRef
fCtx
;
45
bool
fEnable
;
46
47
CGAAStateGuard
(
const
CGAAStateGuard
&
rhs
);
48
CGAAStateGuard
&
operator =
(
const
CGAAStateGuard
&
rhs
);
49
50
};
51
52
}
53
}
54
55
#endif
CocoaUtils.h
CGContextRef
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
ROOT::MacOSX::Util::CFScopeGuard
Definition
CocoaUtils.h:268
ROOT::Quartz::CGAAStateGuard
Definition
QuartzUtils.h:38
ROOT::Quartz::CGAAStateGuard::operator=
CGAAStateGuard & operator=(const CGAAStateGuard &rhs)
ROOT::Quartz::CGAAStateGuard::CGAAStateGuard
CGAAStateGuard(const CGAAStateGuard &rhs)
ROOT::Quartz::CGAAStateGuard::fCtx
CGContextRef fCtx
Definition
QuartzUtils.h:44
ROOT::Quartz::CGAAStateGuard::CGAAStateGuard
CGAAStateGuard(CGContextRef ctx, bool enable)
Definition
QuartzUtils.mm:45
ROOT::Quartz::CGAAStateGuard::fEnable
bool fEnable
Definition
QuartzUtils.h:45
ROOT::Quartz::CGAAStateGuard::~CGAAStateGuard
~CGAAStateGuard()
Definition
QuartzUtils.mm:56
ROOT::Quartz::CGStateGuard
Definition
QuartzUtils.h:23
ROOT::Quartz::CGStateGuard::operator=
CGStateGuard & operator=(const CGStateGuard &rhs)
ROOT::Quartz::CGStateGuard::CGStateGuard
CGStateGuard(const CGStateGuard &rhs)
ROOT::Quartz::CGStateGuard::CGStateGuard
CGStateGuard(MacOSX::Util::CFScopeGuard< CGContextRef > &ctx)
Definition
QuartzUtils.mm:20
ROOT::Quartz::CGStateGuard::fCtx
CGContextRef fCtx
Definition
QuartzUtils.h:30
ROOT::Quartz::CGStateGuard::~CGStateGuard
~CGStateGuard()
Definition
QuartzUtils.mm:36
ROOT::Quartz
Definition
QuartzFillArea.h:33
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
graf2d
quartz
inc
QuartzUtils.h
ROOT v6-32 - Reference Guide Generated on Sun Mar 9 2025 03:56:39 (GVA Time) using Doxygen 1.10.0