Problem Description
The God of sheep decides to pixelate some pictures (i.e., change them into pictures with mosaic). Here's how he is gonna make it: for each picture, he divides the picture into n x...
分类:
其他好文 时间:
2014-11-07 19:04:18
阅读次数:
373
Layer-3 音频文件,MPEG(Moving Picture Experts Group) 在汉语中译为活动图像专家组,特指活动影音压缩标准,MPEG音频文件是MPEG1 标准中的声音部分,也叫MPEG 音频层,它根据压缩质量和编码复杂程度划分为三层,即Layer-1、Layer2、Layer3,且分别对应MP1、MP2、MP3 这三种声音文件,并根据不同的用途,使用不同层次的编码。MPEG 音频编码的层次越高,编码器越复杂,压缩率也越高,MP1 和MP2 的压缩率分别为4:1 和6:1-8:1,而MP...
分类:
其他好文 时间:
2014-11-06 21:57:32
阅读次数:
392
4.3Pictrue控件(打造成对话框分割线)
对话框中,添加适量的分割线会使得对话框的格局更清晰,合理。
1.添加Picture控件到对话框,拖拽成一条线,就可以变成对话框中的分割线。
图1
2.设置Picture控件属性Sunken,可以使分割线有下陷的效果。
图2.
3.通过关联Pictrue控件变量的ShowWindows()函数控制分...
分类:
其他好文 时间:
2014-11-06 14:57:59
阅读次数:
145
Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEOCamera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE Camera.Parameters.FO...
分类:
移动开发 时间:
2014-11-03 10:05:12
阅读次数:
252
A n * m grid as follow:
Count the number of triangles, three of whose vertice must be grid-points.
Note that the three vertice of the triangle must not be in a line(the right picture is not a...
分类:
其他好文 时间:
2014-10-31 22:20:02
阅读次数:
264
往svn服务器提交代码时候,
遇到错误:org.apache.subversion.javahl.ClientException: svn: E155011: Commit failed (details follow): svn: E155011: Directory 'D:\Android2\Picture\bin\dexedLibs' is out of date org.apache.s...
分类:
编程语言 时间:
2014-10-29 15:01:49
阅读次数:
1689
Remember the picture generator you wrote earlier? Let's write another one, but this time it will return an implementation ofimage.Imageinstead of a sl...
分类:
其他好文 时间:
2014-10-29 00:02:52
阅读次数:
394
一、java program progress of excuting:show in next picture
How about the java virtual machine is it,what situation is in the jvm,or how to worke is going?
If you want to slov...
分类:
编程语言 时间:
2014-10-21 23:20:36
阅读次数:
467
1 在初始化函数中使用2 3 //给picture control控件加载图片 4 CStatic *pStatic = (CStatic *)GetDlgItem(IDC_STATIC_UP);5 HBITMAP hBitmap = ::LoadBitmap(AfxGetApp()->m_hIns...
分类:
其他好文 时间:
2014-10-21 14:59:43
阅读次数:
245
//给 image上写数字。 Image1.Picture.Bitmap.Height:= Image1.Height; Image1.Picture.Bitmap.Width:= Image1.Width; Image1.Picture.Bitmap.Canvas.Font.Size:=10...
分类:
其他好文 时间:
2014-10-20 16:53:46
阅读次数:
169