Windows plotting and GDI + Problems

Source: Internet
Author: User

1.Graphics It depends on the region size. If the form size 400*300 Created Graphics Object G When the form is dragged 600*400 , G It is invalid to draw multiple areas. So Pen , Brush , Font Is it also related to the form with the feature size?

2.G. drawcurves () , G. drawlines () , G. drawline () . Which function of multi-point connection is highly efficient? Drawcurves There is an extra radian between two points; Drawlines The performance is unstable. Bug , That is, the connection is incorrect; Drawline The performance is the worst, but it is safe and reliable. Drawlines Why? Bug ?

3. Often draw forms with a large number of images A , Switch to the form B In A How can I partially plot the drawn image B On, yes Windows System refresh problem, or Graphics Question about the object itself?

4. How to Create a translucent form subcontrol? When you move a semi-transparent form, other forms that are overwritten by the form do not trigger re-painting. Prompt 1> Create a semi-transparent form C # It is easy to do, but when it is created by other forms, it is translucent and opaque. It seems that the parent form is not transparent, so the child form cannot be transparent. 2> tooltip when the control is moved, it does not seem to trigger the screen weight painting of other windows, but Microsoft does not guarantee that it will trigger it occasionally.

5. Any public static (visual Ba shared IN SIC) is thread-safe, but it does not guarantee that all instance members are thread-safe. occasional errors occur when used across threads. The same graphics no problem.

6.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.