SVG-Grid
view release on metacpan or search on metacpan
lib/SVG/Grid.pm view on Meta::CPAN
x => $options{x},
y => $options{y},
style =>
{
%{$self -> style},
'fill-opacity' => $$defaults{fill_opacity},
'font-size' => $$defaults{font_size},
'font-weight' => $$defaults{font_weight},
stroke => $$defaults{stroke},
}
) -> cdata($options{text});
} # End of text.
# ----------------------------------------------
sub text_link
{
my($self, %options) = @_;
my($defaults) = $self -> _get_defaults(%options);
my($half_font) = int($$defaults{font_size} / 2);
lib/SVG/Grid.pm view on Meta::CPAN
style =>
{
%{$self -> style},
'fill-opacity' => $$defaults{fill_opacity},
'font-size' => $$defaults{font_size},
'font-weight' => $$defaults{font_weight},
stroke => $$defaults{stroke},
'stroke-width' => $$defaults{stroke_width},
}
) -> cdata($options{text});
return $text_id;
} # End of text_link.
# ------------------------------------------------
sub write
{
my($self, %options) = @_;
( run in 0.608 second using v1.01-cache-2.11-cpan-454fe037f31 )