Questions tagged [drawing2d]

110 questions
0
votes
3 answers

Why does System.Drawing.Drawing2D.Matrix derive from MarshalByRefObject?

Why is Matrix a heavyweight class derived from MarshalByRefObject instead of a lightweight struct?
Ansis Māliņš
  • 1,684
  • 15
  • 35
0
votes
1 answer

gwt g2d: drawImage in ie8

I'm using g2d with gwt in order to implement some canvas functionalities. As the canvas implementation provided by gwt (I'm using version 2.4.0) is not supported by ie8, at least that is what I could experience, I decided to change to the before…
user743489
0
votes
0 answers

CustomLineCap FillPath instead of StrokePath?

I am trying to write a plugin for Paint.Net but for support I am currently writing the code in Visual Studio 2010 using C#. What I am trying to acheive is to make a curve and make a custom line cap for it. I have acheived the major functionality by…
Adnan Yaseen
  • 833
  • 1
  • 15
  • 44
-1
votes
1 answer

Is List possible in C#?

I'm trying to use a list of GraphicsPath instead of an array as I don't know the number of the paths that will be created by user. List PathDB = new List(); After this I fill the List as follows: using(GraphicsPath…
Kory
  • 3
  • 2
-1
votes
1 answer

Java, Drawing on an JPanel with colors

I coded a program where you can insert coordinates and the size of an sqaure and draw it on a JPanel. I used: panel.getGraphics().drawRect(x,y,h,b); Now I want to add an color-chooser like that: color Farbe = JColorChooser.showDialog(null,…
XPY64K
  • 34
  • 3
1 2 3 4 5 6 7
8