Files
hLCD/TextDesignerCSLibrary/ITextStrategy.cs
Mustafa ÖZKAYA 89e1f8d694 hOLOlu LCD
C# Kayan Yazı Denemesi
2015-03-10 05:29:32 +02:00

58 lines
1.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace TextDesignerCSLibrary
{
public interface ITextStrategy : IDisposable
{
ITextStrategy Clone();
bool DrawString(
System.Drawing.Graphics graphics,
System.Drawing.FontFamily fontFamily,
System.Drawing.FontStyle fontStyle,
int fontSize,
string strText,
System.Drawing.Point ptDraw,
System.Drawing.StringFormat strFormat);
bool DrawString(
System.Drawing.Graphics graphics,
System.Drawing.FontFamily fontFamily,
System.Drawing.FontStyle fontStyle,
int fontSize,
string strText,
System.Drawing.Rectangle rtDraw,
System.Drawing.StringFormat strFormat);
bool MeasureString(
System.Drawing.Graphics graphics,
System.Drawing.FontFamily fontFamily,
System.Drawing.FontStyle fontStyle,
int fontSize,
string pszText,
System.Drawing.Point ptDraw,
System.Drawing.StringFormat strFormat,
ref float fStartX,
ref float fStartY,
ref float fDestWidth,
ref float fDestHeight);
bool MeasureString(
System.Drawing.Graphics graphics,
System.Drawing.FontFamily fontFamily,
System.Drawing.FontStyle fontStyle,
int fontSize,
string pszText,
System.Drawing.Rectangle rtDraw,
System.Drawing.StringFormat strFormat,
ref float fStartX,
ref float fStartY,
ref float fDestWidth,
ref float fDestHeight);
}
}