1. Programmable Physics

    A custom tool(circle button) that is created by a class does not appear in toolbox after rebuild (VS 2022)

    I was trying to create a round button. For this, we need to create a class, here is the code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing.Drawing2D; namespace CircularButton...
  2. L

    Graphics overlap avoiding transparence

    Hi, I have a problem drawing in a PictureBox. To summarize and make an example: imagine you have to draw a rectangle at 0, 0 and it's 100x100 pixels; then you have to draw another rectangle 10x10 at the center (which should be at 45, 45 if i'm not mistaken) but the result shall be simply the...
  3. L

    Unable to return correct Coordinates using Rotation, Translate and Matrix invert

    Hello, what I am trying to do is rotate an image round its center and return the coordinate of the point pointed to by the mouse. The next step would be to Zoom in on any point in the image. The image is rotated to align an object to the Y-Axis. I am using GraphicsPath to achieve this. When I...
Top Bottom