码迷,mamicode.com
首页 >  
搜索关键字:chromium graphics    ( 3289个结果
GDI+的应用
在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
Android悬浮窗口
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
android 常见分辨率(mdpi、hdpi 、xhdpi、xxhdpi )及屏幕适配注意事项
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
Bitmap类getPixels()方法中参数stride理解
转载自:http://blog.csdn.net/jie_qing/article/details/7259520在学习Graphics中遇到位图(Bitmap)中getPixels()方法,对该方法的用法大体理解,但对其中的stride参数却不明白具体的用法以及用意,经过一番折腾后,有些明了,现记...
分类:其他好文   时间:2014-08-27 14:37:28    阅读次数:316
HiCameraTrack
Desc在cApplication的构造函数中初始化mDragLook为false,否则就能自由移动摄像机了。Graphics.h/*************************************************** ©2014 Pf_D. All rights reserv...
分类:其他好文   时间:2014-08-27 14:22:07    阅读次数:246
Core Graphics 学习笔记 之 Image Drawing(二)
1.绘制箭头的三种方式 // Drawing code // CGContextRef con = UIGraphicsGetCurrentContext(); // //draw a black(by default) vertical line,the shaft of the arrow 箭杆 // CGContextMoveToPoint(con, 100, 10...
分类:Windows程序   时间:2014-08-27 13:01:27    阅读次数:293
CALayer
// view的完整显示过程// 1. view.layer会准备一个Layer Graphics Contex(图层类型的上下文)// 2.调用view.layer.delegate(view)的drawLayer:inContext:,并传入刚才准备好的上下文// 3. view的drawLay...
分类:其他好文   时间:2014-08-27 00:10:36    阅读次数:330
IOS用CGContextRef画各种图形(文字、圆、直线、弧线、矩形、扇形、椭圆、三角形、圆角
首先了解一下CGContextRef:An opaque type that represents a Quartz 2D drawing environment.Graphics Context是图形上下文,可以将其理解为一块画布,我们可以在上面进行绘画操作,绘制完成后,将画布放到我们的view中...
分类:移动开发   时间:2014-08-26 17:08:26    阅读次数:499
[Android]android.graphics.Camera实现图像的旋转、缩放,配合Matrix实现图像的倾斜
android.graphics.Camera可以对图像执行一些比较复杂的操作,诸如旋转与绽放,与Matrix可实现图像的倾斜。个人总结Camera与Matrix的一些区别如下:Camera的rotate()相关方法是指定某一维度上旋转指定的角度。Matrix的rotate()相关方法实现的效果是顺...
分类:移动开发   时间:2014-08-25 16:40:44    阅读次数:321
cobbler配置
借鉴了网上好多文章,但是因为是去年做的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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!