jPodRenderer PDF library

de.intarsys.pdf.platform.cwt.image
Class CwtPlatformImage

java.lang.Object
  extended by de.intarsys.pdf.platform.cwt.image.CwtPlatformImage
All Implemented Interfaces:
de.intarsys.cwt.image.IImage, IPlatformImage

public class CwtPlatformImage
extends Object
implements IPlatformImage, de.intarsys.cwt.image.IImage

The IImage implementation for an PDF PDImage object.

To render a PDImage, an implementation of IGraphicsEnvironmentAdapter is looked up, that now knows both about the IGraphicsEnvironment and the PDImage implementation.


Constructor Summary
CwtPlatformImage(de.intarsys.pdf.pd.PDImage baseImage)
           
 
Method Summary
 void doImage(ICSPlatformDevice device)
           
 void drawFromGraphicsContext(de.intarsys.cwt.environment.IGraphicsContext graphicsContext, float x, float y)
           
 int getHeight()
           
 de.intarsys.pdf.pd.PDImage getPDImage()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CwtPlatformImage

public CwtPlatformImage(de.intarsys.pdf.pd.PDImage baseImage)
Method Detail

doImage

public void doImage(ICSPlatformDevice device)
Specified by:
doImage in interface IPlatformImage

drawFromGraphicsContext

public void drawFromGraphicsContext(de.intarsys.cwt.environment.IGraphicsContext graphicsContext,
                                    float x,
                                    float y)
Specified by:
drawFromGraphicsContext in interface de.intarsys.cwt.image.IImage

getHeight

public int getHeight()
Specified by:
getHeight in interface de.intarsys.cwt.image.IImage

getPDImage

public de.intarsys.pdf.pd.PDImage getPDImage()
Specified by:
getPDImage in interface IPlatformImage

getWidth

public int getWidth()
Specified by:
getWidth in interface de.intarsys.cwt.image.IImage

jPodRenderer PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.