Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

how do you scale and shift an object in c++ graphics?

I am trying to draw an object in C++ graphics and make it look like it is moving to the right. The object must become smaller as it moves to the right. Therefore, in order to do this, I need to scale and shift the object using a function: void drawArrow (Point tip, double scale). Any suggestions?

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    Hello,

    I am also a computer graphics student but good at it.

    I can solve your problem by seeing you code. May be you are drawing a circle and implemented a looping mechanism and that mechanism probably altering the radius of the circle.

    Post your code too or if you are using some sort of class than mention it post it also.

Still have questions? Get your answers by asking now.