File: local-render.i

package info (click to toggle)
libsbml 5.10.0+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 141,800 kB
  • ctags: 98,793
  • sloc: cpp: 804,405; xml: 206,907; ansic: 66,144; cs: 52,916; java: 25,093; python: 23,449; sh: 9,847; perl: 8,414; makefile: 7,580; ruby: 4,760; csh: 3
file content (99 lines) | stat: -rw-r--r-- 2,936 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**
 * Filename    : local-render.i
 * Description : SBML Render include file for bindings to downcast elements
 *
 * Contributor(s):
 */

#ifdef USE_RENDER

SBMLCONSTRUCTOR_EXCEPTION(ColorDefinition)
SBMLCONSTRUCTOR_EXCEPTION(Ellipse)
SBMLCONSTRUCTOR_EXCEPTION(GlobalRenderInformation)
SBMLCONSTRUCTOR_EXCEPTION(GlobalStyle)
SBMLCONSTRUCTOR_EXCEPTION(Group)
SBMLCONSTRUCTOR_EXCEPTION(RenderGroup)
SBMLCONSTRUCTOR_EXCEPTION(GradientDefinition)
SBMLCONSTRUCTOR_EXCEPTION(GradientStop)
SBMLCONSTRUCTOR_EXCEPTION(Image)
SBMLCONSTRUCTOR_EXCEPTION(LineEnding)
SBMLCONSTRUCTOR_EXCEPTION(LinearGradient)
SBMLCONSTRUCTOR_EXCEPTION(LocalRenderInformation)
SBMLCONSTRUCTOR_EXCEPTION(LocalStyle)
SBMLCONSTRUCTOR_EXCEPTION(Polygon)
SBMLCONSTRUCTOR_EXCEPTION(RadialGradient)
SBMLCONSTRUCTOR_EXCEPTION(Rectangle)
SBMLCONSTRUCTOR_EXCEPTION(RenderCubicBezier)
SBMLCONSTRUCTOR_EXCEPTION(RenderCurve)
SBMLCONSTRUCTOR_EXCEPTION(RenderPoint)
SBMLCONSTRUCTOR_EXCEPTION(Text)
SBMLCONSTRUCTOR_EXCEPTION(RenderPkgNamespaces)

SBMLCONSTRUCTOR_EXCEPTION(ListOfGlobalRenderInformation)
SBMLCONSTRUCTOR_EXCEPTION(ListOfLocalStyles)
SBMLCONSTRUCTOR_EXCEPTION(ListOfGlobalStyles)
SBMLCONSTRUCTOR_EXCEPTION(ListOfGradientDefinitions)
SBMLCONSTRUCTOR_EXCEPTION(ListOfColorDefinitions)
SBMLCONSTRUCTOR_EXCEPTION(ListOfLineEndings)
SBMLCONSTRUCTOR_EXCEPTION(ListOfCurveElements)
SBMLCONSTRUCTOR_EXCEPTION(ListOfLocalRenderInformation)
SBMLCONSTRUCTOR_EXCEPTION(ListOfDrawables)
SBMLCONSTRUCTOR_EXCEPTION(ListOfGradientStops)
SBMLCONSTRUCTOR_EXCEPTION(Polygon)
SBMLCONSTRUCTOR_EXCEPTION(RadialGradient)


/**
 * Convert GradientBase objects into the most specific type possible.
 */
%typemap(out) GradientBase*
{
  $result = SWIG_NewPointerObj($1, GetDowncastSwigTypeForPackage($1, "render"), $owner | %newpointer_flags);
}

/**
 * Convert GraphicalPrimitive1D objects into the most specific type possible.
 */
%typemap(out) GraphicalPrimitive1D*
{
  $result = SWIG_NewPointerObj($1, GetDowncastSwigTypeForPackage($1, "render"), $owner | %newpointer_flags);
}

/**
 * Convert GraphicalPrimitive2D objects into the most specific type possible.
 */
%typemap(out) GraphicalPrimitive2D*
{
  $result = SWIG_NewPointerObj($1, GetDowncastSwigTypeForPackage($1, "render"), $owner | %newpointer_flags);
}


/**
 * Convert RenderInformationBase objects into the most specific type possible.
 */
%typemap(out) RenderInformationBase*
{
  $result = SWIG_NewPointerObj($1, GetDowncastSwigTypeForPackage($1, "render"), $owner | %newpointer_flags);
}


/**
 * Convert Style objects into the most specific type possible.
 */
%typemap(out) Style*
{
  $result = SWIG_NewPointerObj($1, GetDowncastSwigTypeForPackage($1, "render"), $owner | %newpointer_flags);
}


/**
 * Convert RenderPoint objects into the most specific type possible.
 */
%typemap(out) RenderPoint*
{
  $result = SWIG_NewPointerObj($1, GetDowncastSwigTypeForPackage($1, "render"), $owner | %newpointer_flags);
}


#endif