/** * Returns the x and y position of the label, relative to centre */ protected function GetLabelPosition($item, $a_start, $a_end, $rx, $ry, $text) { list($xt, $yt) = parent::GetLabelPosition($item, $a_start, $a_end, $rx, $ry, $text); // get explode wants final angle $a_start += $this->s_angle; $a_end += $this->s_angle; list($xo, $yo) = $this->GetExplode($item, $a_start, $a_end); return array($xt + $xo, $yt + $yo); }