1、主Activity的源代码:package com.jhtg.happyagent;import android.annotation.SuppressLint;import android.app.Activity;import android.graphics.Bitmap;import a...
分类:
移动开发 时间:
2014-07-16 21:05:23
阅读次数:
144
《Windows Graphics Programming Win32 GDI and DirectDraw》6.1节中有这样的描述:The Windows NT/2000 graphics engine uses signed fixed-point numbers to represent co...
Pascal仿熊猫烧香病毒,慎用program japussy;useswindows, sysutils, classes, graphics, shellapi{, registry};constheadersize = 82432; //病毒体的大小iconoffset = $12eb8; /...
分类:
其他好文 时间:
2014-07-14 10:15:24
阅读次数:
244
drawRect:()默认是什么都不做的,1.如果基础一个UIView,子类可以使用Core Graphics框架和UIKit在这个方法中完成绘制操作。2.如果使用其他方法设置子类的content,可以不适用这个方法。如:你只是改变背景颜色,或者使用他的underlying layer对象(包括直接...
分类:
其他好文 时间:
2014-07-14 09:50:15
阅读次数:
221
BACKGROUNDMany algorithms on a graphics processing unit (GPU) may benefit from doing a query in a hierarchical tree structure (including quad-trees, o...
分类:
其他好文 时间:
2014-07-13 19:47:28
阅读次数:
289
C#中Graphics的画图代码【转】架上图片了你就可以在画板上涂改了啊我要写多几个字上去string str = "Baidu"; //写什么字?Font font = Font("宋体",30f); //字是什么样子的?Brush brush = Brushes.Red; //用红色涂上我的字吧...
分类:
其他好文 时间:
2014-07-13 19:45:20
阅读次数:
298
原图:处理后:下面贴代码:一、图片处理层:[java]view plaincopypackagecom.jacp.tone.view;importjava.util.ArrayList;importandroid.content.Context;importandroid.graphics.Bitm...
分类:
移动开发 时间:
2014-07-13 00:58:22
阅读次数:
376
学习Graphics中遇到位图(Bitmap)中getPixels()方法,对该方法的用法大体理解,但对其中的stride参数却不明白具体的用法以及用意,现记述过程如下:getPixels()方法的用处为获取位图(Bitmap)中的像素值(颜色值),存入类型为int的pixels数组中,至于从RGB...
分类:
其他好文 时间:
2014-07-12 13:52:02
阅读次数:
347
操作系统环境:LSBVersion::base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchDistributorID:RedHatEnterpriseServerDescription:RedHatEnterpriseLinuxServerrelease6.4(Santiag..
分类:
其他好文 时间:
2014-07-10 19:15:52
阅读次数:
443