Commits

Trammell Hudson committed 5c43118

Adjust fill

  • Participants
  • Parent commits d4f777a

Comments (0)

Files changed (1)

 
 my $units = "mm"; # mm = 1, inches = 1000 / 25.4
 my $thickness = 3;
-my $sides = 4;
+my $sides = 5;
 my $edge = 30;
 my $height = 20;
-my $tab_width = 5;
+my $tab_width = 8;
 
 my $deg2rad = 
 
 print <<"";
 <!-- Created with boxer (http://trmm.net/) -->
 <svg xmlns="http://www.w3.org/2000/svg">
+<g transform="scale(3.543307)">
 
 
 #
 		transform="rotate(-$angle) translate(-$hx $interior_radius)"
 	><path
 		stroke="#ff0000"
-		fill="NONE"
+		fill="none"
+		stroke-width="1px"
 		d="M
 
 	print <<"";
 	<path
 		transform="translate(0 0) rotate(0 0 0)"
 		stroke="#ff0000"
-		fill="NONE"
+		fill="none"
+		stroke-width="1px"
 		d="M
 			$thickness 0
 			$tab_x1 0
 	<path
 		transform="translate($edge 0) rotate(-90 0 0)"
 		stroke="#ff0000"
-		fill="NONE"
+		stroke-width="1px"
+		fill="none"
 		d="M
 			0 0
 			$side_tab_x1 0
 	<path
 		transform="translate($edge -$height) rotate(-180 0 0)"
 		stroke="#ff0000"
-		fill="NONE"
+		stroke-width="1px"
+		fill="none"
 		d="M
 			0 0
 			$tab_x1 0
 	<path
 		transform="translate($thickness -$height) rotate(-270 0 0)"
 		stroke="#ff0000"
-		fill="NONE"
+		stroke-width="1px"
+		fill="none"
 		d="M
 			0 0
 			$side_tab_x1 0
 
 
 print <<"";
+</g>
 </svg>
 
 __END__