CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
英特尔®游戏设计大赛100美元现金周周送 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Delphi >  VCL组件开发及应用

画圆?

楼主pwzhu666(暴龙)2003-07-02 13:59:59 在 Delphi / VCL组件开发及应用 提问

如何用delphi画圆??圆心半径没有限制 问题点数:20、回复次数:6Top

1 楼walterwl(弱智浩二)回复于 2003-07-02 14:13:56 得分 10

Draws   the   ellipse   defined   by   a   bounding   rectangle   on   the   canvas.    
   
  Delphi   syntax:  
   
  procedure   Ellipse(X1,   Y1,   X2,   Y2:   Integer);   overload;  
  procedure   Ellipse(const   Rect:   TRect);   overload;  
  x1,y1;x2,y2指椭圆所在外切矩形的左上角坐标和右下角坐标;  
  Canvas.Brush.Style   :=   bsClear;就只画圆的边界,否则圆的里面也被brush填充Top

2 楼walterwl(弱智浩二)回复于 2003-07-02 14:14:26 得分 0

pwzhu666   (暴龙)    
  兄弟玩石器时代么?Top

3 楼pwzhu666(暴龙)回复于 2003-07-02 14:26:28 得分 0

如何通过圆心画圆,并等分成五份?Top

4 楼pwzhu666(暴龙)回复于 2003-07-02 14:27:20 得分 0

暗黑好玩Top

5 楼firetoucher(风焱)回复于 2003-07-02 14:34:29 得分 10

用Pie  
  The   Pie   function   draws   a   pie-shaped   wedge   bounded   by   the   intersection   of   an   ellipse   and   two   radials.   The   pie   is   outlined   by   using   the   current   pen   and   filled   by   using   the   current   brush.    
   
  BOOL   Pie(  
      HDC   hdc,                   //   handle   to   DC  
      int   nLeftRect,       //   x-coord   of   upper-left   corner   of   rectangle  
      int   nTopRect,         //   y-coord   of   upper-left   corner   of   rectangle  
      int   nRightRect,     //   x-coord   of   lower-right   corner   of   rectangle  
      int   nBottomRect,   //   y-coord   of   lower-right   corner   of   rectangle  
      int   nXRadial1,       //   x-coord   of   first   radial's   endpoint  
      int   nYRadial1,       //   y-coord   of   first   radial's   endpoint  
      int   nXRadial2,       //   x-coord   of   second   radial's   endpoint  
      int   nYRadial2         //   y-coord   of   second   radial's   endpoint  
  );  
   
  ps:同意搂主:)  
  Top

6 楼pwzhu666(暴龙)回复于 2003-07-02 14:37:38 得分 0

如何用,能否举个例子先?Top

相关问题

  • 关于画圆
  • image1.canvas.ellipse(),画椭圆
  • 怎么画圆?
  • 求教,画圆,
  • directx 能画圆么?
  • 画圆小问题
  • opengl 实现画圆
  • Canvas->Ellipse(100,110,200,210)画圆
  • 画圆如何弄
  • 画椭圆的问题

关键词

  • coord
  • radial
  • pie
  • ellipse
  • s endpoint
  • brush
  • corner of rectangle

得分解答快速导航

  • 帖主:pwzhu666
  • walterwl
  • firetoucher

相关链接

  • Delphi类图书
  • Delphi类源码下载
  • Delphi控件下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo