码迷,mamicode.com
首页 >  
搜索关键字:slimming paint    ( 1185个结果
Android自定义ImageView实现图片圆形 ,椭圆和矩形圆角显示
Android中的ImageView只能显示矩形的图片,为了用户体验更多,Android实现圆角矩形,圆形或者椭圆等图形,一般通过自定义ImageView来实现,首先获取到图片的Bitmap,然后通过Paint和onDraw()进行圆形图片显示。 效果图: 代码: 源码下载: Eclipse下载:h ...
分类:移动开发   时间:2016-11-25 17:51:31    阅读次数:272
Winform自定义控件基础(一)
1.设置图像和文字以抗锯齿的方式呈现 2.指定区域绘图(常见于OnPaint函数中:g.DrawImage(...)) 或 3.指定区域绘制文本: 或者 ...
分类:Windows程序   时间:2016-11-22 12:57:14    阅读次数:204
【坐标离散化】AOJ0531- Paint Color
日文题……一开始被题目骗了以为真的要写文件? 题目大意&&解答戳:? ...
分类:其他好文   时间:2016-11-19 21:08:02    阅读次数:203
画画板小案例
...
分类:其他好文   时间:2016-11-16 17:16:11    阅读次数:186
swift 2.x学习笔记(一)
//: Playground - noun: a place where people can play import UIKit var str = "Hello, playground" //var 声明变量 很像JavaScript var myVariable = 42; myVariabl ...
分类:编程语言   时间:2016-11-16 02:22:05    阅读次数:302
巴斯卡图形
1 #include<stdio.h> 2 #define N 12 3 long combi(int n,int r){ 4 int i; 5 long p=1; 6 for(i=1;i<=r;i++) 7 p=p*(n-i+1)/i; 8 return p; 9 } 10 void paint( ...
分类:其他好文   时间:2016-11-12 16:30:06    阅读次数:229
Thread.sleep(0)的意义& 多线程
我们可能经常会用到 Thread.Sleep 函数来使线程挂起一段时间。那么你有没有正确的理解这个函数的用法呢?思考下面这两个问题: 假设现在是 2008-4-7 12:00:00.000,如果我调用一下 Thread.Sleep(1000) ,在 2008-4-7 12:00:01.000 的时候 ...
分类:编程语言   时间:2016-11-07 07:47:29    阅读次数:238
java中paint repaint update 之间的关系
最近总结了一下java中的paint,repaint和updata三者之间的关系,首先咱们都知道用paint方法来绘图,用repaint重绘,用update来写双缓冲。但是他们之间是怎么来调用的呢,咱们来分析一下(想直接看结果,请跳过分析过程): 1.首先咱们画在JFrame上面 import ja ...
分类:编程语言   时间:2016-11-06 09:38:40    阅读次数:329
hdu--5023 A Corrupt Mayor's Performance Art(线段树+区间更新+位运算)
Description Corrupt governors always find ways to get dirty money. Paint something, then sell the worthless painting at a high price to someone who wa ...
分类:其他好文   时间:2016-11-05 17:15:46    阅读次数:236
Paint Fence
There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjacent ...
分类:其他好文   时间:2016-11-04 02:10:55    阅读次数:187
1185条   上一页 1 ... 50 51 52 53 54 ... 119 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!