Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 356793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:08:42+00:00 2026-05-12T12:08:42+00:00

I need to draw a transparent plane over a User control in my DotNET

  • 0

I need to draw a transparent plane over a User control in my DotNET 2.0 app. That much is easy at least. The hard bit is that I need some (potentially overlapping) holes in this plane. Shape and size of the holes is not known at compile-time.

I tried to approach this with Region and excluding a bunch of GraphicPaths from it. This works great except that the edges of the holes are not anti-aliased.

Any other solutions?

Please bear in mind that the User control is the main part of a window which can be maximised. Thus, it has a potentially very large surface area. The solution must be fast enough to give me at least 10 fps in a full-screen case.

Edit: Added image of what I’d like to achieve:
Image of what I'm talking about. http://en.wiki.mcneel.com/content/upload/images/HolesInTPlane.png

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T12:08:42+00:00Added an answer on May 12, 2026 at 12:08 pm

    This is a way to do it: (although it doesnt sound fast, it uses pure blitfunctions so potentially it could be fast enough)

    1. Create an offscreen bitmap the size of your window. (you only need to do this once, you could keep it for subsequent paints)
    2. Fill it with the solid color.
    3. Cookiecut holes in the offscreen bitmap with a distinct color (purple for instance)
    4. bitblt the entire bitmap onto your window, half opaque and with purple as the colorkey. (so purple is not copied).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 276k
  • Answers 276k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If your View Models are shared by several Areas, put… May 13, 2026 at 2:53 pm
  • Editorial Team
    Editorial Team added an answer Try this String mess = getResources().getString(R.string.mess_1); UPDATE String string =… May 13, 2026 at 2:53 pm
  • Editorial Team
    Editorial Team added an answer When the Servlet container starts, it: reads web.xml; finds the… May 13, 2026 at 2:53 pm

Related Questions

I'm trying to create a HUD style display for a foreign application. To do
As part of a UI .net library I need to create corner PNG images
I want to make a WPF Grid in which users can drag and drop
A lot of apps pop up a transparent view with rounded corners and an

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.