在查看了ubuntu的debian rules,重新配置chromium
GYP_GENERATORS=make GYP_DEFINES="disable_sse2=1 use_third_party_translations=1 werror= sysroot= disable_nacl=1 linux_use_gold_binary=0 linux_use_gold_flags=0 enab...
分类:
其他好文 时间:
2014-09-15 14:23:38
阅读次数:
231
(1)java.awt.Image图像类是抽象类,提供获得绘图对象、图像缩放、选择图像平滑度等功能,声明如下:public abstract class Image extends Object{ public abstract Graphics getGraphics() //获得在图...
分类:
其他好文 时间:
2014-09-15 12:50:58
阅读次数:
171
本文由哈利_蜘蛛侠原创,转载请注明出处!有问题请联系2024958085@qq.com
这一次我们继续来讲述Jim Adams老哥的RPG编程书籍第二版第二章的第4节:Getting Down to Drawing。这一节可以说是超级长了,所以我们就分3次来讲吧!
由于这一节的内容实在是太多,所以我这一节的各小节的标题列在下面,以供大家参考:...
用的ide是vs 2013,自己学习都是参考网上的代码,由于vs不带tc的graphics.h,所以下载easyx库,将include和lib复制到vc的目录。easyx的graphics.h和tc的还是有区别的,百科上的示例使用上,基本和Turbo C没太大区别。启动Visual C++,创建一个...
分类:
编程语言 时间:
2014-09-14 12:46:47
阅读次数:
263
Android中使用图形处理引擎,2D部分是android SDK内部自己提供,3D部分是用Open GL ES 1.0。今天我们主要要了解的是2D相关的,如果你想看3D的话那么可以跳过这篇文章。 大 部分2D使用的api都在android.graphics和...
分类:
移动开发 时间:
2014-09-12 20:50:24
阅读次数:
451
在Ubuntu12.04上下载了Chromium Browser浏览器的源码,需要经过配置与编译才能运行。
配置的脚本如下:
#!/bin/sh
export GYP_DEFINES="disable_nacl=1 linux_use_gold_binary=0 linux_use_gold_flags=1 target_arch=ia32 remove_webcore_debug_sym...
分类:
其他好文 时间:
2014-09-12 17:22:33
阅读次数:
338
package com.example.toast;import android.app.Activity;import android.graphics.Color;import android.os.Bundle;import android.view.Gravity;impor...
分类:
移动开发 时间:
2014-09-12 11:54:23
阅读次数:
252
shader has error or is not supported by your graphics card
分类:
其他好文 时间:
2014-09-12 11:48:03
阅读次数:
197
http://graphics.stanford.edu/~seander/bithacks.htmlBit Twiddling HacksBy Sean Eron Andersonseander@cs.stanford.eduIndividually, thecode snippets here ...
分类:
其他好文 时间:
2014-09-11 22:15:02
阅读次数:
315
点击文字,实现文字转换,只用到了数组,还有动画效果,事件监听。 package com.example.textswitcher;import android.app.Activity;import android.graphics.Color;import android.os.Bundle...
分类:
移动开发 时间:
2014-09-11 20:49:12
阅读次数:
254