| 1 | package Draft::Protozoa::Eml::Reference::Draft1; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | Draft::Protozoa::Eml::Reference::Draft1 - CAD reference drawing-object | ||
| 6 | |||
| 7 | =head1 SYNOPSIS | ||
| 8 | |||
| 9 | Points to one or more L<Draft::Drawing> objects and places them in | ||
| 10 | space. | ||
| 11 | |||
| 12 | =cut | ||
| 13 | |||
| 14 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 1 | ▶ | use Draft::Drawing; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 1 | ▶ | use Draft::Protozoa::Eml; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 1 | ▶ | use Draft::Entity::Reference; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 1 | ▶ | use vars qw /@ISA/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 1 | @ISA = qw /Draft::Protozoa::Eml Draft::Entity::Reference/; | |
| 22 | |||
| 23 | =pod | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | A reference has some interesting attributes; coordinates for placing | ||
| 28 | it in space, paths to L<Draft::Drawing> objects and parts of them to | ||
| 29 | ignore. | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | sub _parse | ||
| 34 | 2 | ▶ | { |
|
Subroutine
_parse: called CC=1 SCAR=0.0
| |||
| 35 | 2 | my $self = shift; | |
| 36 | 2 | my $data = shift; | |
| 37 | |||
| 38 | 2 | $self->{0} = $data->{0}; | |
| 39 | 2 | $self->{location} = $data->{location}; | |
| 40 | 2 | $self->{ignore} = $data->{ignore}; | |
| 41 | } | ||
| 42 | |||
| 43 | 1 | 1; | |