(package private) void |
TextSvgBranchRenderer.addTextChild(Text text,
SvgDrawContext drawContext) |
|
private void |
PdfRootSvgNodeRenderer.applyBackgroundColor(SvgDrawContext context) |
|
private void |
MarkerSvgNodeRenderer.applyCoordinatesTranslation(SvgDrawContext context) |
|
(package private) void |
AbstractSvgNodeRenderer.applyFillAndStrokeProperties(AbstractSvgNodeRenderer.FillProperties fillProperties,
AbstractSvgNodeRenderer.StrokeProperties strokeProperties,
SvgDrawContext context) |
|
(package private) void |
TextSvgBranchRenderer.applyFillAndStrokeProperties(AbstractSvgNodeRenderer.FillProperties fillProperties,
AbstractSvgNodeRenderer.StrokeProperties strokeProperties,
SvgDrawContext context) |
|
(package private) void |
TextSvgBranchRenderer.applyFontProperties(IElement element,
SvgDrawContext context) |
|
private void |
TextLeafSvgNodeRenderer.applyGraphicsState(SvgDrawContext context) |
|
(package private) void |
MarkerSvgNodeRenderer.applyMarkerAttributes(SvgDrawContext context) |
|
(package private) AffineTransform |
AbstractSvgNodeRenderer.applyNonScalingStrokeTransform(SvgDrawContext context) |
Applies non-scaling-stroke vector-effect to this renderer by concatenating all transformations applied
from the top level of the svg to the current one, inverting it and applying to the current canvas.
|
private void |
MarkerSvgNodeRenderer.applyRotation(SvgDrawContext context) |
|
private void |
TextLeafSvgNodeRenderer.applyTransform(SvgDrawContext context) |
|
private void |
MarkerSvgNodeRenderer.applyUserSpaceScaling(SvgDrawContext context) |
|
(package private) void |
AbstractBranchSvgNodeRenderer.applyViewBox(SvgDrawContext context) |
Applies a transformation based on a viewBox for a given branch node.
|
protected void |
MarkerSvgNodeRenderer.applyViewBox(SvgDrawContext context) |
|
private void |
AbstractBranchSvgNodeRenderer.applyViewportClip(SvgDrawContext context) |
Applies a clipping operation based on the view port.
|
(package private) void |
AbstractBranchSvgNodeRenderer.calculateAndApplyViewBox(SvgDrawContext context,
float[] values,
Rectangle currentViewPort) |
|
private AbstractSvgNodeRenderer.FillProperties |
AbstractSvgNodeRenderer.calculateFillProperties(SvgDrawContext context) |
|
private Rectangle |
PatternSvgNodeRenderer.calculateOriginalPatternRectangle(SvgDrawContext context,
boolean isObjectBoundingBoxInPatternUnits) |
|
private AbstractSvgNodeRenderer.StrokeProperties |
AbstractSvgNodeRenderer.calculateStrokeProperties(SvgDrawContext context) |
|
(package private) AffineTransform |
PdfRootSvgNodeRenderer.calculateTransformation(SvgDrawContext context) |
|
(package private) Rectangle |
AbstractContainerSvgNodeRenderer.calculateViewPort(SvgDrawContext context) |
Calculate the viewport based on the context.
|
(package private) static Rectangle |
PdfRootSvgNodeRenderer.calculateViewPort(SvgDrawContext context) |
|
(package private) AffineTransform |
AbstractSvgNodeRenderer.calculateViewPortTranslation(SvgDrawContext context) |
Calculate the transformation for the viewport based on the context.
|
private void |
AbstractBranchSvgNodeRenderer.cleanUp(SvgDrawContext context) |
Cleans up the SvgDrawContext by removing the current viewport and by popping the current canvas.
|
boolean |
TextSvgBranchRenderer.containsAbsolutePositionChange(SvgDrawContext context) |
Checks whether current <text> or <tspan> element contains absolute position attributes.
|
boolean |
TextSvgBranchRenderer.containsRelativeMove(SvgDrawContext context) |
Checks whether current <text> or <tspan> element contains relative position change.
|
Color |
LinearGradientSvgNodeRenderer.createColor(SvgDrawContext context,
Rectangle objectBoundingBox,
float objectBoundingBoxMargin,
float parentOpacity) |
|
Color |
PatternSvgNodeRenderer.createColor(SvgDrawContext context,
Rectangle objectBoundingBox,
float objectBoundingBoxMargin,
float parentOpacity) |
|
private PdfPattern.Tiling |
PatternSvgNodeRenderer.createTilingPattern(SvgDrawContext context,
Rectangle objectBoundingBox) |
|
protected void |
AbstractBranchSvgNodeRenderer.doDraw(SvgDrawContext context) |
Method that will set properties to be inherited by this branch renderer's
children and will iterate over all children in order to draw them.
|
protected void |
AbstractContainerSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
AbstractGradientSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected abstract void |
AbstractSvgNodeRenderer.doDraw(SvgDrawContext context) |
Draws this element to a canvas-like object maintained in the context.
|
protected void |
ClipPathSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
DefsSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
EllipseSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
GroupSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
ImageSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
void |
LineSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
void |
PathSvgNodeRenderer.doDraw(SvgDrawContext context) |
Draws this element to a canvas-like object maintained in the context.
|
protected void |
PolylineSvgNodeRenderer.doDraw(SvgDrawContext context) |
Draws this element to a canvas-like object maintained in the context.
|
protected void |
RectangleSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
StopSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
TextLeafSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
protected void |
TextSvgBranchRenderer.doDraw(SvgDrawContext context) |
Method that will set properties to be inherited by this branch renderer's
children and will iterate over all children in order to draw them.
|
protected void |
TextSvgTSpanBranchRenderer.doDraw(SvgDrawContext context) |
|
protected void |
UseSvgNodeRenderer.doDraw(SvgDrawContext context) |
|
void |
AbstractSvgNodeRenderer.draw(SvgDrawContext context) |
Applies transformations set to this object, if any, and delegates the drawing of this element and its children
to the doDraw method.
|
void |
PdfRootSvgNodeRenderer.draw(SvgDrawContext context) |
|
void |
ClipPathSvgNodeRenderer.drawClippedRenderer(SvgDrawContext context) |
Draw the clipped renderer.
|
private boolean |
AbstractSvgNodeRenderer.drawInClipPath(SvgDrawContext context) |
|
private void |
TextSvgBranchRenderer.drawLastTextChunk(SvgDrawContext context) |
|
void |
LineSvgNodeRenderer.drawMarker(SvgDrawContext context,
MarkerVertexType markerVertexType) |
|
(package private) static void |
MarkerSvgNodeRenderer.drawMarker(SvgDrawContext context,
java.lang.String moveX,
java.lang.String moveY,
MarkerVertexType markerToUse,
AbstractSvgNodeRenderer parent) |
|
void |
PathSvgNodeRenderer.drawMarker(SvgDrawContext context,
MarkerVertexType markerVertexType) |
|
void |
PolylineSvgNodeRenderer.drawMarker(SvgDrawContext context,
MarkerVertexType markerVertexType) |
|
(package private) static void |
MarkerSvgNodeRenderer.drawMarkers(SvgDrawContext context,
int startIndex,
java.util.List<Point> markerPoints,
MarkerVertexType markerToUse,
AbstractSvgNodeRenderer parent) |
|
private void |
PatternSvgNodeRenderer.drawPatternContent(SvgDrawContext context,
PdfPattern.Tiling pattern) |
|
float[][] |
TextSvgBranchRenderer.getAbsolutePositionChanges(SvgDrawContext context) |
Gets absolute position of the current <text> or <tspan> element.
|
private static Rectangle |
AbstractBranchSvgNodeRenderer.getBBoxAccordingToVisibleOverflow(SvgDrawContext context) |
When in the svg element overflow is visible the corresponding formXObject should have a BBox
(form XObject’s bounding box; see PDF 32000-1:2008 - 8.10.2 Form Dictionaries) that should cover the entire svg
space (page in pdf) in order to be able to show parts of the element which are outside the current element
viewPort.
|
private TransparentColor |
AbstractSvgNodeRenderer.getColorFromAttributeValue(SvgDrawContext context,
java.lang.String rawColorValue,
float objectBoundingBoxMargin,
float parentOpacity) |
|
private Point[] |
LinearGradientSvgNodeRenderer.getCoordinates(SvgDrawContext context,
boolean isObjectBoundingBox) |
|
float |
AbstractSvgNodeRenderer.getCurrentFontSize(SvgDrawContext context) |
Return font-size of the current element in px.
|
Rectangle |
AbstractSvgNodeRenderer.getCurrentViewBox(SvgDrawContext context) |
Gets the viewbox from the first parent element which can define it.
|
Rectangle |
ClipPathSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
DefsSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
EllipseSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
GroupSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
ImageSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
LinearGradientSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
LineSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
MarkerSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
PathSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
PatternSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
PdfRootSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
PolylineSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
RectangleSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
StopSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
SvgTagSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
SymbolSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
TextLeafSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
TextSvgBranchRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
Rectangle |
UseSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
|
private float[] |
TextSvgBranchRenderer.getPositionsFromString(java.lang.String rawValuesString,
SvgDrawContext context,
boolean isHorizontal) |
|
float[] |
TextSvgBranchRenderer.getRelativeTranslation(SvgDrawContext context) |
Gets relative translation of the current <text> or <tspan> element.
|
private Point |
TextSvgBranchRenderer.getStartPoint(SvgDrawContext context,
Point basePoint) |
|
TextRectangle |
ISvgTextNodeRenderer.getTextRectangle(SvgDrawContext context,
Point basePoint) |
Return the bounding rectangle of the text element.
|
TextRectangle |
TextLeafSvgNodeRenderer.getTextRectangle(SvgDrawContext context,
Point startPoint) |
|
TextRectangle |
TextSvgBranchRenderer.getTextRectangle(SvgDrawContext context,
Point startPoint) |
|
private static AffineTransform |
TextSvgBranchRenderer.getTextTransform(float[][] absolutePositions,
SvgDrawContext context) |
|
protected void |
EllipseSvgNodeRenderer.initCenter(SvgDrawContext context) |
Initialize ellipse cx and cy.
|
private LineRenderer |
TextLeafSvgNodeRenderer.layoutText(SvgDrawContext context) |
|
protected float |
AbstractSvgNodeRenderer.parseAbsoluteLength(java.lang.String length,
float percentBaseValue,
float defaultValue,
SvgDrawContext context) |
Deprecated.
|
protected float |
AbstractSvgNodeRenderer.parseHorizontalLength(java.lang.String length,
SvgDrawContext context) |
Parse x-axis length value.
|
protected float |
AbstractSvgNodeRenderer.parseVerticalLength(java.lang.String length,
SvgDrawContext context) |
Parse y-axis length value.
|
(package private) void |
TextSvgBranchRenderer.performDrawing(SvgDrawContext context) |
|
(package private) void |
AbstractBranchSvgNodeRenderer.postDraw(SvgDrawContext context) |
|
(package private) void |
AbstractSvgNodeRenderer.postDraw(SvgDrawContext context) |
Operations to be performed after drawing the element.
|
(package private) void |
UseSvgNodeRenderer.postDraw(SvgDrawContext context) |
|
(package private) void |
AbstractSvgNodeRenderer.preDraw(SvgDrawContext context) |
Operations to perform before drawing an element.
|
(package private) void |
ClipPathSvgNodeRenderer.preDraw(SvgDrawContext context) |
|
(package private) void |
MarkerSvgNodeRenderer.preDraw(SvgDrawContext context) |
|
(package private) void |
TextSvgBranchRenderer.preDraw(SvgDrawContext context) |
|
private void |
TextSvgBranchRenderer.resolveAbsoluteTextPosition(SvgDrawContext context) |
|
private void |
TextSvgBranchRenderer.resolveRelativeTextMove(SvgDrawContext context) |
|
protected boolean |
CircleSvgNodeRenderer.setParameters(SvgDrawContext context) |
|
protected boolean |
EllipseSvgNodeRenderer.setParameters(SvgDrawContext context) |
Fetches a map of String values by calling getAttribute(String s) method
and maps it's values to arc parameter cx, cy , rx, ry respectively
|
private boolean |
LineSvgNodeRenderer.setParameters(SvgDrawContext context) |
|
private void |
RectangleSvgNodeRenderer.setParameters(SvgDrawContext context) |
|
private void |
TextSvgBranchRenderer.startNewTextChunk(SvgDrawContext context,
AffineTransform newTransform) |
|