comparison dstep/applicationservices/coregraphics/CGShading.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.CGShading;
8
9 import dstep.corefoundation.CFBase;
10 import dstep.applicationservices.coregraphics.CGBase;
11 import dstep.applicationservices.coregraphics.CGColorSpace;
12 import dstep.applicationservices.coregraphics.CGFunction;
13 import dstep.applicationservices.coregraphics.CGGeometry;
14
15 struct CGShading;
16
17 alias CGShading* CGShadingRef;
18
19 extern (C)
20 {
21 uint CGShadingGetTypeID ();
22 CGShadingRef CGShadingCreateAxial (CGColorSpaceRef colorspace, CGPoint start, CGPoint end, CGFunctionRef function_, bool extendStart, bool extendEnd);
23 CGShadingRef CGShadingCreateRadial (CGColorSpaceRef colorspace, CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius, CGFunctionRef function_, bool extendStart, bool extendEnd);
24 CGShadingRef CGShadingRetain (CGShadingRef shading);
25 void CGShadingRelease (CGShadingRef shading);
26 }