用边框绘制粗线 [英] Draw Thick Line with Border

查看:138
本文介绍了用边框绘制粗线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用c ++绘制一条粗线,并从所有边添加一条边框到这条线。我使用moveto,lineto函数,但不知道如何跟踪线宽来绘制边框。

I am trying to draw a thick line using c++, and add a border to this line from all side. I am using moveto, lineto functions, but not sure how to track the line width to draw borders. this is require for generic line.

推荐答案

您可能必须使用 MoveTo LineTo 功能。
由于你没有描述你的需要,不知道你想要什么。

You may have to use MoveTo and LineTo functions. As you didn't describe much about your need, not sure what exactly you want.

这篇关于用边框绘制粗线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆