From 81ed3c21ad7624a383a721c9509f671bd6f5ac23 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 16 May 2005 00:31:10 +0000 Subject: Added adjustements and drop shadow --- BitmapChar.cs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'BitmapChar.cs') diff --git a/BitmapChar.cs b/BitmapChar.cs index b161d4f..432dce8 100644 --- a/BitmapChar.cs +++ b/BitmapChar.cs @@ -192,6 +192,40 @@ namespace BitmapFontEd m_data=d; m_changed=true; } + + public void DropShadow(int dx, int dy, Color col) + { + Color[,] d=new Color[m_width,m_height]; + + // I'm sure this is too convoluted... + // + for(int y=0;y=0 && nx=0 && ny