org.apache.fop.svg

Class PDFImageElementBridge.LoaderImageNode

Enclosing Class:
PDFImageElementBridge

public class PDFImageElementBridge.LoaderImageNode
extends AbstractGraphicsNode

An image node for natively handled Image instance. This holds a natively handled image so that it can be drawn into the PDFGraphics2D.

Constructor Summary

LoaderImageNode(Image image, BridgeContext ctx, Element imageElement, ParsedURL purl)
Create a new image node for drawing natively handled images into PDF graphics.

Method Summary

Rectangle2D
getGeometryBounds()
Shape
getOutline()
Rectangle2D
getPrimitiveBounds()
Rectangle2D
getSensitiveBounds()
void
primitivePaint(Graphics2D g2d)

Constructor Details

LoaderImageNode

public LoaderImageNode(Image image,
                       BridgeContext ctx,
                       Element imageElement,
                       ParsedURL purl)
Create a new image node for drawing natively handled images into PDF graphics.
Parameters:
image - the JPEG image
ctx - the bridge context
imageElement - the SVG image element
purl - the URL to the image

Method Details

getGeometryBounds

public Rectangle2D getGeometryBounds()

getOutline

public Shape getOutline()

getPrimitiveBounds

public Rectangle2D getPrimitiveBounds()

getSensitiveBounds

public Rectangle2D getSensitiveBounds()

primitivePaint

public void primitivePaint(Graphics2D g2d)

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.