10分钟轻松学会 Python turtle 绘图 python2.6版本中后引入的一个简单的绘图工具,叫做海龟绘图(Turtle Graphics),turtle库是python的内部库,使用导入即可 import turtle 先说明一下turtle绘图的基础知识: 1. 画布(canvas) ...
分类:
其他好文 时间:
2018-10-10 00:58:03
阅读次数:
3344
package Captcha;import java.awt.Color;import java.awt.Font;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.image.BufferedImage;imp ...
分类:
其他好文 时间:
2018-10-08 13:01:00
阅读次数:
187
上次写的随笔,简单21点纸牌小游戏,当窗体大小改变时,纸牌画面会出现不显示的问题,因为每一张牌都是用GDI+的方法,从图片中剪裁下来的,没有用到vs提供的控件,如PictureBox控件,这就需要自己在窗体的Paint事件中来重新绘制图片,这样在窗体大小改变时,就能够正常显示纸牌图片了,代码中纸牌父 ...
分类:
其他好文 时间:
2018-10-07 14:39:13
阅读次数:
138
https://unity3d.com/cn/learn/tutorials/temas/performance-optimization/optimizing-graphics-rendering-unity-games (官方原文链接) 游戏中的图形渲染优化 介绍: 在这篇文章中我们将学习当Un ...
分类:
其他好文 时间:
2018-10-04 17:24:07
阅读次数:
197
using (Image i = Image.FromFile(inputPath)) { using (Graphics g = Graphics.FromImage(i)) { g.DrawString("John", Font, Brushes.Black, new PointF(fX, fY ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V... ...
分类:
Windows程序 时间:
2018-09-30 20:41:50
阅读次数:
1093
https://docs.microsoft.com/en-us/windows/desktop/direct3dtools/dx-graphics-tools-fxc-syntax https://www.gamedev.net/forums/topic/667801-some-basic-hel ...
分类:
其他好文 时间:
2018-09-30 20:14:25
阅读次数:
134
A GIF decoder: an exercise in Go interfaces 25 May 2011 Introduction At the Google I/O conference in San Francisco on May 10, 2011, we announced that ...
分类:
其他好文 时间:
2018-09-25 11:29:07
阅读次数:
203
https://github.com/NVIDIAGameWorks/Falcor/releases https://github.com/Microsoft/DirectX-Graphics-Samples/blob/master/Samples/Desktop/D3D12Raytracing/r ...
分类:
其他好文 时间:
2018-09-17 22:10:42
阅读次数:
206
作为一个Linux使用新手,一条指令执行下去,就可能是一堆的错误。这不,笔者在Ubuntu16.04上安装eclipse后没有菜单栏,用起来不是很方便,网上找一篇老师写的博客 "ubuntu 中 eclipse 的菜单栏 显示问题" ,亲测可行的解决方案 但是,当我重启虚拟机时出现问题, 干脆两个问 ...
分类:
系统相关 时间:
2018-09-14 12:03:24
阅读次数:
232