GDIp中的圆角矩形

时间:2021-03-09 11:30:13
【文件属性】:
文件名称:GDIp中的圆角矩形
文件大小:57KB
文件格式:RAR
更新时间:2021-03-09 11:30:13
c++ gdi 圆角矩形 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 )
【文件预览】:
www.pudn.com.txt
RoundRect.htm
GDIPlusRoundedRect
----GDIPlusRoundedRect.cpp(2KB)
----GDIPlusRoundedRect.h(1KB)
----Debug()
----GDIPlusRoundedRect.dsp(4KB)
----GDIPlusRoundedRectDlg.cpp(6KB)
----GDIPlusRoundedRectDlg.h(2KB)
----GDIPlusRoundedRect.suo(9KB)
----ReadMe.txt(4KB)
----res()
--------GDIPlusRoundedRect.ico(1KB)
--------untitled.bmp(113KB)
--------GDIPlusRoundedRect.rc2(410B)
----GDIPlusRoundedRect.vcproj(6KB)
----Resource.h(787B)
----StdAfx.cpp(220B)
----StdAfx.h(1KB)
----GDIPlusRoundedRect.sln(925B)
----GDIPlusRoundedRect.rc(6KB)
----GDIPlusRoundedRect.dsw(561B)

网友评论