mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-05-29 03:23:37 +02:00
25 lines
1.1 KiB
C#
25 lines
1.1 KiB
C#
using System.Text;
|
|
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
|
|
namespace MLEM.Font {
|
|
public interface IGenericFont {
|
|
|
|
Vector2 MeasureString(string text);
|
|
|
|
Vector2 MeasureString(StringBuilder text);
|
|
|
|
void DrawString(SpriteBatch batch, string text, Vector2 position, Color color);
|
|
|
|
void DrawString(SpriteBatch batch, string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth);
|
|
|
|
void DrawString(SpriteBatch batch, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth);
|
|
|
|
void DrawString(SpriteBatch batch, StringBuilder text, Vector2 position, Color color);
|
|
|
|
void DrawString(SpriteBatch batch, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth);
|
|
|
|
void DrawString(SpriteBatch batch, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth);
|
|
|
|
}
|
|
} |