Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / GDI.xs
1 /////////////////////////////////////////////////////////////////////////////
2 // Name:        GDI.xs
3 // Purpose:     XS for various GDI objects
4 // Author:      Mattia Barbon
5 // Modified by:
6 // Created:     29/10/2000
7 // RCS-ID:      $Id: GDI.xs 2626 2009-10-18 22:48:17Z mbarbon $
8 // Copyright:   (c) 2000-2003, 2005-2009 Mattia Barbon
9 // Licence:     This program is free software; you can redistribute it and/or
10 //              modify it under the same terms as Perl itself
11 /////////////////////////////////////////////////////////////////////////////
12
13 #undef bool
14 #define PERL_NO_GET_CONTEXT
15
16 #include "cpp/wxapi.h"
17
18 #undef THIS
19
20 WXPLI_BOOT_ONCE(Wx_GDI);
21 #define boot_Wx_GDI wxPli_boot_Wx_GDI
22
23 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
24 typedef int wxBrushStyle;
25 typedef int wxPenStyle;
26 typedef int wxPenJoin;
27 typedef int wxPenCap;
28 typedef int wxRasterOperationMode;
29 typedef int wxMappingMode;
30 typedef int wxPolygonFillMode;
31 typedef int wxFloodFillStyle;
32 #endif
33 #if WXPERL_W_VERSION_LT( 2, 9, 1 )
34 typedef int wxImageResizeQuality;
35 #endif
36
37 MODULE=Wx_GDI
38
39 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Animation.xsp |
40 INCLUDE: XS/Colour.xs
41 INCLUDE: XS/ColourDatabase.xs
42 INCLUDE: XS/Font.xs
43 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ImageList.xs |
44 INCLUDE: XS/Bitmap.xs
45 INCLUDE: XS/Icon.xs
46 INCLUDE: XS/Cursor.xs
47 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DC.xs |
48 INCLUDE: XS/Pen.xs
49 INCLUDE: XS/Brush.xs
50 INCLUDE: XS/Image.xs
51 INCLUDE: XS/Palette.xs
52
53 INCLUDE: XS/GraphicsContext.xs
54 INCLUDE: XS/GraphicsPath.xs
55 INCLUDE: XS/GraphicsMatrix.xs
56 INCLUDE: XS/GraphicsObject.xs
57 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/GraphicsRenderer.xsp |
58
59 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SVGFileDC.xsp |
60
61 MODULE=Wx PACKAGE=Wx PREFIX=wx
62
63 wxRect*
64 wxGetClientDisplayRect()
65   CODE:
66     RETVAL = new wxRect( wxGetClientDisplayRect() );
67   OUTPUT:
68     RETVAL
69
70 bool
71 wxColourDisplay()
72   CODE:
73     RETVAL = wxColourDisplay();
74   OUTPUT:
75     RETVAL
76
77 int
78 wxDisplayDepth()
79   CODE:
80     RETVAL = wxDisplayDepth();
81   OUTPUT:
82     RETVAL
83
84 wxSize*
85 wxGetDisplaySizeMM()
86   CODE:
87     RETVAL = new wxSize( wxGetDisplaySizeMM() );
88   OUTPUT:
89     RETVAL
90
91 wxSize*
92 wxGetDisplaySize()
93   CODE:
94     RETVAL = new wxSize( wxGetDisplaySize() );
95   OUTPUT:
96     RETVAL
97
98 MODULE=Wx_GDI