Pinta 是一款开源免费的图形编辑绘图软件,受Paint.NET启发而开发,使用Gtk#、cairo和有些Paint.NET的源代码。作者是在Novell公司工作的Jonathan Pobst。目标是为用户提供一款可运行在Linux、mac和windows系统上的简单而强大的绘图编辑软件。 Pin ...
分类:
系统相关 时间:
2018-09-07 18:38:18
阅读次数:
255
分析 Profiler窗口 1. CPU A. WaitForTargetFPS: Vsync(垂直同步)功能所,即显示当前帧的CPU等待时间 B. Overhead: Profiler总体时间-所有单项的记录时间总和。用于记录尚不明确的时间消耗,以帮助进一步完善Profiler的统计。 C. Ph ...
分类:
其他好文 时间:
2018-09-05 09:00:21
阅读次数:
202
Paint.setStrokeCap(cap) 可以设置点的形状,但这个方法并不是专门用来设置点的形状的,而是一个设置线条端点形状的方法。端点有圆头 (ROUND)、平头 (BUTT) 和方头 (SQUARE) 三种,具体会在下一节里面讲。 Path path = new Path(); path. ...
分类:
其他好文 时间:
2018-09-04 13:42:41
阅读次数:
1162
This example demonstrates how to set a clipping area using a shape. The example sets an oval for the clipping area and then draws and image. Only thos ...
分类:
其他好文 时间:
2018-09-03 00:00:01
阅读次数:
182
To draw on the screen, it is first necessary to subclass a JComponent and override its paint() method. The paint() method is automatically called by t ...
// See e575 The Quintessential Drawing Program public void paint(Graphics g) { // Retrieve the graphics context; this object is used to paint shapes G... ...
分类:
其他好文 时间:
2018-09-02 23:42:05
阅读次数:
237
任意门:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1610 Count the Colors Painting some colored segments on a line, some previously paint ...
分类:
其他好文 时间:
2018-08-29 20:30:31
阅读次数:
167
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 ...
分类:
其他好文 时间:
2018-08-28 10:37:14
阅读次数:
148
这个题和我一开始想的区别不是很大,但是要我独自做出来还是有一些难度。 每一次涂色 只有这两种可能: 1) 把一段未被 覆盖过的区间 涂成 * 色 2) 把一段被一种颜色覆盖的区间涂成 * 色 (并且 涂色区间 的两端 同为 被覆盖区间的颜色, 不然就是第一种了) 这种 dp 都要 存一个 f[i][ ...
分类:
其他好文 时间:
2018-08-26 19:38:14
阅读次数:
144
1.查看电脑的开机启动项: window健 + r → msconfig 进入系统配置窗口,可以看到常规,引导,服务,启动,工具等标签,查看启动标签。 2.打开记事本: window健 + r → notepad 打开一个无标题的记事本。 3.打开画图工具 window健 + r → mspaint ...