<html>
<center>
<h2>Vector deformation</h2>
</center>
<p>This demo shows how to use advanced vector techniques to draw text
using a <code>QPainterPath</code>.</p>
<p>We define a vector deformation field in the shape of a lens and apply
this to all points in a path. This means that what is rendered on
screen is not pixel manipulation, but modified vector representations of
the glyphs themselves. This is visible from the high quality of the
antialiased edges for the deformed glyphs.</p>
<p>To get a fairly complex path we allow the user to type in text and
convert the text to paths. This is done using the
<code>QPainterPath::addText()</code> function.</p>
<p>The lens is drawn using a single call to <code>drawEllipse()</code>, using
a <code>QRadialGradient</code> to fill it with a specialized color table,
giving the effect of the Sun's reflection and a drop shadow. The lens
is cached as a pixmap for better performance.</p>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
target-qte-4.8.5-to-devboard 对应Ubuntu系统
需积分: 20 37 下载量 59 浏览量
2016-06-08
11:19:25
上传
评论 1
收藏 23.35MB TGZ 举报
温馨提示
共232个文件
png:30个
qpf:29个
so:27个
target-qte-4.8.5-to-devboard 对应Ubuntu系统
资源推荐
资源详情
资源评论
收起资源包目录
target-qte-4.8.5-to-devboard 对应Ubuntu系统 (232个子文件)
libQtWebKit.so.4.9.4 16.91MB
libQtWebKit.so.4 16.91MB
libQtGui.so.4 9.14MB
libQtCore.so.4 2.94MB
libQtDeclarative.so.4 2.71MB
libQt3Support.so.4 2.35MB
libQtScript.so.4 1.91MB
libQtNetwork.so.4 906KB
libQtScriptTools.so.4 589KB
libQtSvg.so.4 276KB
libQtXml.so.4 222KB
libQtSql.so.4 203KB
libQtTest.so.4 123KB
libQtMultimedia.so.4 90KB
libQtGui.so.4.8.5 9.14MB
libQtCore.so.4.8.5 2.94MB
libQtDeclarative.so.4.8.5 2.71MB
libQt3Support.so.4.8.5 2.35MB
libQtScript.so.4.8.5 1.91MB
libQtNetwork.so.4.8.5 906KB
libQtScriptTools.so.4.8.5 589KB
libQtSvg.so.4.8.5 276KB
libQtXml.so.4.8.5 222KB
libQtSql.so.4.8.5 203KB
libQtTest.so.4.8.5 123KB
libQtMultimedia.so.4.8.5 90KB
libQtGui.so.4.8 9.14MB
libQtCore.so.4.8 2.94MB
libQtDeclarative.so.4.8 2.71MB
libQt3Support.so.4.8 2.35MB
libQtScript.so.4.8 1.91MB
libQtNetwork.so.4.8 906KB
libQtScriptTools.so.4.8 589KB
libQtSvg.so.4.8 276KB
libQtXml.so.4.8 222KB
libQtSql.so.4.8 203KB
libQtTest.so.4.8 123KB
libQtMultimedia.so.4.8 90KB
libQtWebKit.so.4.9 16.91MB
concentriccircles 18KB
deform 103KB
embeddedsvgviewer 26KB
fluidlauncher 74KB
pathdeform.html 947B
pathstroke.html 644B
libQtWebKit.la 894B
libQtDeclarative.la 882B
libQtScriptTools.la 866B
libQt3Support.la 850B
libQtMultimedia.la 848B
libQtNetwork.la 807B
libQtScript.la 800B
libQtSvg.la 799B
libQtGui.la 791B
libQtTest.la 786B
libQtXml.la 779B
libQtSql.la 779B
libQtCore.la 729B
pathstroke 107KB
QtWebKit.pc 1KB
Qt3Support.pc 1KB
QtDeclarative.pc 1KB
QtScriptTools.pc 1KB
QtMultimedia.pc 1KB
QtScript.pc 1KB
QtGui.pc 1KB
QtSvg.pc 1KB
QtNetwork.pc 1KB
QtSql.pc 1KB
QtXml.pc 1KB
QtTest.pc 1KB
QtCore.pc 1008B
courb.pfa 124KB
cour.pfa 123KB
courbi.pfa 122KB
couri.pfa 119KB
l049033t.pfa 100KB
l049036t.pfa 93KB
l049013t.pfa 92KB
l049016t.pfa 91KB
l047036t.pfa 77KB
l047016t.pfa 76KB
l047033t.pfa 76KB
l047013t.pfa 76KB
UTBI____.pfa 74KB
UTI_____.pfa 73KB
UTB_____.pfa 71KB
l048016t.pfa 71KB
UTRG____.pfa 71KB
l048033t.pfa 71KB
l048036t.pfa 70KB
l048013t.pfa 68KB
cursor.pfa 54KB
c0419bt_.pfb 40KB
c0583bt_.pfb 39KB
c0611bt_.pfb 39KB
c0582bt_.pfb 39KB
c0633bt_.pfb 34KB
c0649bt_.pfb 34KB
c0648bt_.pfb 34KB
共 232 条
- 1
- 2
- 3
资源评论
DevilBox
- 粉丝: 35
- 资源: 36
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功