首页 > 移动平台 > 详细

Android零碎知识(一)

时间:2014-12-10 10:38:01      阅读:301      评论:0      收藏:0      [点我收藏+]

public abstract Resources getResources ()

Return a Resources instance for your application‘s package.

 

 

BitmapFactory
extends Object

java.lang.Object 
   ? android.graphics.BitmapFactory 

Class Overview

--------------------------------------------------------------------------------

Creates Bitmap objects from various sources, including files, streams, and byte-arrays. 

 

public void translate (float dx, float dy) 
Added in API level 1
Preconcat the current matrix with the specified translation



When working with matrices, the word concatenation refers to multiplication.

Since matrix multiplication is not commutative, there is a separate word for backwards multiplication.
Pre-concatenating a to b means setting a = b × a. (As opposed to a = a × b, which will give a different matrix)

The canvas maintains a matrix and the canvas is manipulated by methods which are well defined in OpenGL

 

Android零碎知识(一)

原文:http://www.cnblogs.com/hixin/p/4154688.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!