登录
首页 » 图形图像 » GDI+是对GDI的一个令人兴奋的扩展,但由于某些原因,它没有提供绘制圆角矩形的函数,虽然我们可以在GDI+中使用GDI中的函数,但这样一来我们没办法在圆角矩形...

GDI+是对GDI的一个令人兴奋的扩展,但由于某些原因,它没有提供绘制圆角矩形的函数,虽然我们可以在GDI+中使用GDI中的函数,但这样一来我们没办法在圆角矩形...

于 2022-05-17 发布 文件大小:56.59 kB
0 159
下载积分: 2 下载次数: 1

代码说明:

GDI+是对GDI的一个令人兴奋的扩展,但由于某些原因,它没有提供绘制圆角矩形的函数,虽然我们可以在GDI+中使用GDI中的函数,但这样一来我们没办法在圆角矩形中使用GDI+中的纹理和透明色等新特性。怎么办?GDI+中有一个GraphicsPath 的类,我们可以用它构造各种形状并且可用任何画刷来填充这些形状。本源码中提供了一个可以加到任何工程中的函数,并用它来绘制了一个圆角矩形,矩形的远郊程度可以通过一个滑动条来设置-GDI GDIGDI How? GDI is a GraphicsPath the category, we can use it for all sorts of shapes and structures available to any brush painting to fill these forms. The source provided a project can be added to any of the functions, and use it to draw a rectangular fillet, rectangular extent of the suburbs of the city through a sliding strip to set up

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

发表评论

0 个回复

  • A simple drawing program to achieve class inheritance. Can draw a straight line,...
    一个简单的绘图程序,实现类的继承。可以画直线、圆、矩形。并实现简单的图形保存。直线画法为DDA,圆的画法为中点画圆法,矩形在直线基础上画。程序比较适合初学者。-A simple drawing program to achieve class inheritance. Can draw a straight line, round, rectangular. And to achieve a simple, save the drawing. Straight-line painting for the DDA, a circle drawing method for the midpoint drawcircle, rectangular paintings in a straight line basis. Program is more suitable for beginners.
    2022-04-27 02:59:34下载
    积分:1
  • MATLAB模糊聚类的分割算法的源代码
    matlab模糊聚类算法进行图像分割的源程序-matlab fuzzy clustering algorithm for image segmentation source code
    2022-04-01 02:57:18下载
    积分:1
  • 国际上开源的矢量化算法,速度堪比R2V软件
    国际上开源的矢量化算法,速度堪比R2V软件-international revenue vector algorithm, the speed guaranteed under Application of the R2V software
    2022-03-24 15:37:28下载
    积分:1
  • 地理信息系统层显示功能
    地理信息系统图层显示功能- Geography information diagram level demonstration function
    2022-04-15 04:34:00下载
    积分:1
  • 在写字板中的一个简单的画程序。代码知道你如何进行简单的画!...
    在写字板中的一个简单的画图程序。代码知道你如何进行简单的画图!-In the tablet in a simple drawing program. How do you know the code for a simple drawing!
    2022-02-15 06:03:35下载
    积分:1
  • In VC++ 6.0 environment, use of OPENGL realize the visualization of the three sp...
    在VC++6.0环境下,利用OPENGL实现了三位球体的可视化。有源代码及其相关设计文档。-In VC++ 6.0 environment, use of OPENGL realize the visualization of the three spheres. Source code and related design documents.
    2023-09-01 16:55:03下载
    积分:1
  • 类似于画程序,是学各种基本的扫描算法的实现,对学的入门者大有用处
    类似于画图程序,是图形学各种基本图形的扫描算法的实现,对图形学的入门者大有用处-similar to the drawing process, the basic graphics graphics scanning algorithm implementation of the graphics it would be useful for beginners
    2022-03-15 01:30:15下载
    积分:1
  • 这是一种新的直方处理技术,它在分开的直方基础上重新分配三个子素。我们使用k...
    这是一种新的直方图处理技术,它在分开的直方图基础上重新分配三个子图像的像素。我们使用k-means获得来自输入图像的二个质心, 然后推论出二个极值把输入图像分为三个子图像。 在精确的数学计算之后,连接的成份被从子图像单独地获取。 应用上述新直方图处理技术,,分别对三个子图像(基于原始直方图的两个极值分解输入图像获得)实行直方图均等化。-This is a new histogram processing techniques, it is separate from the histogram based on the redistribution of the three sub-image pixel. We use k-means to obtain the input image from the center of mass of the two, and then infer the input image 2 Extremal divided into three sub-image. In precise mathematical calculations, the connected components of sub-image from a separate access. Application of the new histogram processing techniques, respectively, of the three sub-image (based on the original histogram of the two extremal decomposition of the input image to obtain) the implementation of histogram equalization.
    2022-07-25 00:38:23下载
    积分:1
  • 本程序整合了 OSG 大部分的基础功能,程序代码编写采用了模块化思想,有效代码在 1000 行左右,注释比较清晰,对于程序的修改和功能的扩展非常方便。...
    本程序整合了 OSG 大部分的基础功能,程序代码编写采用了模块化思想,有效代码在 1000 行左右,注释比较清晰,对于程序的修改和功能的扩展非常方便。-This procedure combines the foundation for most functional OSG, procedures used to prepare the code modular thinking, effective code line in about 1000, the Notes are more well-defined, for the process to modify and extend the very convenient features.
    2022-01-28 04:06:47下载
    积分:1
  • 在简单的实现
    ROAM Simplistic Implementation By Bryan Turner brturn@bellsouth.net January, 2000 Project file for MS Visual C++ 6.0. Requires GLUT DLL (www.opengl.org) Adjust program constants in Landscape.h and Utility.cpp. MAPS: Default map is read from HeghtXXX.raw where XXX is the MAP_SIZE (as defined in Landscape.h). If this map is not found, the program attempts to open "Map.ved", a Tread Marks map file. Tread Marks maps will only work for MAP_SIZE == 1024. Also, the MULT_SCALE to view Tread Marks maps correctly is "0.25f". (www.TreadMarks.com) CONTROLS: MOUSE - Hold Left Mouse Button to Rotate View Angle Q - Change Rendering Mode (Wireframe, Lit, Fill, Texture) O - Change View Mode (Observe, Follow, Drive, Fly) W/S - Move forward/back A/D - Rotate left/right (in Observe Mode only) F - Stop Animation R - Toggle Frustum Drawing 0/9 - More/Less Triangles per frame 1/2 - Adjust FOV-ROAM Simplistic Implementation By Bryan Tur
    2022-03-26 08:18:08下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载