 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Nnnnaz Guest
|
Posted: Sat May 06, 2006 3:07 pm Post subject: Painting over |
|
|
Hello,
I have written code to generate "Fractal Landscap", we can consider that
it is set of painted in different colors ovals.
Now I would like to paint ON IT. I mean paint star in one part of
"Fractal Landscape", than remove this star and paint it somewhere else.
I dont want to repaint() "Fractal Landscape" because it is very slow,
how to paint on it, without replacing content of Landscape.
thx
M |
|
| Back to top |
|
 |
Knute Johnson Guest
|
Posted: Sat May 06, 2006 5:07 pm Post subject: Re: Painting over |
|
|
Nnnnaz wrote:
| Quote: | Hello,
I have written code to generate "Fractal Landscap", we can consider that
it is set of painted in different colors ovals.
Now I would like to paint ON IT. I mean paint star in one part of
"Fractal Landscape", than remove this star and paint it somewhere else.
I dont want to repaint() "Fractal Landscape" because it is very slow,
how to paint on it, without replacing content of Landscape.
thx
M
|
Draw your fractal on a BufferedImage then draw the BufferedImage on a
component. When you need to redraw part of your fractal, get it from
the BufferedImage.
--
Knute Johnson
email s/nospam/knute/ |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|