System.Windows.Forms.HexBox.GetByteStringPointF C# (CSharp) Method

GetByteStringPointF() private method

private GetByteStringPointF ( Point gp ) : PointF
gp Point
return System.Drawing.PointF
        PointF GetByteStringPointF(Point gp)
        {
            float x = (_charSize.Width) * gp.X + _recStringView.X;
            float y = (gp.Y+1)*_charSize.Height-_charSize.Height+_recStringView.Y;

            return new PointF(x,y);
        }