1 package ini
.trakem2
.display
.graphics
;
3 import ini
.trakem2
.display
.Display
;
4 import ini
.trakem2
.display
.Paintable
;
6 import java
.awt
.Graphics2D
;
7 import java
.awt
.Rectangle
;
10 public interface GraphicsSource
{
12 /** Takes as list of Paintable and returns the same or another list with perhaps a different number of Paintable objects, or some replaced by new Paintable instances. */
13 public List
<?
extends Paintable
> asPaintable(final List
<?
extends Paintable
> ds
);
15 /** The canvas will call this method after painting everything else. */
16 public void paintOnTop(final Graphics2D g
, final Display display
, final Rectangle srcRect
, final double magnification
);