一些常用接口:clone(): 得到位图数据的拷贝;用途:深复制位图draw(source :IBitmapDrawable...): source 要绘制到 BitmapData 对象的显示对象或 BitmapData 对象。(DisplayObject 和 BitmapData 类实现 IBit...
分类:
其他好文 时间:
2015-04-17 17:57:46
阅读次数:
133
1.使用内置Gallery应用程序选择图像:
package com.example.testphotoedit;
import java.io.FileNotFoundException;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import an...
分类:
移动开发 时间:
2015-04-17 15:46:55
阅读次数:
141
更换radiobutton中的图片在xml中很好设置,但对于初学者如何在代码中设置还是不容易找的。没法子,通过看原版api找到两个方法,setCompoundDrawables和setCompoundDrawablesWithIntrinsicBounds。下面交给大家方法。第一个方法:setCom...
分类:
移动开发 时间:
2015-04-17 15:32:28
阅读次数:
220
Fonts in X11R7.7 原文链接 两种字体系统:core X11 fonts system 和 Xft fonts system,最初core fonts system只支持位图格式的字体,后来发展到可以支持scalable字体和可选转的象形字体。 字体安装:xft系统依赖...
分类:
其他好文 时间:
2015-04-17 14:08:32
阅读次数:
125
package com.bob.verifycode;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
impor...
分类:
其他好文 时间:
2015-04-17 14:00:34
阅读次数:
183
下面结合官方文档和实验介绍下HWM:
以下英文摘自11gR2官方文档:
HWM(high water mark):The boundary between used and unused space in a segment.
ORACLE9i之后开始使用自动段空间管理即ASSM,它使用位图来管理段空间的使用情况,如果表空间ASSM,则表空间中的段也是ASSM.
At table c...
分类:
其他好文 时间:
2015-04-16 15:45:13
阅读次数:
242
activity_main.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:l...
分类:
移动开发 时间:
2015-04-15 21:33:18
阅读次数:
200
http://childhood.logdown.com/posts/190580/-details-using-shoebox-produce-bitmap-fonts?utm_source=tuicool1 ShoeBox 简介ShoeBox官网ShoeBox是一个基于AdobeAIR实现的免费...
分类:
其他好文 时间:
2015-04-14 16:25:38
阅读次数:
2222
位图是我们开发中最常用的资源,毕竟一个漂亮的界面对用户是最有吸引力的。1. 从资源中获取位图可以使用BitmapDrawable或者BitmapFactory来获取资源中的位图。当然,首先需要获取资源: Resources res=getResources();使用BitmapDrawable获取位...
分类:
移动开发 时间:
2015-04-14 12:35:22
阅读次数:
206