-
编译原理,根据表达式生成四元式,四元式哦
编译原理,根据表达式生成四元式,四元式哦-compiler theory, according to generate expression- 4 yuan, four yuan-oh
- 2022-06-18 06:36:23下载
- 积分:1
-
一个显示杨辉三角形的源程序! 输入前N行,可显示!
一个显示杨辉三角形的源程序! 输入前N行,可显示!-a triangle shows the source code! Before the N line input, display!
- 2023-03-14 01:40:03下载
- 积分:1
-
本程序实现了分形图形的显示,根据代码,可以研究绘制分形图形的方法。...
本程序实现了分形图形的显示,根据代码,可以研究绘制分形图形的方法。-realized by the fractal graphics, based code can study fractal graphics rendering method.
- 2022-04-02 07:30:29下载
- 积分:1
-
Curing Comparator
Instability with
Hysteresis
Curing Comparator
Instability with
Hysteresis
- 2022-04-12 16:19:29下载
- 积分:1
-
GlowButton - 发光的按钮控件
翻译 maninwest@Codeforge 作者:John Underhill @ Codeproject最近我在查看 KMP Player 软件上的一些图形元素(如果你想看看好的图形设计,我建议你也查看一下)。我在项目中需要的是一个简单的发光按钮控件,用于玩家控制的,这不是什么太神奇的东西,只是在鼠标悬停时能够改变颜色。让图像更改颜色很简单,只需修改 ImageAttribute 的颜色矩阵:private void DrawColoredImage(Graphics g, Image img, Rectangle bounds, Color clr)
{
using (ImageAttributes ia = new ImageAttributes())
{
ColorMatrix cm = new ColorMatrix();
// convert and refactor color palette
cm.Matrix00 = ParseColor(clr.R);
cm.Matrix11 = ParseColor(clr.G);
cm.Matrix22 = ParseColor(clr.B);
cm.Matrix33 = ParseColor(clr.A);
cm.Matrix44 = 1f;
// set matrix
ia.SetColorMatrix(cm);
// draw
g.DrawImage(img, bounds, 0, 0, img.Width,
img.Height, GraphicsUnit.Pixel, ia);
}
}示例代码中的 ParseColor 会将位转化为浮点值。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-07-25 02:55:04下载
- 积分:1
-
一个下象棋的vc软件,也是抄袭的作品,希望大家原谅了
一个下象棋的vc软件,也是抄袭的作品,希望大家原谅了-a chess under the vc software, as well as copying the works, we hope to forgive
- 2022-08-08 16:45:25下载
- 积分:1
-
本文介绍了一种简单的方法
This article introduces a simple approach to in-memory transactions that can be used to implement Undo and Redo. The technique uses SEH and Virtual Memory and requires only STL and Win32.
- 2022-01-26 05:57:10下载
- 积分:1
-
该程序是综合利用vb的基本空间和时钟控件,编制了绘制立方体,并实现了立方体的旋转。...
该程序是综合利用vb的基本空间和时钟控件,编制了绘制立方体,并实现了立方体的旋转。-vb comprehensive utilization of the basic space and control the clock, produced a cube mapping, and the achievement of the rotating cube.
- 2022-03-21 15:43:37下载
- 积分:1
-
圆形按钮控件,提供代码的重复使用,可直接嵌入道正在开发工程上,或者做进一步的完善...
圆形按钮控件,提供代码的重复使用,可直接嵌入道正在开发工程上,或者做进一步的完善-Radio button control, to provide reusable code can be directly embedded Road projects are being developed, or to do further to improve
- 2022-03-10 19:25:15下载
- 积分:1
-
利用单片机来控制传感器的测量物体的微振动,当物体微振动时把信号传输给了传感器,利用传感器采集的数据给了单片机,让单片机做具体的操作...
利用单片机来控制传感器的测量物体的微振动,当物体微振动时把信号传输给了传感器,利用传感器采集的数据给了单片机,让单片机做具体的操作- Using monolithic integrated circuit control sensor survey
object micro vibration, when object micro vibration has given the
signalling the sensor, gathered the data using the sensor to give the
monolithic integrated circuit, let the monolithic integrated circuit
make the concrete operation
- 2022-05-15 05:36:52下载
- 积分:1