public int convertToPixels(float dipCount){
  return Math.round(impl.convertToPixels((int)(dipCount * 1000),true) / 1000.0f);
}

public int convertToPixels ( float dipCount ) { return Math . round ( impl . convertToPixels ( ( int ) ( dipCount * 1000 ) , true ) / 1000.0f ) ; }
converts the dips count to pixels , dips are roughly 1mm in length . this is a very rough estimate and not to be relied upon . this version of the method assumes square pixels which is pretty much the norm .
