line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package GooCanvas2; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
4003
|
use 5.006000; |
|
1
|
|
|
|
|
3
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
53
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
771
|
use Glib::Object::Introspection; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.06'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# customization ------------------------------------------------------- # |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
my %_NAME_CORRECTIONS = ( |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
my @_CLASS_STATIC_METHODS = qw/ |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
/; |
19
|
|
|
|
|
|
|
my @_FLATTEN_ARRAY_REF_RETURN_FOR = qw/ |
20
|
|
|
|
|
|
|
GooCanvas2::Canvas::get_items_at |
21
|
|
|
|
|
|
|
GooCanvas2::Canvas::get_items_in_area |
22
|
|
|
|
|
|
|
GooCanvas2::CanvasItem::get_items_at |
23
|
|
|
|
|
|
|
GooCanvas2::CanvasItem::class_list_child_properties |
24
|
|
|
|
|
|
|
GooCanvas2::CanvasItemModel::class_list_child_properties |
25
|
|
|
|
|
|
|
/; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# HANDLE SENTINAL BOOLEAN FOR |
28
|
|
|
|
|
|
|
# Unsicher bin ich mir bei GooCanvas2::CanvasItem::get_transform |
29
|
|
|
|
|
|
|
# GooCanvas2::CanvasItem::get_simple_transform ist an sich eine Funktion, die ein |
30
|
|
|
|
|
|
|
# bool'sches und weitere out-Argumente zurückgibt. Allerdings sind diese nicht NULL |
31
|
|
|
|
|
|
|
# wenn die Funktion unwahr zurückgibt (sd. bspw. undef, 0, 0, 1, 0). Daher lass ich es raus. |
32
|
|
|
|
|
|
|
# Das selbe gilt für die entsprechenden Funktionen in CanvasItem (get_transform |
33
|
|
|
|
|
|
|
# und get_simple_transform) |
34
|
|
|
|
|
|
|
my @_HANDLE_SENTINEL_BOOLEAN_FOR = qw/ |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
/; |
37
|
|
|
|
|
|
|
my @_USE_GENERIC_SIGNAL_MARSHALLER_FOR = ( |
38
|
|
|
|
|
|
|
); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
sub import { |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Glib::Object::Introspection->setup( |
44
|
|
|
|
|
|
|
basename => 'GooCanvas', |
45
|
|
|
|
|
|
|
version => '2.0', |
46
|
|
|
|
|
|
|
package => 'GooCanvas2', |
47
|
|
|
|
|
|
|
name_corrections => \%_NAME_CORRECTIONS, |
48
|
|
|
|
|
|
|
class_static_methods =>\@_CLASS_STATIC_METHODS, |
49
|
|
|
|
|
|
|
flatten_array_ref_return_for =>\@_FLATTEN_ARRAY_REF_RETURN_FOR, |
50
|
|
|
|
|
|
|
handle_sentinel_boolean_for => \@_HANDLE_SENTINEL_BOOLEAN_FOR); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
# Preloaded methods go here. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
1; |
56
|
|
|
|
|
|
|
__END__ |