Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black dots in circle border when drawing with custom pensize #68

Closed
yonghuming opened this issue Feb 27, 2018 · 1 comment
Closed

black dots in circle border when drawing with custom pensize #68

yonghuming opened this issue Feb 27, 2018 · 1 comment

Comments

@yonghuming
Copy link

i have update the code in screen.py so i can draw images with custom pensize, but the output seems strange.

def circle(self, pos, radius, color, pensize = 1):
        """Draw a circle."""
        pos = round_pos(pos)
        pygame.draw.circle(self._surf, make_color(color), pos, radius, pensize)

then i draw circle with pensize 10

def draw():
    screen.clear()
    screen.draw.circle((400, 300), 300, 'red', 10)

so, you can see there are black dots in circle border
image

@lordmauve
Copy link
Owner

This is an pygame/pygame#388, fixed in pygame/pygame#389.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants