Roman Fordinál > SVGraph > SVGraph::2D

Download:
SVGraph-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

$self->{SVG}->path( d=> "M".int($self->{block_left}+($_*$self->{block_width_scale}))." ".$self->{block_up}." ". "L".int($self->{block_left}+($_*$self->{block_width_scale}))." ".$self->{block_down}." ". "L".(int($self->{block_left}+($_*$self->{block_width_scale}))+3)." ".($self->{block_down}+10)." Z", 'stroke-width' =>"0.2px" , 'stroke' =>"black", 'stroke-linecap' =>"round", 'stroke-linejoin' =>"round", 'fill' =>"white", 'fill-opacity' => "0", ); ^

$g->animate ( 'attributeName'=>"font-weight", 'begin'=>"mouseover", 'end'=>"mouseout", # 'from'=>"900", # 'to'=>"900", 'values'=>"900", # 'dur'=>"10s", # 'repeatDur'=>"freeze" 'restart'=>"whenNotActive" ); $g->animate ( 'attributeName'=>"font-size", 'begin'=>"mouseover", 'end'=>"mouseout", # 'from'=>$textsize*1.2, # 'to'=>$textsize*1.2, 'values'=>int($textsize*1.2).'px', # 'dur'=>"10s", # 'repeatDur'=>"freeze" 'restart'=>"whenNotActive" ); ^

$g->animate ( 'attributeName'=>"font-weight", 'begin'=>"mouseover", 'end'=>"mouseout", # 'from'=>"900", # 'to'=>"900", 'values'=>"900", # 'dur'=>"10s", # 'repeatDur'=>"freeze" 'restart'=>"whenNotActive" ); ^

$g->animate ( 'attributeName'=>"font-size", 'begin'=>"mouseover", 'end'=>"mouseout", # 'from'=>$textsize*1.2, # 'to'=>$textsize*1.2, 'values'=>$textsize*1.2, # 'dur'=>"10s", # 'repeatDur'=>"freeze" 'restart'=>"whenNotActive" ); ^

syntax highlighting: