delphi高手们帮助呀, 我用了很多方法,都不能实现画圆无锯齿,photoshop中画圆就没有锯齿.如何编写的了,请帮助. delphi高手们帮助呀, 我用了很多方法,都不能实现画圆无锯齿,photoshop中画圆就没有锯齿.如何编写的了,请帮助. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 PHOTOSHOP中大概是自定义画圆算法用像素堆出来的.不是调用的API函数. 使用Graphics32组件Image.Bitmap.StretchFilter := sfLinear;就该可以了 ly_liuyang(Liu Yang)你好呀,我试过,依然有锯齿呀,是不是我代码写错了呢?请看一看.---------------------------Image321.SetupBitmap;Image321.Bitmap.BeginUpdate;Image321.Bitmap.Canvas.Pen.Color:=clred;Image321.Bitmap.Canvas.Ellipse(30,30,180,80);Image321.Bitmap.Canvas.MoveTo(0,0);Image321.Bitmap.Canvas.LineTo(20,300);Image321.Bitmap.StretchFilter := sfSpline;Image321.Bitmap.EndUpdate; 其实 photoshop 就是把图形边缘的颜色和周围的颜色混合了一下,你用 photoshop 32x32 的大小画个圆,方到最大 看看就明白了! Image321.SetupBitmap; Image321.Bitmap.BeginUpdate; Image321.Bitmap.Canvas.Pen.Color:=clred; Image321.Bitmap.Canvas.Ellipse(30,30,180,80); Image321.Bitmap.Canvas.MoveTo(0,0); Image321.Bitmap.Canvas.LineTo(20,300); Image321.Bitmap.StretchFilter := sfSpline; Image321.Bitmap.EndUpdate;没错啊! 一天多少秒等等的常量在哪个单元啊? 如何使Delphi ActiveForm 控件的主界面能使用皮肤库 delphi做的程序会破坏操作系统吗 熟悉串口通信的请进,串口控件TUPBOPOWER可以使用在多线程中吗?? excel中图表的字体大小怎么设置? 如何将图片插入Excel中 这个怎么做? 关于delphi组件安装的问题 delphi中的网络通讯组件Fastnet中的好还是Indy中的好 我遇到麻烦了 帮个忙吧 大虾们 怎样用代码取得任务栏快速启动区的路径? 通过datetimepicker控件,如何取得当月的最大日?
Image.Bitmap.StretchFilter := sfLinear;就该可以了
---------------------------
Image321.SetupBitmap;
Image321.Bitmap.BeginUpdate;Image321.Bitmap.Canvas.Pen.Color:=clred;
Image321.Bitmap.Canvas.Ellipse(30,30,180,80);
Image321.Bitmap.Canvas.MoveTo(0,0);
Image321.Bitmap.Canvas.LineTo(20,300);
Image321.Bitmap.StretchFilter := sfSpline;Image321.Bitmap.EndUpdate;
你用 photoshop 32x32 的大小画个圆,方到最大 看看就明白了!
Image321.Bitmap.BeginUpdate; Image321.Bitmap.Canvas.Pen.Color:=clred;
Image321.Bitmap.Canvas.Ellipse(30,30,180,80);
Image321.Bitmap.Canvas.MoveTo(0,0);
Image321.Bitmap.Canvas.LineTo(20,300);
Image321.Bitmap.StretchFilter := sfSpline; Image321.Bitmap.EndUpdate;没错啊!