31
Graphics / draw ellipses
« on: January 05, 2010, 11:45:23 pm »
yes, i'm manipuling the pixels directily, for this, i want to know de math for make elipse with 4 points, X1,Y1,X2,Y2
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.
if (myevent.Type == sf::Event::KeyPressed and state == 0 and tempo_novo != -1 and myevent.Key.Code == sf::Key::A) {
if (myevent.Key.Code == sf::Key::BackSlash) {
pos_cur--;
nome_digit[pos_cur+1] = '\0';
}
else {
nome_digit[pos_cur] = myevent.Key.Code;
nome_digit[pos_cur+1] = '\0';
nome_str = nome_digit;
record_name[tempo_novo] = nome_str;
if (pos_cur < 13) {
pos_cur++;
}
}
}