graphics
Can't figure out how to overlap images in java
So I decided to pick up programming as a hobby, and am now working on creating a slot machine with help from tutorials. However, I ran into problems with overlapping images. I used a photo editor to c[详细]
2023-04-07 04:43 分类:问答WPF: can't resize window without horrible visual effects
I\'m trying to learn WPF (I worked a lot with WinForms but I\'m kinda new to WPF) and I have a problem when resizing 开发者_JAVA技巧my windows.[详细]
2023-04-07 04:24 分类:问答Infinite loop when updating JPanel's graphics
So, I am drawing a graphic in a JPanel object using Grahics2D. The JPanel is placed in a JScrollPane for the cases when my graphic is bigger than the window.[详细]
2023-04-07 03:06 分类:问答Colorize grayscale image
I have a grayscale image and a some color, represented in RGB triplet. And i need to colorize grayscale image using this triplet.[详细]
2023-04-07 00:42 分类:问答Java: Rectangle2D and negative dimensions
I have a script in which the user clicks once to begin a Rectangle2D. When he moves the mouse, the rectangle is updated with the new coordinates. He clicks again to end it. It\'s then stored in an Arr[详细]
2023-04-07 00:13 分类:问答change color and width of some painted lines in an UIImageView
I\'m painting some black lines in an UIImageView (in touchesBegan and touchesMoved methods) and there is one UISlider for modifying the width of these开发者_高级运维 lines and some buttons for modifyi[详细]
2023-04-06 23:36 分类:问答ExtJS drag/drop a CompositeSprite
I want to set draggable on a CompositeSprite using Ext JS 4.0. There are examples on how I can set draggable a single sprite (draggable: true), but it doesn\'t work for CompositeSprite. If I wr开发者_[详细]
2023-04-06 20:39 分类:问答How to fill parent when drawing on canvas
I have a custom view (android) which draws a custom progress bar. I want the progress bar to fill its parent view (width). The problem that I have is that I don\'t know how the custom view can get its[详细]
2023-04-06 18:48 分类:问答OpenGL, How to create a "bumpy Polygon"?
I am unsure of how to describe what I\'m after, so I drew a picture to help: My question, is it possible within OpenGL to create the illusion of those pixel looking bumps on a single polygon, without[详细]
2023-04-06 18:12 分类:问答How to find 4 points next to the intersection of two lines
Let\'s say I have some bitmap data (in black) over which some lines have been hand drawn in vector format (in green). The lines roughly follow the shape of the bitmap data. In some places, the lines i[详细]
2023-04-06 14:16 分类:问答