목록SFML event (1)
영넌 개발로그

Color class Black, White, Red, Green, Blue, Yellow, Magenta(분홍), Cyan(하늘), Transparent(투명) CircleShape shape(radius, pointCount); radius : 반지름 pointCount : 원을 그릴 때 삼각형을 여러개 모아서 원을 만든다. 그 개수를 입력 (생략 가능) CircleShape shape(50.0f); shape.setFillColor(Color::Green); CircleShape::setPosition(float x, float y) x,y의 좌표 설정 (default : 0,0) 원의 중앙 좌표가 아닌 좌상단의 좌표를 설정하는 것 CircleShape shape(50.0f); shape.setFi..
코딩/C++
2020. 12. 3. 05:01