Click here to Skip to main content
15,895,142 members
Articles / Programming Languages / C#

Erasing the content from canvas

Rate me:
Please Sign up or sign in to vote.
2.00/5 (1 vote)
27 Jun 2012CPOL 4.9K   1  
Hi, I am developing a paint like application in metro style. I want to apply a eraser functionality. So how can I make such a tool for erasing the content from canvas like we do in MS paint ?I don't want to clear whole canvas, wherever I click or drag the pointer, the path traveled by the...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
27 Jun 2012Zoltán Zörgő
I have no experience in metro, but erasing in a raster environment is nothing more than painting with background color.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead eInfochips (An Arrow Company)
India India
Leading a passionate team to build metadata driven generic IoT Platform using for the operating companies (OpCos) of a Fortune 500 American conglomerate manufacturer of industrial products having annual revenue over $7 billion. Willing to join product-based and SaaS companies having production workloads and serving end customers happily.

Comments and Discussions