tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Map.MapOverlayDrawContext Struct Reference

Classes

struct  DrawResult
 

Public Member Functions

 MapOverlayDrawContext (Vector2 mapPosition, Vector2 mapOffset, Rectangle? clippingRect, float mapScale, float drawScale)
 
DrawResult Draw (Texture2D texture, Vector2 position, Alignment alignment)
 
DrawResult Draw (Texture2D texture, Vector2 position, Color color, SpriteFrame frame, float scaleIfNotSelected, float scaleIfSelected, Alignment alignment)
 
DrawResult Draw (Texture2D texture, Vector2 position, SpriteFrame frame, Alignment alignment)