搜索资源列表
openCV-face-detection
- 基于opencv的人脸识别,识别后在脸部加上矩形小框的代码-face detection
draw1
- 编写应用程序,可以利用鼠标绘制矩形和圆形,具体功能要求如下: 1、 通过单击工具条按钮(或菜单项)选择绘制矩形或者圆形; 2、 绘制过程中要求实现橡皮线功能和重画(窗口改变的时候,已绘制的图形不能消失); 3、 程序中只能使用SetPixel绘图函数,不能使用其它绘图函数; 4、 [本功能选作]通过单击工具条按钮(或菜单项)显示对话框,让用户可以设置绘制图形的颜色(可以分别输入RGB三颜色分量)-Write applications that can use the mouse
OpenGLExample
- 计算机图形学应用界面实现矩形的绘制建立坐标系通过对话框进行参数的更改-Computer graphics application interface of the rectangle to draw the establishment of the coordinate system parameter changes through a dialog box
Positioning-frame
- 用易语言写的矩形定位框,可用于截图功能使用或者图像处理!-Positioning of rectangular box with easy language to write, can be used to capture function or image processing!
Fractal
- 显示Mandelbrot集。通过输入参数,可以显示不同size的Mandelbrot集。通过矩形选择框可以实现局部放大。-Draw Mandelbrot Set.Show different Mandelbrot Set by setting different parameters. Magnify a region using a rectangle box.
Paint
- 对话框功能实现画图板功能,可以绘制直线,矩形,三角形的等不同形状不同颜色的图形,可以拖动,支持清空换背景。-The dialog features drawing board, you can draw lines, rectangles, triangles of different shapes in different colors graphics can drag support empty for background.
CTreeCtrl
- 实现CTreeCtrl控件节点添加 ,节点改变,右侧显示不同对话框,指定矩形区域显示对话框信息,进度栏按钮的使用,以及用位图作为背景-Add a CTreeCtrl control of node node change, a different dialog box is displayed on the right side, specify a rectangular area to display the dialog box information, the use of the pr
MyBox
- 开关盒布线问题 开关盒布线问题:给定一个矩形布线区域,其外围有若干针脚。两个针脚之间通过布设一条金属线路而实现互连。这条线路被称为电线,被限制在矩形区域内。如果两条电线发生交叉,则会发生电流短路。所以不允许电线间的交叉。每对互连的针脚被称为网组。 要解决的问题是,对于给定的针脚和网组,确定其能否合理地布设电线以使其不发生交叉,即它是不是一个可布线的。 经过分析,本系统要实现的功能如下: 1、画出给定矩形布线区域和线网组。 2、使用对话框设定时间、针脚、网组等参数。 3、利
mubiaojiance
- 目标与背景分离,快速地提取目标,并使用最小矩形法框出目标。-Target and background separation, and quickly extract the target, and use the smallest rectangle method box to the target.
SY21510104
- 网格索引,先输入点数再点绘制,矩形和圆形拉框是用来找点的,有的时候会有bug,请大家多多包含,这个还有待改善。-Grid index, the first input points and then point to draw rectangular and circular pull box is used to find the point, and sometimes there will be a bug, please include a lot, this has yet to be
qt
- 使用模拟退火解决一下问题:给定n个固定形状的矩形积木块,如何拼接积木块,使得其矩形外框的面积最小? -Simulated annealing to solve the problem: given n fixed shape of the rectangular building blocks, how splicing building blocks, making it the smallest rectangular frame?
MouseEvent
- 利用MFC向导建立一个应用程序框架,并在此框架上实现以下功能: (1)单击鼠标左键时在光标位置画矩形,单击鼠标右键时在光标位置画椭圆 (2)创建一种高50个像素点的字体,能够显示中文,并在鼠标左键双击位置用OnPaint()函数显示一个中文字符串。 (3)建立一个对话框,当鼠标右键双击时打开该对话框,使其能够输入学生的档案,包括学生的姓名、性别、年龄、所在院系。(源代码包含非常完整的注释,方便读者理解程序)-Using MFC wizard to set up an appli
MenuDemo
- 简单画板:直线,圆,矩形。主要用鼠标在菜单的工具栏的图标框里选择这三种图形!-Simple drawing board: straight lines, circles, rectangles. Main menu with the mouse icon in the toolbar box to select these three graphics!
mouse_key
- (1) 在屏幕上绘制一个矩形,并将举行内部划分成 4 个矩形区域; (2) 在矩形内移动鼠标时,在上面划分的 4 个区域中显示不同的光标,并在屏幕左上角显示光标坐标; (3) 当用户按下 SHIFT 和 CTRL 键并移动鼠标时,显示一个消息框,提示用户按下的是哪个键。 -(A) Draw a rectangle on the screen, and will hold internally divided into four rectangular areas (2) mo
Text7
- 创建如图所示的基于对话框的应用程序,在图形显示区绘制一个矩形并用单色画刷填充矩形内部。通过滚动条控件设置填充颜色,并在编辑框中显示颜色的 RGB值,通过单选按钮可以设置矩形的边框线型,“显示图形”复选框可以控制是否显示矩形。设置完成后,单击“显示”按钮在“图形显示区”显示新的绘图效果。 单击“退出”按钮退出程序。 -Created as shown in the dialog-based applications in the graphic display area and dr
yansejuxin
- 3.5_常用控件之3编辑框控件——改变颜色填充矩形,基于MFC的VC++带详细的步骤文档-3.5_ common controls of three edit box control- change colors fill the rectangle, MFC-based VC++ document with detailed steps
huadongkuai
- 用编辑框和旋转按钮选择矩形的长和宽,线的宽度由滑动块控制,MFC程序和详细步骤,一步一步做。-With the edit box and rotate buttons to select the length and width of the rectangle, line width by a sliding block control, MFC procedures and detailed steps, step by step.
CRectTracker
- 使用CRectTracker类,在对话框上绘画橡皮条矩形,使用鼠标可以移动矩形、放大或缩小。 -Use CRectTracker class, drawing on the dialog rubber rectangle, use the mouse to move the rectangle, zoom in or out.
JButton常用的一些方法
- JButton 实现了普通的三态外加选中、禁用状态,有很多方法可以设置,不要自己去写鼠标监听器。 setBorderPainted(boolean b) //是否画边框,如果用自定义图片做按钮背景可以设为 false。 setContentAreaFilled(boolean b) //是否填充,如果你的自定义图片不是矩形或存在空白边距,可以设为 false 使按钮看起来透明。 setFocusPainted(boolean b) //是否绘制焦点(例如浅色虚线框或者加粗的边框
VCPP-The-Drawtools
- (1) 能够根据选择画出直线,矩形、椭圆、圆角矩形、曲线、五角星行、五边形、弓形、弧形、三角形等基本图形。 (2) 能够为所画图形进行自定义的颜色及样式填充,能使用位图及阴影画刷填充图形,并能设置位图背景。 (3) 能够修改画笔的粗细,选择刷子的宽度。 (4) 能够输入文本,并且能够改变字体和颜色。 (5) 能够实现橡皮的功能。 (6) 在选择画笔粗细、画笔颜色、字体、文本颜色、输入文本和登陆界面时使用各种对话框完成参数传递。 (7) 能够改变对话框的背景,能在对话框界面