12345678910111213141516171819 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Drawing;
- namespace Bowin.Common.Drawing
- {
- public class PictureHelper
- {
- public static Image AddOverlay(Image sourceImg, Image overlay, int topPixcel, int leftPixcel)
- {
- var result = Graphics.FromImage(sourceImg);
- result.DrawImage(overlay, new Point(leftPixcel, topPixcel));
- return sourceImg;
- }
- }
- }
|