Example #1
0
File: text.cs Project: kwanboy/mcs
        //-------------------------------------------------
        //  actual_height
        //-------------------------------------------------
        public float actual_height()
        {
            line last_line = (m_lines.size() > 0)
                ? m_lines[m_lines.size() - 1]
                : null;

            return(last_line != null
                ? last_line.yoffset() + last_line.height()
                : 0);
        }