@warn 和 @debug 功能类似,用来帮助我们更好的调试 Sass。如: ...
分类:
其他好文 时间:
2018-06-03 14:45:33
阅读次数:
135
module bt1120_gen #( parameter H_SYNC = 44, parameter H_FRONT_PORCH = 88, parameter H_BACK_PORCH = 148, parameter V_SYNC = 5, ... ...
分类:
其他好文 时间:
2018-06-01 13:42:45
阅读次数:
607
#!/usr/bin/env python # encoding: utf-8 import asyncio from requests_html import HTMLSession import time script = """ () => { return { width: document... ...
分类:
Web程序 时间:
2018-05-31 19:19:09
阅读次数:
1137
开源许可协议 License是软件的授权许可,表述了你获得代码后拥有的权利,可以对别人的作品进行何种操作,何种操作又是被禁止的。 开源许可证种类 Open Source Initiative http://www.opensource.org/licenses/alphabetical。常见开源协议 ...
分类:
其他好文 时间:
2018-05-28 01:00:37
阅读次数:
214
一.什么是渲染管道?是指在显示器上为了显示出图像而经过的一系列必要操作。渲染管道中的很多步骤,都要将几何物体从一个坐标系中变换到另一个坐标系中去。主要步骤有:本地坐标->视图坐标->背面裁剪->光照->裁剪->投影->视图变换->光栅化。二.如何优化内存?有很多种方式,例如1.压缩自带类库;2.将暂 ...
分类:
编程语言 时间:
2018-05-26 23:48:22
阅读次数:
662
.tab border-1px{red} minxin border-1px(&color) position:relative &::after display:block position:absolute left:0 bottom:0 width:100% border-top:1px so ...
分类:
其他好文 时间:
2018-05-26 19:41:36
阅读次数:
245
1.用到的包 public static void main(String[] args) { // TODO Auto-generated method stub int width = 100; int height = 100; // 1.创建一个不带透明色的BufferedImage对象 B... ...
分类:
编程语言 时间:
2018-05-26 11:46:22
阅读次数:
621
The S -transform with windows of arbitraryand varying shape 想画如上的三张图,可是问题 (1)滤波窗口的平滑实现 The filter (applied to the full 200£400 S-transform matrix)is c ...
分类:
其他好文 时间:
2018-05-25 19:35:23
阅读次数:
235
问题描述: 在QLabel上显示一张图片,然后在该图片上画一个矩形框 最后保存一张带矩形框的图片 第一步: 在图片上画矩形框 网上教程很多 代码如下: 头文件 源文件: 第二步: 保存画完后的整个图形 思路如下: 取得QLabel上的图像 将其加入到一个Painter 然后获取之前画的矩形框的 起始 ...
分类:
其他好文 时间:
2018-05-18 20:14:56
阅读次数:
520
第一种方案 使用 QPixmap 的 transformed 函数来实现旋转,这个函数默认是以图片中心为旋转点,不能设置旋转的中心点,使用如下: ~~~~ QMatrix matrix; matrix.rotate(45); QLabel Label= new QLabel(); Label set ...
分类:
其他好文 时间:
2018-05-15 00:22:43
阅读次数:
1035