登录
首页 » c++ » OpenGL绘制任意大小的矩形

OpenGL绘制任意大小的矩形

于 2022-02-26 发布 文件大小:366.91 kB
0 100
下载积分: 2 下载次数: 1

代码说明:

通过拖动鼠标,先点击鼠标设置起始点,然后按住不动拖动鼠标绘制任意矩形,确定形状后再松开鼠标完成绘制。程序能够往任意方向拖动鼠标,并显示矩形的绘制过程,绘制完一个矩形可再进行下一个矩形的绘制,能够实现图形重叠,互不影响。

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

发表评论

0 个回复

  • SQLite多线程写入 出现锁文件的解决方案
    SQLite多线程写入 出现锁文件的解决方案
    2014-01-25下载
    积分:1
  • capture
    本程序是STM32系列单片机的输入捕获功能的实现,可以完成对边沿的检测,并且能通过串口将捕获的数据发送到电脑上位机上(This program is a STM32 MCU input capture function, you can complete the detection of the edge, and through the serial port to send the captured data to a computer PC)
    2021-04-23 15:18:47下载
    积分:1
  • C语言书籍三剑客
    说明:  C语言三剑客。助你C语言一臂之力,包括C陷阱与缺陷(C language three swordsmen.)
    2020-01-11 17:41:37下载
    积分:1
  • C #做的学生成绩管理系统。功能非常完善,很实用…
    一个用C#做的学生成绩管理系统。功能非常完善,现传上供高手修正!-a C# do student performance management system. Functional very sound, are available for master- that!
    2022-02-01 21:40:46下载
    积分:1
  • VC++.doc
    VC++环境下调用MATLAB,其中路径的设置请根据自己电脑中的位置做相应修改(VC++ Environment called MATLAB, which set up the path, please according to their own computers make consequential amendments to the location of)
    2008-05-07 13:17:18下载
    积分:1
  • CCMD_OCR
    简单的图形文字识别软件,希望大家喜欢我的分享,谢谢(Simple graphical text recognition software, I hope you like my share, thank you)
    2009-06-15 23:26:59下载
    积分:1
  • Hough圆孔识别
    Hough算法,检测圆孔,特别适合PCB圆孔识别
    2023-04-24 07:45:03下载
    积分:1
  • accelerationMouse
    传感器读取程序,传感器读取程序 传感器读取程序(Sensors read the procedures, procedures for sensors to read sensor to read the procedures)
    2008-07-23 10:31:37下载
    积分:1
  • stm32f4xx_adc
    信号采集的历程显示 可用于新手学习 很基础很重要的东西(The process of signal acquisition shows that it can be used for beginners to learn something very basic and important.)
    2018-05-02 11:28:18下载
    积分:1
  • Mastering C Sharp Database Programming
    Mastering C Sharp Database Programming
    2022-02-22 09:28:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载