Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DimaGashko

Pages: [1]
1
Feature requests / Re: drawArc
« on: November 14, 2018, 01:39:28 am »
I know it, but arc it's not "one line function". I think using vertex array for arc it's the same to using vertex array for circle.

In addition, How can I set width of the line, how can I create something like that:
https://jsfiddle.net/saqkrm15/

2
Feature requests / drawArc
« on: November 13, 2018, 08:23:22 pm »
Many libraries in many languages have function like "drawArc". For example, html 5 Canvas only has ctx.arc(x, y, r, start, end):

ctx.arc(50,50,40,0,Math.PI * 2) - circle
ctx.arc(50,50,40,0,Math.PI) - half circle

But I was confused SFML didn't have something like that.

Pages: [1]