1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: XS for various GDI objects
4 // Author: Mattia Barbon
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 /////////////////////////////////////////////////////////////////////////////
14 #define PERL_NO_GET_CONTEXT
16 #include "cpp/wxapi.h"
20 WXPLI_BOOT_ONCE(Wx_GDI);
21 #define boot_Wx_GDI wxPli_boot_Wx_GDI
23 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
24 typedef int wxBrushStyle;
25 typedef int wxPenStyle;
26 typedef int wxPenJoin;
28 typedef int wxRasterOperationMode;
29 typedef int wxMappingMode;
30 typedef int wxPolygonFillMode;
31 typedef int wxFloodFillStyle;
33 #if WXPERL_W_VERSION_LT( 2, 9, 1 )
34 typedef int wxImageResizeQuality;
39 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Animation.xsp |
41 INCLUDE: XS/ColourDatabase.xs
43 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ImageList.xs |
47 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DC.xs |
51 INCLUDE: XS/Palette.xs
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 |
59 INCLUDE: perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SVGFileDC.xsp |
61 MODULE=Wx PACKAGE=Wx PREFIX=wx
64 wxGetClientDisplayRect()
66 RETVAL = new wxRect( wxGetClientDisplayRect() );
73 RETVAL = wxColourDisplay();
80 RETVAL = wxDisplayDepth();
87 RETVAL = new wxSize( wxGetDisplaySizeMM() );
94 RETVAL = new wxSize( wxGetDisplaySize() );