Exemplo n.º 1
0
Arquivo: text.cs Projeto: 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);
        }