Top "Paint" questions

The act of displaying a GUI component on a screen output device

Simulating brush strokes for painting application

I'm trying to write an application that can be used to create pictures that look like paintings using simulated brush …

c opengl graphics paint
How can I prevent a QWidget from painting, but still respond to events?

I have a QGLWidget that renders an OpenGL scene inside a Qt application. I would like to add some other …

qt opengl paint qwidget
How to make Jpanel expand to the size of the JFrame?

The below code is from the book objects First With Java By Michale Kolling and David J Barnes and the …

java jframe jpanel paint preferredsize
Stop flickering in simple Java animation

I have a simple applet that animates a rectangle along the x-axis of the canvas. The problem is that it …

java swing timer paint japplet
How can I tell if a Delphi control is currently visible?

I need a way to for a custom control (descended from TCustomControl) to tell if it is currently visible. I'm …

delphi custom-controls visible paint
Making an eraser tool for a paint app in iOS

I am creating a paint app and I want to know how to implement the eraser tool. I don't want …

ios paint erase brush
Android Edit Bitmap Channels

It's possible to access the alpha channel of a given bitmap with extractAlpha(), but I haven't been able to find …

java android bitmap paint color-channel
Qt drawRect in background

I want to paint the background of a slider. I tried this but the color covers up the whole slider. …

c++ qt paint drawrect qpainter
JFrame getHeight() and getWidth() return 0

I'm making a simple pong game; and part of the collision mechanics require getting the width and height of the …

java swing jpanel paint thread-sleep
Android custom brush pattern/image

I have an 8x8 Image. (bitmap - can be changed) What I want to do is be able to draw …

android design-patterns drawing paint brush