public void TextGlow( System.Drawing.Brush brushText, System.Drawing.Color clrOutline, int nThickness) { TextGlowStrategy pStrat = new TextGlowStrategy(); pStrat.Init(brushText, clrOutline, nThickness); m_pTextStrategy = pStrat; }
public void TextGlow( System.Drawing.Brush brushText, System.Drawing.Color clrOutline, int nThickness) { TextGlowStrategy pStrat = new TextGlowStrategy(); pStrat.Init(brushText, clrOutline, nThickness); m_pTextStrategy = pStrat; TextGlowStrategy pStrat2 = new TextGlowStrategy(); pStrat2.Init( System.Drawing.Color.FromArgb(255, 255, 255, 255), System.Drawing.Color.FromArgb(clrOutline.A, 255, 255, 255), nThickness); m_pTextStrategyMask = pStrat2; }