drawing
User drawing isn't showing on the canvas
I have an XML layout like this: <?xml version=\"1.0\" encoding=\"utf-8\"?> <RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"[详细]
2023-04-11 03:49 分类:问答Graphics wrong image interpolation in .Net
I have an simple test. When it is solved, my problem is solved too. When working with small images, the graphics interpolation does bad work.[详细]
2023-04-10 20:08 分类:问答Drawing opencv?
How would I draw a CvBox2D in OpenCV? Is there any similar function to cvRe开发者_Python百科ctangle?[详细]
2023-04-10 13:02 分类:问答How to do hit test on a rotated image in Android?
I am trying to do hit test on a rotated image object drawn on the canvas in surface view. When image is not rotate we can directly use left, top , width and height as boundaries to check whether the p[详细]
2023-04-10 05:08 分类:问答Explanation of JetBoy example for dev.android.com?
I have developed many applications for desktop or web in java, but never for android. What little I have practiced with was weird because I am used to SWING. Since it uses .xml files for applications[详细]
2023-04-09 21:10 分类:问答Silverlight double color lines
I need to draw a line 开发者_开发百科with two adjacent color. The only solution i found is based on two lines, with a TranslateTransform on the second.[详细]
2023-04-09 18:39 分类:问答How to generate editable drawing of connected shapes in Java
Can anybody tell me how I could do the following: I want my Java code to generate a drawing that has multiple connected shapes.Perhaps hundreds of shapes--not huge.I\'d like to generate this and save[详细]
2023-04-09 06:16 分类:问答Draw a Fill Rectangle with low opacity
I a have a PictureBox with a picture in a Windows Form application in C# language.I want draw a FillRectangle in some location of picturebox.but i a开发者_如何转开发lso need to see picture of picture[详细]
2023-04-09 03:38 分类:问答OpenGL constant color
I read in this Apple documentation (under the header \"Avoid Storing Constants in Attribute Arrays\") it says that if a model\'s vertices all have the same colour then colour shouldn\'t be a vertex at[详细]
2023-04-08 16:10 分类:问答Painting in Swing, blinking issue
I have the following problem in swing. I\'m implementing basic drawing operations (lines, shapes). When I\'m moving mouse with pressed left button, I need to repaint current shape. So I clear the scre[详细]
2023-04-08 04:40 分类:问答