码迷,mamicode.com
首页 >  
搜索关键字:computer graphics    ( 5401个结果)
Android Paint Canvar 画几何图形
最近在研究自定义控件,遇到了几何图形的绘制,这里就贴出来常见的例子: 首先在主Activity中代码: package com.example.mycustomwidget; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import an...
分类:移动开发   时间:2015-05-04 15:34:30    阅读次数:190
iOS开发UI篇—Quartz2D使用(绘制基本图形)
一、简单说明图形上下文(Graphics Context):是一个CGContextRef类型的数据图形上下文的作用:保存绘图信息、绘图状态决定绘制的输出目标(绘制到什么地方去?)(输出目标可以是PDF文件、Bitmap或者显示器的窗口上)相同的一套绘图序列,指定不同的Graphics Contex...
分类:移动开发   时间:2015-05-03 18:50:06    阅读次数:128
[POJ 2420] A Star not a Tree?
A Star not a Tree?Time Limit:1000MSMemory Limit:65536KTotal Submissions:4058Accepted:2005DescriptionLuke wants to upgrade his home computer network fr...
分类:其他好文   时间:2015-05-03 00:45:01    阅读次数:125
图像缩放
#include #include #include int main(int argc, char* argv[]) { IplImage *src = 0; //源图像指针 IplImage *dst = 0; //目标图像指针 float scale = 0.618; //缩放倍数为0.618倍 CvSize dst_cvsize; /...
分类:其他好文   时间:2015-05-02 20:46:26    阅读次数:203
模式识别(Pattern Recognition)书单
Recommended BooksHere is a list of books which I have read and feel it is worth recommending to friends who are interested in computer science.Machine...
分类:其他好文   时间:2015-05-02 19:25:25    阅读次数:127
Android学习--使用url访问网络资源
实例:使用url从服务器端下载图片核心代码:packagecom.example.xiaocool.urltest; importandroid.graphics.Bitmap; importandroid.graphics.BitmapFactory; importandroid.os.Handler; importandroid.os.Message; importandroid.support.v7.app.ActionBarActivity; importand..
分类:移动开发   时间:2015-05-02 18:21:13    阅读次数:223
HDOJ 题目5087 Revenge of LIS II(第二长LIS)
Revenge of LIS II Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1195    Accepted Submission(s): 400 Problem Description In computer s...
分类:其他好文   时间:2015-05-02 09:46:20    阅读次数:117
ZOJ 3879 Capture the Flag
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5527 题面: Capture the Flag Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge In computer security,...
分类:其他好文   时间:2015-05-02 09:41:12    阅读次数:164
tornado协程(coroutine)原理
tornado中的协程是如何工作的本文将按以下结构进行组织,说明tornado中协程的执行原理 协程定义 生成器和yield语义 Future对象 ioloop对象 函数装饰器coroutine 总结 协程定义 Coroutines are computer program components that generalize subroutines for nonpreemptive mult...
分类:其他好文   时间:2015-05-02 06:20:14    阅读次数:1046
Unity Shader 入门
To be more specific, a Shader defines:The method to render an object. This includes using different methods depending on the graphics card of the end ...
分类:编程语言   时间:2015-05-01 07:00:27    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!