コード例 #1
0
        public override void MoveHandle(Point point, int handleNumber)
        {
            // Invisible handler to change font size.
            int wantedHeight = point.Y - m_MainBackground.Rectangle.Location.Y;

            m_StyleHelper.ForceFontSize(wantedHeight, m_Timecode);
            UpdateLabelRectangle();
        }
コード例 #2
0
ファイル: DrawingChrono.cs プロジェクト: jfpk/kinoveaIDS
        public override void MoveHandle(PointF point, int handleNumber, Keys modifiers)
        {
            // Invisible handler to change font size.
            int wantedHeight = (int)(point.Y - mainBackground.Rectangle.Location.Y);

            styleHelper.ForceFontSize(wantedHeight, timecode);
            style.ReadValue();
            UpdateLabelRectangle();
        }