在VS中创建窗体(1)CDI+清除绘画面在窗体中写入代码:protected override void OnPaint(PaintEventArgs e){ Graphics g=e.Graphics; g.Clear(Color.Pink); g.Dispose();}(2)CGD+绘制多...
                            
                            
                                分类:
其他好文   时间:
2014-08-28 22:32:26   
                                阅读次数:
280
                             
                    
                        
                            
                            
                                FloatService:
package com.home.floatwindow;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.graphics.PixelFormat;
import android.os.IB...
                            
                            
                                分类:
移动开发   时间:
2014-08-28 21:17:17   
                                阅读次数:
291
                             
                    
                        
                            
                            
                                1 Android手机目前常见的分辨率1.1 手机常见分辨率:分辨率对应DPI"HVGA mdpi"480*320"WVGA hdpi ""FWVGA hdpi ""QHD hdpi ""720P xhdpi""1080P xxhdpi "4:3VGA 640*480 (Video Graphics...
                            
                            
                                分类:
移动开发   时间:
2014-08-28 08:27:59   
                                阅读次数:
242
                             
                    
                        
                            
                            
                                转载自:http://blog.csdn.net/jie_qing/article/details/7259520在学习Graphics中遇到位图(Bitmap)中getPixels()方法,对该方法的用法大体理解,但对其中的stride参数却不明白具体的用法以及用意,经过一番折腾后,有些明了,现记...
                            
                            
                                分类:
其他好文   时间:
2014-08-27 14:37:28   
                                阅读次数:
316
                             
                    
                        
                            
                            
                                Desc在cApplication的构造函数中初始化mDragLook为false,否则就能自由移动摄像机了。Graphics.h/*************************************************** ©2014 Pf_D. All rights reserv...
                            
                            
                                分类:
其他好文   时间:
2014-08-27 14:22:07   
                                阅读次数:
246
                             
                    
                        
                            
                            
                                1.绘制箭头的三种方式
  // Drawing code
//    CGContextRef con = UIGraphicsGetCurrentContext();
//    //draw a black(by default) vertical line,the shaft of the arrow  箭杆
//    CGContextMoveToPoint(con, 100, 10...
                            
                            
                         
                    
                        
                            
                            
                                // view的完整显示过程// 1. view.layer会准备一个Layer Graphics Contex(图层类型的上下文)// 2.调用view.layer.delegate(view)的drawLayer:inContext:,并传入刚才准备好的上下文// 3. view的drawLay...
                            
                            
                                分类:
其他好文   时间:
2014-08-27 00:10:36   
                                阅读次数:
330
                             
                    
                        
                            
                            
                                首先了解一下CGContextRef:An opaque type that represents a Quartz 2D drawing environment.Graphics Context是图形上下文,可以将其理解为一块画布,我们可以在上面进行绘画操作,绘制完成后,将画布放到我们的view中...
                            
                            
                                分类:
移动开发   时间:
2014-08-26 17:08:26   
                                阅读次数:
499
                             
                    
                        
                            
                            
                                android.graphics.Camera可以对图像执行一些比较复杂的操作,诸如旋转与绽放,与Matrix可实现图像的倾斜。个人总结Camera与Matrix的一些区别如下:Camera的rotate()相关方法是指定某一维度上旋转指定的角度。Matrix的rotate()相关方法实现的效果是顺...
                            
                            
                                分类:
移动开发   时间:
2014-08-25 16:40:44   
                                阅读次数:
321
                             
                    
                        
                            
                            
                                借鉴了网上好多文章,但是因为是去年做的cobbler,忘记是哪些地址,故暂未附上,见谅。[root@kingserver111 ~]# lsb_release -aLSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:grap...
                            
                            
                                分类:
其他好文   时间:
2014-08-25 11:42:54   
                                阅读次数:
500