Made new
[sdlgit/SDL_perl.git] / exp / SDL / Rect / lib / SDL / Rect.pm
CommitLineData
6e437027 1package SDL::Rect;
2use strict;
3
4
275f555f 5 use vars qw($VERSION @ISA);
6e437027 6 $VERSION = '0.01';
6e437027 7 require DynaLoader;
275f555f 8 @ISA = qw(DynaLoader);
9
6e437027 10
11
12
13
14#################### subroutine header begin ####################
15
16=head2 sample_function
17
18 Usage : How to use this function/method
19 Purpose : What it does
20 Returns : What it returns
21 Argument : What it wants to know
22 Throws : Exceptions and other anomolies
23 Comment : This is a sample subroutine header.
24 : It is polite to include more pod and fewer comments.
25
26See Also :
27
28=cut
29
30#################### subroutine header end ####################
31
275f555f 32sub new
33{
34 my $self = shift;
35 my ($x, $y, $w, $h) = @_;
36 $self = \SDL::Rect::NewRect($x, $y, $w, $h);
6e437027 37
275f555f 38 return $self;
39}
6e437027 40
41#################### main pod documentation begin ###################
42## Below is the stub of documentation for your module.
43## You better edit it!
44
45
46=head1 NAME
47
48SDL::Rect - Bindings to rect obj and its functions in the C SDL libs
49
50=head1 SYNOPSIS
51
52 use SDL::Rect;
53 blah blah blah
54
55
56=head1 DESCRIPTION
57
58Stub documentation for this module was created by ExtUtils::ModuleMaker.
59It looks like the author of the extension was negligent enough
60to leave the stub unedited.
61
62Blah blah blah.
63
64
65=head1 USAGE
66
67
68
69=head1 BUGS
70
71
72
73=head1 SUPPORT
74
75
76
77=head1 AUTHOR
78
79 Kartik Thakore
80 CPAN ID: KTHAKORE
81 none
82 KTHAKORE@CPAN.ORG
83 http://yapgh.blogspot.com/
84
85=head1 COPYRIGHT
86
87This program is free software; you can redistribute
88it and/or modify it under the same terms as Perl itself.
89
90The full text of the license can be found in the
91LICENSE file included with this module.
92
93
94=head1 SEE ALSO
95
96perl(1).
97
98=cut
99
100#################### main pod documentation end ###################
101
275f555f 102bootstrap SDL::Rect;
6e437027 1031;
104# The preceding line will help the module return a true value
105