org.apache.fop.render.pcl

Class PCLRendererContext


public class PCLRendererContext
extends RendererContext.RendererContextWrapper

Wrapper on the RendererContext to access the information structure for drawing the XML document.

Field Summary

Fields inherited from class org.apache.fop.render.RendererContext.RendererContextWrapper

context

Constructor Summary

PCLRendererContext(RendererContext context)
Main constructor

Method Summary

boolean
isClippingDisabled()
boolean
isSourceTransparency()
boolean
paintAsBitmap()
static PCLRendererContext
wrapRendererContext(RendererContext context)
Wrap the render context to allow easier access to its values.

Methods inherited from class org.apache.fop.render.RendererContext.RendererContextWrapper

getCurrentXPosition, getCurrentYPosition, getForeignAttributes, getHeight, getUserAgent, getWidth

Constructor Details

PCLRendererContext

public PCLRendererContext(RendererContext context)
Main constructor
Parameters:
context - the RendererContent instance

Method Details

isClippingDisabled

public boolean isClippingDisabled()
Returns:
true if clipping is disabled inside the PCLGraphics2D.

isSourceTransparency

public boolean isSourceTransparency()

paintAsBitmap

public boolean paintAsBitmap()
Returns:
true if the SVG image should be rendered as a bitmap

wrapRendererContext

public static PCLRendererContext wrapRendererContext(RendererContext context)
Wrap the render context to allow easier access to its values.
Parameters:
context - the renderer context
Returns:
the PCL-specific renderer context wrapper

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