登录
首页 » 图形图像 » 本程序实现八种图形的绘图功能,分别是直线,圆弧,贝赛尔曲线,矩形,圆角矩形,椭圆和多边形。绘图步骤如下: 直线:点鼠标左键确定起始点,移动鼠标点左键确定终点...

本程序实现八种图形的绘图功能,分别是直线,圆弧,贝赛尔曲线,矩形,圆角矩形,椭圆和多边形。绘图步骤如下: 直线:点鼠标左键确定起始点,移动鼠标点左键确定终点...

于 2022-09-22 发布 文件大小:58.55 kB
0 124
下载积分: 2 下载次数: 1

代码说明:

本程序实现八种图形的绘图功能,分别是直线,圆弧,贝赛尔曲线,矩形,圆角矩形,椭圆和多边形。绘图步骤如下: 直线:点鼠标左键确定起始点,移动鼠标点左键确定终点。 圆弧:用鼠标左键依次点四点确定圆弧。 贝赛尔曲线:用鼠标左键依次点四点确定贝赛尔曲线。 矩形:点左键确定起始点,拖动鼠标再点左键确定对角点。 圆角矩形:点左键确定起始点,拖动鼠标再点左键确定对角点。 椭圆:点左键确定起始点,拖动鼠标再点左键确定对角点,便作出了与该矩形相切的椭圆。 多边形:点鼠标左键确定起始点,然后依次点各点(所有点的总数为所要做多边形的边数,不超过20边),最后用中键确定,自动封闭图形。-the program eight graphical mapping function is linear, arc, Bessel curve, rectangle, rounded rectangle, oval and polygons. Mapping the following steps : Linear : click the mouse button to determine the threshold, mobile click of the mouse button to determine the end. Arc : the left mouse button followed by 4:00 set point arc. Bessel curve : the left mouse button followed by point 4:00 determine Bessel curve. Rectangular : Left to determine the threshold point, then drag the mouse to point to determine Left Corner. Rounded Rectangle : Left to determine the threshold point, then drag the mouse to point to determine Left Corner. Oval : Left to determine the threshold point, drag the mouse butto

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 6种区域融合方法
    本代码基于区域的小波变换融合方法,主要是基于区域能量、区域方差、区域最大这几种方法。-Region-based wavelet transform fusion method is mainly based on regional energy, regional variance, the largest in this region several ways.
    2022-02-07 03:21:01下载
    积分:1
  • aceDetection工程运行时,首先要通过文件“打开 载入片face.bmp,而后才可以进行人脸检测 操作,需要强调的是人脸区域检测、眼睛的检测与定位...
    aceDetection工程运行时,首先要通过文件“打开 载入图片face.bmp,而后才可以进行人脸检测 操作,需要强调的是人脸区域检测、眼睛的检测与定位、人嘴的检测与定位、人脸的勾勒四个处理 模块必须按照先后顺序进行,而且各个模块内的各项操作也必须按照菜单栏从上至下的顺序来进行。 另外,由于在人脸检测时用到了先验知识,所以目前只能对给定的图片face.bmp进行处理。-aceDetection running, First to file "opened face.bmp included in the photo, and can only proceed after face detection operation, needs to be emphasized is the human face detection, eye detection and location, human mouth of the detection and location, Face to outline four processing module must be in accordance with the chronological order, Besides, the various modules must also operate in accordance with the menu bar from top to bottom to the order. In addition, As the face detection is used when a priori knowledge, So the only right given to the Photo face.bmp to handle.
    2023-03-26 09:05:04下载
    积分:1
  • 新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么...
    新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (ColorDialog1->Execute()) Image1->Canvas->Pen->Color = ColorDialog1->Color 5、 编写Image1的OnImage1MouseUp事件,要求实现: 1) 若是第奇数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第一个端点或圆心坐标; 2) 若是第偶数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第二个端点并利用TCanvas的MoveTo()和LineTo()方法画出直线段,或计算出圆的外接矩形后调用TCanvas的Ellipse()方法画圆。-C Builder a new project set the font to Form1 "wherein V" in Form1 add a TRadioGroup components rgDrawWhat options for what painting graphics; Add a Tbutton colorBtn components and a TcolorDialog ColorDialog1 components; Add a TImage component Image1. 3, the current project will be kept in their laboratories folders exp1 Documents folder (to prevent erroneous operation and wasted). Preparation colorBtn the OnClick, ColorDialog1 activated, and access t
    2022-03-05 21:42:30下载
    积分:1
  • Java2DExample.rar Java2D的例子
    Java2DExample.rar Java2D的例子-Java2DExample.rar swing examples
    2022-03-13 21:01:34下载
    积分:1
  • VC/MFC 常见的几种显示的方法: 1.使用CBitMap,在OnPaint 中绘制 2.用picturn控件绘制 3.用背景 4....
    VC/MFC 常见的几种图像显示的方法: 1.使用CBitMap,在OnPaint 中绘制 2.用picturn控件绘制 3.用背景图 4.用KoDak控件(需要已经安装) -VC/MFC common image shows several ways : 1. CBitMap use. Drawing the OnPaint 2. Controls used picturn drawing three. use background Figure 4. charged with KoDak pieces (need to have installed)
    2022-05-20 22:38:30下载
    积分:1
  • dicom格式文件的读取和显示 可以生成安装文件
    dicom格式文件的读取和显示 可以生成安装文件-dicom reader dicom reader dicom reader
    2022-02-02 01:10:11下载
    积分:1
  • 长方的填充和背景填充
    长方形的填充和背景填充-rectangular background filled and filled
    2022-01-25 23:11:01下载
    积分:1
  • graphics editing vice
    图形图像编辑副源码-graphics editing vice-source
    2023-03-01 05:10:03下载
    积分:1
  • Direct3D 演示加载多个模型的例子,对于Direct3D开发很有参考价值。...
    Direct3D 演示加载多个模型的例子,对于Direct3D开发很有参考价值。-Direct3D demo example to load multiple models for the development of valuable Direct3D.
    2022-04-23 00:59:51下载
    积分:1
  • 光度立体视觉算法stereoscopic_vision
    光度立体视觉算法stereoscopic_vision.一种三维表面重建方法,以便快速准确地获得三维模型 .首先获取控制光照和视角条件下的3幅图像,采用光度立体视觉的方法计算表面法向量,并在基于高度的全局优化和局部特征保持的基础上,通过金字塔式多尺度逼近,由表面法向量恢复三维表面信息 .实验表明,这是一种简易快速的三维重建算法,在游戏三维建模、交互式动画等方面有着广泛的应用.
    2023-05-28 00:00:03下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载