function pDraw::convertAlpha

5.x pDraw.class.php pDraw::convertAlpha($AlphaValue)
1 call to pDraw::convertAlpha()
pDraw::allocateColor in inc/pchart/pchart/class/pDraw.class.php

File

inc/pchart/pchart/class/pDraw.class.php, line 1191

Class

pDraw

Code

function convertAlpha($AlphaValue) 
 {
  return ((127 / 100) * (100 -$AlphaValue));
}