public class CSPlatformDevice extends de.intarsys.pdf.content.CSBasicDevice implements ICSPlatformDevice
IGraphicsContext to allow for easy migration between similar toolkit
implementations.| Constructor and Description |
|---|
CSPlatformDevice(de.intarsys.cwt.environment.IGraphicsContext graphics) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTextClip(Shape shape) |
void |
doShading(de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDShading shading) |
de.intarsys.cwt.environment.IGraphicsContext |
getGraphicsContext() |
void |
inlineImage(de.intarsys.pdf.pd.PDImage img) |
void |
restoreState() |
void |
saveState() |
void |
setExtendedState(de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDExtGState gstate) |
void |
setLineCap(int capStyle) |
void |
setLineDash(float[] pattern,
float phase) |
void |
setLineJoin(int joinStyle) |
void |
setLineWidth(float lineWidth) |
void |
setMiterLimit(float miterLimit) |
void |
setNonStrokeColorValues(float[] values,
de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDPattern pattern) |
void |
setStrokeColorValues(float[] values,
de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDPattern pattern) |
void |
textBegin() |
void |
textEnd() |
void |
textLineMove(float dx,
float dy) |
void |
textLineNew() |
void |
textMove(float dx,
float dy) |
void |
textSetFont(de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.font.PDFont font,
float size) |
void |
textSetHorizontalScaling(float scaling) |
void |
textSetRenderingMode(int renderingMode) |
void |
textSetRise(float rise) |
void |
textSetTransform(float a,
float b,
float c,
float d,
float e,
float f) |
void |
textShow(byte[] bytes,
int offset,
int length) |
void |
transform(float a,
float b,
float c,
float d,
float e,
float f) |
open, pathClipEvenOdd, pathClipNonZero, pathClose, pathCloseFillStrokeEvenOdd, pathCloseFillStrokeNonZero, pathCloseStroke, pathEnd, pathFillEvenOdd, pathFillNonZero, pathFillStrokeEvenOdd, pathFillStrokeNonZero, pathStroke, penCurveToC, penCurveToV, penCurveToY, penLineTo, penMoveTo, penRectangleclose, compatibilityBegin, compatibilityEnd, doXObject, getDeviceTransform, getGraphicsState, getInterpreter, markedContentBegin, markedContentBeginProperties, markedContentEnd, markedContentPoint, markedContentPointProperties, setDeviceTransform, setFlatnessTolerance, setNonStrokeColorCMYK, setNonStrokeColorGray, setNonStrokeColorRGB, setNonStrokeColorSpace, setNonStrokeColorValues, setRenderingIntent, setStrokeColorCMYK, setStrokeColorGray, setStrokeColorRGB, setStrokeColorSpace, setStrokeColorValues, supportsColorSpace, supportsExtendedState, supportsFont, supportsInlineImage, supportsPattern, supportsProperties, supportsShading, supportsXObject, textMoveTo, textSetCharSpacing, textSetLeading, textSetWordSpacing, textShow, textShow, textT3SetGlyphWidth, textT3SetGlyphWidthBBequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, compatibilityBegin, compatibilityEnd, doXObject, getGraphicsState, getInterpreter, markedContentBegin, markedContentBeginProperties, markedContentEnd, markedContentPoint, markedContentPointProperties, open, pathClipEvenOdd, pathClipNonZero, pathClose, pathCloseFillStrokeEvenOdd, pathCloseFillStrokeNonZero, pathCloseStroke, pathEnd, pathFillEvenOdd, pathFillNonZero, pathFillStrokeEvenOdd, pathFillStrokeNonZero, pathStroke, penCurveToC, penCurveToV, penCurveToY, penLineTo, penMoveTo, penRectangle, setFlatnessTolerance, setNonStrokeColorCMYK, setNonStrokeColorGray, setNonStrokeColorRGB, setNonStrokeColorSpace, setNonStrokeColorValues, setRenderingIntent, setStrokeColorCMYK, setStrokeColorGray, setStrokeColorRGB, setStrokeColorSpace, setStrokeColorValues, textMoveTo, textSetCharSpacing, textSetLeading, textSetWordSpacing, textShow, textShow, textT3SetGlyphWidth, textT3SetGlyphWidthBBpublic CSPlatformDevice(de.intarsys.cwt.environment.IGraphicsContext graphics)
public void addTextClip(Shape shape)
addTextClip in interface ICSPlatformDevicepublic void doShading(de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDShading shading)
doShading in interface de.intarsys.pdf.content.ICSDevicedoShading in class de.intarsys.pdf.content.CSDeviceAdapterpublic de.intarsys.cwt.environment.IGraphicsContext getGraphicsContext()
getGraphicsContext in interface ICSPlatformDevicepublic void inlineImage(de.intarsys.pdf.pd.PDImage img)
inlineImage in interface de.intarsys.pdf.content.ICSDeviceinlineImage in class de.intarsys.pdf.content.CSDeviceAdapterpublic void restoreState()
restoreState in interface de.intarsys.pdf.content.ICSDevicerestoreState in class de.intarsys.pdf.content.CSDeviceAdapterpublic void saveState()
saveState in interface de.intarsys.pdf.content.ICSDevicesaveState in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setExtendedState(de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDExtGState gstate)
setExtendedState in interface de.intarsys.pdf.content.ICSDevicesetExtendedState in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setLineCap(int capStyle)
setLineCap in interface de.intarsys.pdf.content.ICSDevicesetLineCap in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setLineDash(float[] pattern,
float phase)
setLineDash in interface de.intarsys.pdf.content.ICSDevicesetLineDash in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setLineJoin(int joinStyle)
setLineJoin in interface de.intarsys.pdf.content.ICSDevicesetLineJoin in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setLineWidth(float lineWidth)
setLineWidth in interface de.intarsys.pdf.content.ICSDevicesetLineWidth in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setMiterLimit(float miterLimit)
setMiterLimit in interface de.intarsys.pdf.content.ICSDevicesetMiterLimit in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setNonStrokeColorValues(float[] values,
de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDPattern pattern)
setNonStrokeColorValues in interface de.intarsys.pdf.content.ICSDevicesetNonStrokeColorValues in class de.intarsys.pdf.content.CSDeviceAdapterpublic void setStrokeColorValues(float[] values,
de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.pd.PDPattern pattern)
setStrokeColorValues in interface de.intarsys.pdf.content.ICSDevicesetStrokeColorValues in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textBegin()
textBegin in interface de.intarsys.pdf.content.ICSDevicetextBegin in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textEnd()
textEnd in interface de.intarsys.pdf.content.ICSDevicetextEnd in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textLineMove(float dx,
float dy)
textLineMove in interface de.intarsys.pdf.content.ICSDevicetextLineMove in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textLineNew()
textLineNew in interface de.intarsys.pdf.content.ICSDevicetextLineNew in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textMove(float dx,
float dy)
textMove in interface de.intarsys.pdf.content.ICSDevicetextMove in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textSetFont(de.intarsys.pdf.cos.COSName name,
de.intarsys.pdf.font.PDFont font,
float size)
textSetFont in interface de.intarsys.pdf.content.ICSDevicetextSetFont in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textSetHorizontalScaling(float scaling)
textSetHorizontalScaling in interface de.intarsys.pdf.content.ICSDevicetextSetHorizontalScaling in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textSetRenderingMode(int renderingMode)
textSetRenderingMode in interface de.intarsys.pdf.content.ICSDevicetextSetRenderingMode in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textSetRise(float rise)
textSetRise in interface de.intarsys.pdf.content.ICSDevicetextSetRise in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textSetTransform(float a,
float b,
float c,
float d,
float e,
float f)
textSetTransform in interface de.intarsys.pdf.content.ICSDevicetextSetTransform in class de.intarsys.pdf.content.CSDeviceAdapterpublic void textShow(byte[] bytes,
int offset,
int length)
textShow in interface de.intarsys.pdf.content.ICSDevicetextShow in class de.intarsys.pdf.content.CSBasicDevicepublic void transform(float a,
float b,
float c,
float d,
float e,
float f)
transform in interface de.intarsys.pdf.content.ICSDevicetransform in class de.intarsys.pdf.content.CSDeviceAdapterCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.