de.intarsys.pdf.platform.cwt.image
Class CwtPlatformImage
java.lang.Object
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.
CwtPlatformImage
public CwtPlatformImage(de.intarsys.pdf.pd.PDImage baseImage)
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
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.