In Form C, when you draw a circle, there are always rectangular teeth around it, how do you eliminat

Updated on technology 2024-03-28
9 answers
  1. Anonymous users2024-02-07

    GDI is like this, you can use any of the following methods I provide to alleviate this problem. 1. Before drawing this circle, draw a blue circle with a slightly lighter color, with a radius larger than your circle, so as to achieve the effect of blurring the edges, and add more circles (but the more the circle drawn before must have a slightly larger radius than the radius of the circle behind, and the color is slightly lighter), the better the effect. 2. Using WPF, this is not GDI but based on DX, which is more exquisite.

    3. Direct MDX drawing, a bit of a killing knife feeling. If you're just wondering why it's jagged, then I've got you, and if you're very graphically oriented, I suggest you ditch GDI and learn other graphics frameworks.

  2. Anonymous users2024-02-06

    Draw in the paint of the form, and you can draw it directly with the graphics in the e passed in the event.

  3. Anonymous users2024-02-05

    Please refer to the GDI+ technology in C technology, which has a detailed introduction, any book about C has it, you can just check it. Or don't go to the CSDN forum and have it.

  4. Anonymous users2024-02-04

    g1 = ;

    the color you want);

    It was emptied.

  5. Anonymous users2024-02-03

    What do you say winfrom? This can be done with artboards in Winfrom, and if you want to load them at load time, you need to know the serialization and deserialization operations in C.

  6. Anonymous users2024-02-02

    Do you want to display a picture or draw on the interface Similar to the "Paint" that comes with Windows?

  7. Anonymous users2024-02-01

    Each widget has a way to get the canvas, just use a brush or brush to paint on the canvas. In addition, if you want to still see ** when the form is redisplayed, you need to write the ** of the drawing in the redraw method of the form.

  8. Anonymous users2024-01-31

    It is most convenient to replace the whole two **.

  9. Anonymous users2024-01-30

    First, set the form's transparencykey to a special color, such as green.

    Then in the paint event of the form, it is handled like this, for example:

    graphicspath mypath = new graphicspath();

    new rectangle( 0,0, 40,40 ),180f, 90f );

    mypath );

Related questions
19 answers2024-03-28

Write in the click of button1; Then write using system in the main function; >>>More

24 answers2024-03-28

First of all, from the conversation between Yuan Tao and Lao Lu, I know that Rootless is one of the thirty-six thieves and the owner of one of the Eight Wonder Skills, Tongtian Seal! Rootless is also a person who values love and righteousness!

11 answers2024-03-28

It is very fortunate to meet a good club in college, which is an indispensable part of our university life, and the benefits of a good club are endless. >>>More

14 answers2024-03-28

When creating a file output stream object, add the std::ios::ate flag, and all the data is added to the end of the file when exporting. >>>More

12 answers2024-03-28

Let's take the example of recording a macro with the title "Centering across columns" to see the specific recording process >>>More