Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道 X11 有用于批量绘制多个点的 XDrawPoints,但有时我希望有稍微大一点的点(如果你是这样的:通过它们画一条线很有用),但找不到任何方法来绘制更大的点无需做一些笨拙的事情,例如绘制一个填充的小矩形或带有端盖的零长度线。
有没有合理的方法来设置我缺少的点大小?
A point is a single pixel in Xlib. But XFillArcs() would let you create a list of XArc structures that describe small circles. Then you can scale these circles to any radius by setting XArc.width and XArc.height.