DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • How to Build a Webstore Using Modern Stack (Nest.js, GraphQL, Apollo) Part 2
  • Real-Time Performance Monitoring in .NET Core With Grafana, InfluxDB, and Docker
  • .NET Performance Optimization Techniques for Expert Developers
  • Why Developers Should Contribute To Open Source

Trending

  • Selecting the Right Automated Tests
  • Demystifying Enterprise Integration Patterns: Bridging the Gap Between Systems
  • Docker and Kubernetes Transforming Modern Deployment
  • Best Practices for Writing Clean Java Code
  1. DZone
  2. Coding
  3. Languages
  4. DrawingBoard2 - A .Net GDI+ Drawing component (with source)

DrawingBoard2 - A .Net GDI+ Drawing component (with source)

Greg Duncan user avatar by
Greg Duncan
·
Jan. 22, 12 · News
Like (0)
Save
Tweet
Share
5.56K Views

Join the DZone community and get the full member experience.

Join For Free

Nazmi Altun's Blog - .NET GDI+ Drawing Component : DrawingBoard2

In one of my projects i have needed , a gdi+ drawing library for drawing simple geometrical shapes. So, found this graphical editor, KLONK Drawing Board . Its written in C# and GDI+ is used for drawing. It isnt a great component, but it was the most extensive open source project i 've found.It has many features , but it has no documentation and source code is a bit difficult to understand. I also couldn't find some shapes i need, such as Triangle . So , i've created my version , DrawingBoard2.

DrawingBoard2 is recomposed version of KLONK Drawing Board . A few features are also added.

image

What's new in this version?

  • New polygon shapes are added : Triangles( Right triangle and , Equaliteral triangle) , Hexagon, Pentagon, Trapezoid and other polygons.
  • Pie shape is added.
  • Table is added.
  • 3D Cube shape is added
  • Cartesian Plane is added
  • XML Serialization feature. Now shapes can be serialized/deserialized in XML format
  • Bitmap export. Now , drawing board can be exported as bitmap file.
  • Source code is recomposed , and documented

I thought this project and control pretty cool and the fact the source is available even cooler. This isn't the kind of control you see often...

Here's a snap of the sample project

SNAGHTML25493cb5

And of it running (which ran for me the first time);

SNAGHTML254a3871

Here's just a taste of what can be drawn;

image

Open source Bitmap XML Documentation Serialization Database .NET

Published at DZone with permission of Greg Duncan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • How to Build a Webstore Using Modern Stack (Nest.js, GraphQL, Apollo) Part 2
  • Real-Time Performance Monitoring in .NET Core With Grafana, InfluxDB, and Docker
  • .NET Performance Optimization Techniques for Expert Developers
  • Why Developers Should Contribute To Open Source

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: