-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGDI.xs
More file actions
99 lines (83 loc) · 2.42 KB
/
Copy pathGDI.xs
File metadata and controls
99 lines (83 loc) · 2.42 KB
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
/////////////////////////////////////////////////////////////////////////////
// Name: GDI.xs
// Purpose: XS for various GDI objects
// Author: Mattia Barbon
// Modified by:
// Created: 29/10/2000
// RCS-ID: $Id: GDI.xs 2935 2010-07-04 11:46:58Z mbarbon $
// Copyright: (c) 2000-2003, 2005-2010 Mattia Barbon
// Licence: This program is free software; you can redistribute it and/or
// modify it under the same terms as Perl itself
/////////////////////////////////////////////////////////////////////////////
#undef bool
#define PERL_NO_GET_CONTEXT
#include "cpp/wxapi.h"
#undef THIS
WXPLI_BOOT_ONCE(Wx_GDI);
#define boot_Wx_GDI wxPli_boot_Wx_GDI
#if WXPERL_W_VERSION_LT( 2, 9, 0 )
typedef int wxBrushStyle;
typedef int wxPenStyle;
typedef int wxPenJoin;
typedef int wxPenCap;
typedef int wxRasterOperationMode;
typedef int wxMappingMode;
typedef int wxPolygonFillMode;
typedef int wxFloodFillStyle;
#endif
#if WXPERL_W_VERSION_LT( 2, 9, 1 )
typedef int wxImageResizeQuality;
#endif
MODULE=Wx_GDI
INCLUDE_COMMAND: $^X -I./ -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Animation.xsp
INCLUDE: XS/Colour.xs
INCLUDE: XS/ColourDatabase.xs
INCLUDE: XS/Font.xs
INCLUDE_COMMAND: $^X -I./ -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ImageList.xsp
INCLUDE: XS/Bitmap.xs
INCLUDE: XS/Icon.xs
INCLUDE: XS/Cursor.xs
INCLUDE_COMMAND: $^X -I./ -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/DC.xsp
INCLUDE: XS/Overlay.xs
INCLUDE: XS/Pen.xs
INCLUDE_COMMAND: $^X -I./ -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Brush.xsp
INCLUDE: XS/Image.xs
INCLUDE: XS/Palette.xs
INCLUDE: XS/GraphicsContext.xs
INCLUDE: XS/GraphicsPath.xs
INCLUDE: XS/GraphicsMatrix.xs
INCLUDE: XS/GraphicsObject.xs
INCLUDE_COMMAND: $^X -I./ -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/GraphicsRenderer.xsp
INCLUDE_COMMAND: $^X -I./ -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/SVGFileDC.xsp
MODULE=Wx PACKAGE=Wx PREFIX=wx
wxRect*
wxGetClientDisplayRect()
CODE:
RETVAL = new wxRect( wxGetClientDisplayRect() );
OUTPUT:
RETVAL
bool
wxColourDisplay()
CODE:
RETVAL = wxColourDisplay();
OUTPUT:
RETVAL
int
wxDisplayDepth()
CODE:
RETVAL = wxDisplayDepth();
OUTPUT:
RETVAL
wxSize*
wxGetDisplaySizeMM()
CODE:
RETVAL = new wxSize( wxGetDisplaySizeMM() );
OUTPUT:
RETVAL
wxSize*
wxGetDisplaySize()
CODE:
RETVAL = new wxSize( wxGetDisplaySize() );
OUTPUT:
RETVAL
MODULE=Wx_GDI