Mercurial > projects > dstep
comparison dstep/applicationservices/coregraphics/CGLayer.d @ 12:9f0b49a2f64e
Added the ApplicationServices frameworks: ATS, ColorSync and CoreGraphics
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 14:00:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
11:07194b026fa4 | 12:9f0b49a2f64e |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Aug 1, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.applicationservices.coregraphics.CGLayer; | |
8 | |
9 import dstep.corefoundation.CFDictionary; | |
10 import dstep.applicationservices.coregraphics.CGBase; | |
11 import dstep.applicationservices.coregraphics.CGContext; | |
12 import dstep.applicationservices.coregraphics.CGGeometry; | |
13 | |
14 struct CGLayer; | |
15 | |
16 alias CGLayer* CGLayerRef; | |
17 | |
18 extern (C) | |
19 { | |
20 CGLayerRef CGLayerCreateWithContext (CGContextRef context, CGSize size, CFDictionaryRef auxiliaryInfo); | |
21 CGLayerRef CGLayerRetain (CGLayerRef layer); | |
22 void CGLayerRelease (CGLayerRef layer); | |
23 CGSize CGLayerGetSize (CGLayerRef layer); | |
24 CGContextRef CGLayerGetContext (CGLayerRef layer); | |
25 void CGContextDrawLayerInRect (CGContextRef context, CGRect rect, CGLayerRef layer); | |
26 void CGContextDrawLayerAtPoint (CGContextRef context, CGPoint point, CGLayerRef layer); | |
27 uint CGLayerGetTypeID (); | |
28 } |