使用MFC开发的小程序,实现图像平移、旋转、缩放。核心代码纯C编写。
2023-04-05 21:20:46 611KB 平移旋转缩放
1
利用MFC画sin和cos图形,可以用滚轮缩放,平移 利用MFC画sin和cos图形,可以用滚轮缩放,平移 利用MFC画sin和cos图形,可以用滚轮缩放,平移 利用MFC画sin和cos图形,可以用滚轮缩放,平移
2023-04-05 21:19:40 1.82MB MFC sin和cos图形
1
网上没找GestureImageView的jar包,自己打了一个。
2023-03-31 11:03:40 27KB gesture imageview 缩放图片
1
Microsoft Visual Studio 2010做的C#图片缩放实例,主要代码: Image imageSource = bitmapSource; ImageFormat sourceFormat = imageSource.RawFormat; int iSourceWidth = imageSource.Width; int iSourceHeight = imageSource.Height; decimal decTargetWidth = iSourceWidth*decTimes; decTargetWidth = Math.Round(decTargetWidth, 0); string sTargetWidth = decTargetWidth.ToString( ); int iTargetWidth = Int32.Parse(sTargetWidth); decimal decTargetHeight = iSourceHeight * decTimes; decTargetHeight = Math.Round(decTargetHeight, 0); string sTargetHeight = decTargetHeight.ToString(); int iTargetHeight = Int32.Parse(sTargetHeight); Bitmap bitmapTarget = new Bitmap(iTargetWidth, iTargetHeight); Graphics gTarget = Graphics.FromImage(bitmapTarget); gTarget.Clear(Color.Transparent); // 设置画布的描绘质量 gTarget.CompositingQuality = CompositingQuality.HighQuality; gTarget.SmoothingMode = SmoothingMode.HighQuality; gTarget.InterpolationMode = InterpolationMode.HighQualityBicubic; gTarget.DrawImage(imageSource, new Rectangle(0, 0, iTargetWidth, iTargetHeight), 0, 0, imageSource.Width, imageSource.Height, GraphicsUnit.Pixel); gTarget.Dispose(); // 以下代码为保存图片时,设置压缩质量 EncoderParameters encoderParams = new EncoderParameters(); long[] lQualityS = new long[1]; lQualityS[0] = 100; EncoderParameter EncoderParameterVar = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, lQualityS); encoderParams.Param[0] = EncoderParameterVar; imageSource.Dispose();
2023-03-29 22:36:43 85KB VS2010 图片缩放
1
C#图片缩放控件源码,VS2013。亲测无误。 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
2023-03-29 22:30:24 218KB C# 图片 缩放控件 源码
1
这个控件用于浏览图片,可以实现图片的缩放、移动、与滚动条的配合等功能,基本满足了图片浏览的一般功能。 控件的使用可以参见我的空间:http://student.csdn.net/space.php?uid=127131&do=blog&id=19295 控件功能: 1、通过拖拽滚动条实现图片移动; 2、滚动鼠标滚轮轮实现图片上下移动; 3、按住Shift键滚动鼠标滚轮实现图片左右移动; 4、按住Ctrl键滚动鼠标滚轮实现图片的缩放。 5、通过设置isMove=True是鼠标具有拖拽图片功能。 6、控件缩放时自动调整图片在合适的位置。
2023-03-28 21:55:56 52KB C# 图片缩放 图片移动 滚动条
1
CS裁剪,二维或三维图形任意平移旋转缩放的复合算法,正等轴测投影,中点分割裁剪的QT,Web,VC,C#,OpenGL,Java
2023-03-18 20:40:50 679.76MB 算法 源码软件
1
内容索引:VB源码,图形处理,图像缩放  一个很好用的高级的图片浏览缩放控件,支持浮动图片缩放按钮、鼠标拖动、滚动条移动等功能,适时显示鼠标定位点在图片上的位置,基本上图片预览的功能都具备了,直接添加到工程中使用,编程方便灵活。
2023-03-14 00:35:33 14KB VB源代码 图形处理
1
VB 实现 图片选择、缩放 VB 实现 图片选择、缩放 VB 实现 图片选择、缩放 VB 实现 图片选择、缩放
1
vb实现滚轮缩放 用鼠标滚轮来实现窗体内容的放大和缩小。
2023-03-13 23:57:31 3KB vb实现滚轮缩放
1