12 #ifndef ROOT_QuartzUtils
13 #define ROOT_QuartzUtils
15 #include <ApplicationServices/ApplicationServices.h>
25 explicit CGStateGuard(MacOSX::Util::CFScopeGuard<CGContextRef> &ctx);
26 explicit CGStateGuard(CGContextRef ctx);
32 CGStateGuard(
const CGStateGuard &rhs);
33 CGStateGuard &operator = (
const CGStateGuard &rhs);
38 class CGAAStateGuard {
40 CGAAStateGuard(CGContextRef ctx,
bool enable);
47 CGAAStateGuard(
const CGAAStateGuard &rhs);
48 CGAAStateGuard &operator = (
const CGAAStateGuard &rhs);