Structure and Interpretation of Computer Programs1.11 1 (define (func n) 2 (cond 3 ((= n 3) (+ (* 3 (func (- n 3))) (* 2 (func (- n 2))) (func (...
分类:
其他好文 时间:
2014-12-17 23:54:30
阅读次数:
240
屏幕PPI计算: (White^2+Height^2)^0.5/屏幕大小英寸数毫米和像素换算: mm=(px/dpi)*25.4px=(mm*dpi)/25.4 英寸=px/dpi 1英寸=25.4毫米dpi获取:方法1.using (Graphics graphic...
分类:
其他好文 时间:
2014-12-17 16:12:15
阅读次数:
2504
Fromhttps://source.android.com/devices/graphics/architecture.htmlGraphics architectureIN THIS DOCUMENTBufferQueue and grallocgralloc HALSurfaceFlinger...
分类:
移动开发 时间:
2014-12-17 14:27:21
阅读次数:
472
【Graphics.Blit】 需求注意第4个参数,用4个参数pass用于指定使用哪一个pass。默认值为-1,即使用所有的pass。 参考:file:///C:/Program%20Files%20(x86)/Unity/Editor/Data/Documentation/html/en/...
分类:
其他好文 时间:
2014-12-17 10:37:14
阅读次数:
183
3.1 基本条形图library(ggplot2)library(gcookbook)pg_mean #这是用到的数据 group weight 1 ctrl 5.032 2 trt1 4.661 3 trt2 5.526ggplot(pg_mean, aes(x=group, ...
分类:
其他好文 时间:
2014-12-16 16:59:20
阅读次数:
413
1. 简介MIX是Donald E.Knuth为其著作《The Art of Computer Programming》(《计算机程序设计艺术》,TAOCP)所设计的一个虚构的计算机。为这种计算设计的编程语言称之为MIX汇编语言(MIXAL)。由于这种计算机并不存在,因此,书上的算法并不能直接执行。...
分类:
其他好文 时间:
2014-12-15 23:14:56
阅读次数:
214
0. 引子
之前提到想要随便聊一聊RippleEffect的2D实现方法,近来又总算有了些许空余时间,于是便有了这篇东西~
1. 概述
RippleEffect我个人的理解是波纹或者说涟漪效果,与之前所讲的WaterEffect有所不同的是,RippleEffect表现的是水波产生与消散的一个过程,而WaterEffect更注重的则是持续的水波“荡漾”效果。
...
分类:
其他好文 时间:
2014-12-15 20:24:54
阅读次数:
650
Delphi中使用@取函数地址的问题例如以下代码:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs;type TForm1 = clas...