Пример #1
0
        /// <summary>
        /// output text
        /// </summary>
        private void outputTextTag(TextTag aTag, RectangleF aRect, Int32 id)
        {
            if ((aTag.TagIndex() >= selection.firstCursor.TagPosition()) &&
                (aTag.TagIndex() <= selection.secondCursor.TagPosition()))
            {
                this.OutputRect(selectionColor, aTag.GetSelectionRange(id, aRect), true);
            }

//            if (DrawDebugRectangle)
//              outputGraphics.DrawRectangle(new Pen(cursorColor), aRect.Left, aRect.Top, aRect.Width, aRect.Height);

            OutputString(aTag[id], aTag.font, aTag.textColor, new PointF(aRect.Left, aRect.Top));
        }