用bursh把一张图片加到exe上,结果图片出来的效果不对。
这样说吧,假设这张图片(218 *29)上有数字12345,但是出来的图片效果却是23451,就是说后半部分的图片被刷到前面去了
代码如下:
Brush brush = new TextureBrush(top_right ,new Rectangle(0 ,0 ,top_right.Width ,top_right.Height));
g.FillRectangle(brush ,31,0 ,top_right.Width ,top_right.Height);
这样说吧,假设这张图片(218 *29)上有数字12345,但是出来的图片效果却是23451,就是说后半部分的图片被刷到前面去了
代码如下:
Brush brush = new TextureBrush(top_right ,new Rectangle(0 ,0 ,top_right.Width ,top_right.Height));
g.FillRectangle(brush ,31,0 ,top_right.Width ,top_right.Height);
解决方案 »
- 算法问题
- 接口的问题?
- for i=1 to rs.pagesize 在c#下 等同于哪个语句?
- C#关于Socket的问题 异常为:The operation is not allowed on non-connected sockets.
- WinForm的Timer控件的一点问题
- 序列化
- 请朋友们给点asp.net 换肤功能 的资料,谢谢啦(一共有两种换肤.第一种简单,第二种有点神奇,改布局.有兴趣的朋友进来 look look)
- 请教--打印中的字符间距问题
- VS2008+SQL2005+C#: 必须声明标量变量 "@stuname"
- 如何压缩jpeg图片文件存储的质量,就像图片减肥软件一样。
- Nhibernate批量删除
- 编号自动加一
就是想在x轴坐标为31,y轴坐标为0的位置画图