/*
 *    GeoTools - OpenSource mapping toolkit
 *    http://geotools.org
 *    (C) 2004-2006, Geotools Project Managment Committee (PMC)
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation; either
 *    version 2.1 of the License, or (at your option) any later version.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    Created on April 6, 2004, 11:06 AM
 */

package org.geotools.renderer.lite;

import java.awt.image.BufferedImage;
import java.util.List;

import org.geotools.feature.Feature;
import org.geotools.styling.ExternalGraphic;
import org.geotools.styling.Graphic;

/**
 *
 * @author  jamesm
 * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/render/src/main/java/org/geotools/renderer/lite/GlyphRenderer.java $
 */
public interface GlyphRenderer {
 
    public boolean canRender(String format);
    public List getFormats();
    /**
     * 
     * @param graphic
     * @param eg
     * @param feature
     * @param height use <=0 if you dont want any scaling done.  THIS MIGHT BE IGNORED by the renderer!
     */
    public BufferedImage render(Graphic graphic, ExternalGraphic eg, Object feature, int height);
    
}
