Developing a Paint program with GTK (Windows)

Source: Internet
Author: User
Tags gtk

GTK is a powerful development platform, cross-system, provides a rich and extensive code base, application developers can quickly make their own products.

This month with him to develop a GUI program, is a drawing tool, features include: Image import and export, line editing, drag, delete, adjust the thickness, color, actual situation, shadow, the highlight is to achieve a custom style: sharp-off line (the project will add more Linetype). The sharp-off line is a commonly used drawing line in petroleum exploration data processing. The process of using the GUI is to import a basemap first, then draw lines on top of the basemap or insert other pictures, text, and finally export the whole as a picture. Example of the sample:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4C/6E/wKioL1Q9KBeB7wNNAAacs0dspcA178.jpg "title=" A.png " alt= "Wkiol1q9kbeb7wnnaaacs0dspca178.jpg"/> Penguin chart is a background map, the Blue line is a sharp-off line, there are some other lines and menus.

The development is based on the Windows GTK + platform, with C language development. After the initial tuning, the results are still satisfied:), now drag the line when the screen is very smooth. will be uploaded to GitHub later on.


This article is from the "some" blog, be sure to keep this source http://2924037.blog.51cto.com/2914037/1564101

Developing a Paint program with GTK (Windows)

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.