![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图形图像
Arraylib
这个作者很懒,什么都没留下…
展开
-
像素、英寸、厘米之间的换算关系
72像素/英寸=28.346像素/厘米300像素/英寸=118.11像素/厘米1 厘米=0.3937 英寸1 英寸=2.54 厘米 首先告诉大家一个不幸的消息:像素不能直接换算成英寸、厘米,要在dpi下才能换算!photoshop中两种分辨率换算72像素/英寸=28.346像素/厘米300像素/英寸=118.11像素/厘米1 厘米=0.3937 英寸转载 2013-11-23 23:57:16 · 1485 阅读 · 0 评论 -
初探freetype字体库
文字的显示依赖于字体字库,大致的字体字库分为点阵字库、笔画字库和轮廓字库。点阵字库:缺点比较明显,缩放存在锯齿,渲染旋转等操作相对复杂,且效果不理想,先大多用在嵌入式行业(基本抛弃),常见格式有bdf,pcf,fnt,hbf,hzf等。笔画字体:不讨论。轮廓字体:即矢量字体,利用字体轮廓及填充实现字体显示,优势明显,渲染缩放较容易,但效率相对低些(相对于嵌入式) 简单来说,fr转载 2013-12-18 22:24:18 · 792 阅读 · 0 评论 -
Mipmapping and NPOT textures inside a pixel shader
In this post, I discuss my findings on image filtering, specifically how to do trilinear interpolation inside a pixel shader for non-power-of-two textures (npot). The shortcoming is due to the fact th转载 2015-06-22 22:15:05 · 747 阅读 · 0 评论