码迷,mamicode.com
首页 >  
搜索关键字:slimming paint    ( 1185个结果
Leetcode: Paint House II
There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. Yo...
分类:其他好文   时间:2015-12-23 14:30:27    阅读次数:393
Android中view的简单应用---随手指移动的小球
publicclassDrawViewextendsView{ publicfloatcurrentX=40; publicfloatcurrentY=50; publicDrawView(Contextcontext){ super(context); } //重写ondraw,通过canvas绘画 protectedvoidonDraw(Canvascanvas){ Paintpaint=newPaint(); paint.setColor(Color.RED); canvas.drawCir..
分类:移动开发   时间:2015-12-21 23:52:13    阅读次数:431
hdu 3980 Paint Chain sg函数
题目链接给一个长度为n的环, 两个人轮流涂色, 每次涂m个连续的, 无法继续涂了就输。 1 #include 2 using namespace std; 3 #define pb(x) push_back(x) 4 #define ll long long 5 #define mk(x, y) m...
分类:其他好文   时间:2015-12-16 21:20:03    阅读次数:171
函数的简单调用
1 #include 2 #include 3 #include 4 int Move(); 5 int Bulid(); 6 int Paint(); 7 int main () 8 { 9 Move();10 Bulid();11 Paint();12 13 ...
分类:其他好文   时间:2015-12-16 09:25:30    阅读次数:160
获取Graphics对象的方法
在做自定义控件时或者GDI+的时候经常会遇到获取Graphics实例的问题。一般有三种获取方式1、从Paint事件的参数中获取。窗体和许多控件都有一个Paint事件,有一个PaintEventArgs类型的参数eprivatevoidForm1_Paint(objectsender,System.W...
分类:其他好文   时间:2015-12-14 12:12:43    阅读次数:183
循环滚动TextView
import android.content.Context;import android.graphics.Canvas;import android.graphics.Paint;import android.util.AttributeSet;import android.util.Log;i...
分类:其他好文   时间:2015-12-10 13:24:41    阅读次数:224
字体描边 终极版
package com.joyodream.common.view;import android.content.Context;import android.graphics.Canvas;import android.graphics.Paint.Style;import android.tex...
分类:其他好文   时间:2015-12-08 16:02:04    阅读次数:112
256. Paint House
题目:There are a row ofnhouses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certa...
分类:其他好文   时间:2015-12-03 07:12:06    阅读次数:127
[LeetCode]Paint House II
public class Solution { public int minCostII(int[][] costs) { int n = costs.length; if (n == 0) { return 0; } ...
分类:其他好文   时间:2015-12-01 08:26:19    阅读次数:112
[css]我要用css画幅画(五)
接着之前的[css]我要用css画幅画(四), 这次我给小明和静静增加了对话,用了简单的动画效果。github:https://github.com/bee0060/Css-Paint, 完整代码在pages/sun-house-4.html和相关的css中可以找到demo:http://bee00...
分类:Web程序   时间:2015-11-27 17:31:16    阅读次数:282
1185条   上一页 1 ... 68 69 70 71 72 ... 119 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!