package ONO::Lib::PDF::Elements;
################################################################################
# COPYRIGHT / LICENSE #
################################################################################
#
# This file is part of the ONO Software Project.
#
# Copyright (C) 2000-2025 Jos KIRPS [ www.kirps.com | jos_AT_kirps_DOT_com ]
# and The Joopita Project [ www.joopita.org | contact_AT_joopita_DOT_com ]
#
# This file, as well as other parts of the ONO Software Project or related
# elements, are FREE SOFTWARE available under the ARTISTIC LICENSE 2.0.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# For the full license, see /ono/osr/license/LICENSE.txt, or write to
# jos_AT_kirps_DOT_com or contact_AT_joopita_DOT_com.
#
################################################################################
# END OF COPYRIGHT / LICENSE, HERE COMES THE CODE ... #
################################################################################
use strict;
use ONO::Lib::PDF::Draw;
use ONO::Lib::Image::Canvas::Draw;
use ONO::Lib::PDF::Elements::Abacus;
use ONO::Lib::PDF::Elements::Bar;
use ONO::Lib::PDF::Elements::Brick;
use ONO::Lib::PDF::Elements::Chart;
use ONO::Lib::PDF::Elements::CheckBox;
use ONO::Lib::PDF::Elements::Dice;
use ONO::Lib::PDF::Elements::EduLine;
use ONO::Lib::PDF::Elements::Grid;
use ONO::Lib::PDF::Elements::Music;
use ONO::Lib::PDF::Elements::OnesTens;
use ONO::Lib::PDF::Elements::Ruler;
use ONO::Lib::PDF::Elements::Sticker;
use ONO::Lib::PDF::Elements::Train;
#: A collection of useful PDF elements that can directly be used on pages.
sub bar {
#: This is only here for backwards compatibility.
my @vars = @_;
shift @vars;
return ONO::Lib::PDF::Elements::Bar->bar(@vars);
}
sub brick {
#: This is only here for backwards compatibility.
my @vars = @_;
shift @vars;
return ONO::Lib::PDF::Elements::Brick->brick(@vars);
}
sub chart {
#: This is only here for backwards compatibility.
my @vars = @_;
shift @vars;
return ONO::Lib::PDF::Elements::Chart->chart(@vars);
}
sub checkbox {
#: This is only here for backwards compatibility.
my @vars = @_;
shift @vars;
return ONO::Lib::PDF::Elements::CheckBox->checkbox(@vars);
}
sub eduline {
#: This is only here for backwards compatibility.
my @vars = @_;
shift @vars;
return ONO::Lib::PDF::Elements::EduLine->eduline(@vars);
}
sub grid {
#: This is only here for backwards compatibility.
my @vars = @_;
shift @vars;
return ONO::Lib::PDF::Elements::Grid->grid(@vars);
}
sub train {
#: This is only here for backwards compatibility.
my @vars = @_;
shift @vars;
return ONO::Lib::PDF::Elements::Train->train(@vars);
}
###############################################################################
# end of script
###############################################################################
1;
__END__