An implementation of LowLevelGraphicsContext that turns the drawing operations into a PostScript document.
More...
#include <juce_LowLevelGraphicsPostScriptRenderer.h>
|
| LowLevelGraphicsPostScriptRenderer (OutputStream &resultingPostScript, const String &documentTitle, int totalWidth, int totalHeight) |
|
| ~LowLevelGraphicsPostScriptRenderer () override |
|
void | addTransform (const AffineTransform &) override |
|
void | beginTransparencyLayer (float) override |
|
bool | clipRegionIntersects (const Rectangle< int > &) override |
|
void | clipToImageAlpha (const Image &, const AffineTransform &) override |
|
void | clipToPath (const Path &, const AffineTransform &) override |
|
bool | clipToRectangle (const Rectangle< int > &) override |
|
bool | clipToRectangleList (const RectangleList< int > &) override |
|
void | drawGlyph (int glyphNumber, const AffineTransform &) override |
|
void | drawImage (const Image &, const AffineTransform &) override |
|
void | drawLine (const Line< float > &) override |
|
virtual bool | drawTextLayout (const AttributedString &, const Rectangle< float > &) |
|
void | endTransparencyLayer () override |
|
void | excludeClipRectangle (const Rectangle< int > &) override |
|
void | fillPath (const Path &, const AffineTransform &) override |
|
void | fillRect (const Rectangle< int > &, bool replaceExistingContents) override |
|
void | fillRect (const Rectangle< float > &) override |
|
void | fillRectList (const RectangleList< float > &) override |
|
Rectangle< int > | getClipBounds () const override |
|
const Font & | getFont () override |
|
float | getPhysicalPixelScaleFactor () override |
|
bool | isClipEmpty () const override |
|
bool | isVectorDevice () const override |
| Returns true if this device is vector-based, e.g. More...
|
|
void | restoreState () override |
|
void | saveState () override |
|
void | setFill (const FillType &) override |
|
void | setFont (const Font &) override |
|
void | setInterpolationQuality (Graphics::ResamplingQuality) override |
|
void | setOpacity (float) override |
|
void | setOrigin (Point< int >) override |
| Moves the origin to a new position. More...
|
|
An implementation of LowLevelGraphicsContext that turns the drawing operations into a PostScript document.
{Graphics}
◆ LowLevelGraphicsPostScriptRenderer()
juce::LowLevelGraphicsPostScriptRenderer::LowLevelGraphicsPostScriptRenderer |
( |
OutputStream & |
resultingPostScript, |
|
|
const String & |
documentTitle, |
|
|
int |
totalWidth, |
|
|
int |
totalHeight |
|
) |
| |
◆ ~LowLevelGraphicsPostScriptRenderer()
juce::LowLevelGraphicsPostScriptRenderer::~LowLevelGraphicsPostScriptRenderer |
( |
| ) |
|
|
override |
◆ addTransform()
void juce::LowLevelGraphicsPostScriptRenderer::addTransform |
( |
const AffineTransform & |
| ) |
|
|
overridevirtual |
◆ beginTransparencyLayer()
void juce::LowLevelGraphicsPostScriptRenderer::beginTransparencyLayer |
( |
float |
| ) |
|
|
overridevirtual |
◆ clipRegionIntersects()
bool juce::LowLevelGraphicsPostScriptRenderer::clipRegionIntersects |
( |
const Rectangle< int > & |
| ) |
|
|
overridevirtual |
◆ clipToImageAlpha()
void juce::LowLevelGraphicsPostScriptRenderer::clipToImageAlpha |
( |
const Image & |
, |
|
|
const AffineTransform & |
|
|
) |
| |
|
overridevirtual |
◆ clipToPath()
void juce::LowLevelGraphicsPostScriptRenderer::clipToPath |
( |
const Path & |
, |
|
|
const AffineTransform & |
|
|
) |
| |
|
overridevirtual |
◆ clipToRectangle()
bool juce::LowLevelGraphicsPostScriptRenderer::clipToRectangle |
( |
const Rectangle< int > & |
| ) |
|
|
overridevirtual |
◆ clipToRectangleList()
◆ drawGlyph()
void juce::LowLevelGraphicsPostScriptRenderer::drawGlyph |
( |
int |
glyphNumber, |
|
|
const AffineTransform & |
|
|
) |
| |
|
overridevirtual |
◆ drawImage()
void juce::LowLevelGraphicsPostScriptRenderer::drawImage |
( |
const Image & |
, |
|
|
const AffineTransform & |
|
|
) |
| |
|
overridevirtual |
◆ drawLine()
void juce::LowLevelGraphicsPostScriptRenderer::drawLine |
( |
const Line< float > & |
| ) |
|
|
overridevirtual |
◆ drawTextLayout()
◆ endTransparencyLayer()
void juce::LowLevelGraphicsPostScriptRenderer::endTransparencyLayer |
( |
| ) |
|
|
overridevirtual |
◆ excludeClipRectangle()
void juce::LowLevelGraphicsPostScriptRenderer::excludeClipRectangle |
( |
const Rectangle< int > & |
| ) |
|
|
overridevirtual |
◆ fillPath()
void juce::LowLevelGraphicsPostScriptRenderer::fillPath |
( |
const Path & |
, |
|
|
const AffineTransform & |
|
|
) |
| |
|
overridevirtual |
◆ fillRect() [1/2]
void juce::LowLevelGraphicsPostScriptRenderer::fillRect |
( |
const Rectangle< int > & |
, |
|
|
bool |
replaceExistingContents |
|
) |
| |
|
overridevirtual |
◆ fillRect() [2/2]
void juce::LowLevelGraphicsPostScriptRenderer::fillRect |
( |
const Rectangle< float > & |
| ) |
|
|
overridevirtual |
◆ fillRectList()
void juce::LowLevelGraphicsPostScriptRenderer::fillRectList |
( |
const RectangleList< float > & |
| ) |
|
|
overridevirtual |
◆ getClipBounds()
Rectangle<int> juce::LowLevelGraphicsPostScriptRenderer::getClipBounds |
( |
| ) |
const |
|
overridevirtual |
◆ getFont()
const Font& juce::LowLevelGraphicsPostScriptRenderer::getFont |
( |
| ) |
|
|
overridevirtual |
◆ getPhysicalPixelScaleFactor()
float juce::LowLevelGraphicsPostScriptRenderer::getPhysicalPixelScaleFactor |
( |
| ) |
|
|
overridevirtual |
◆ isClipEmpty()
bool juce::LowLevelGraphicsPostScriptRenderer::isClipEmpty |
( |
| ) |
const |
|
overridevirtual |
◆ isVectorDevice()
bool juce::LowLevelGraphicsPostScriptRenderer::isVectorDevice |
( |
| ) |
const |
|
overridevirtual |
◆ restoreState()
void juce::LowLevelGraphicsPostScriptRenderer::restoreState |
( |
| ) |
|
|
overridevirtual |
◆ saveState()
void juce::LowLevelGraphicsPostScriptRenderer::saveState |
( |
| ) |
|
|
overridevirtual |
◆ setFill()
void juce::LowLevelGraphicsPostScriptRenderer::setFill |
( |
const FillType & |
| ) |
|
|
overridevirtual |
◆ setFont()
void juce::LowLevelGraphicsPostScriptRenderer::setFont |
( |
const Font & |
| ) |
|
|
overridevirtual |
◆ setInterpolationQuality()
◆ setOpacity()
void juce::LowLevelGraphicsPostScriptRenderer::setOpacity |
( |
float |
| ) |
|
|
overridevirtual |
◆ setOrigin()
void juce::LowLevelGraphicsPostScriptRenderer::setOrigin |
( |
Point< int > |
| ) |
|
|
overridevirtual |
Moves the origin to a new position.
The coordinates are relative to the current origin, and indicate the new position of (0, 0).
Implements juce::LowLevelGraphicsContext.
◆ writeClip()
void juce::LowLevelGraphicsPostScriptRenderer::writeClip |
( |
| ) |
|
|
protected |
◆ writeColour()
void juce::LowLevelGraphicsPostScriptRenderer::writeColour |
( |
Colour |
colour | ) |
|
|
protected |
◆ writeImage()
void juce::LowLevelGraphicsPostScriptRenderer::writeImage |
( |
const Image & |
, |
|
|
int |
sx, |
|
|
int |
sy, |
|
|
int |
maxW, |
|
|
int |
maxH |
|
) |
| const |
|
protected |
◆ writePath()
void juce::LowLevelGraphicsPostScriptRenderer::writePath |
( |
const Path & |
| ) |
const |
|
protected |
◆ writeTransform()
void juce::LowLevelGraphicsPostScriptRenderer::writeTransform |
( |
const AffineTransform & |
| ) |
const |
|
protected |
◆ writeXY()
void juce::LowLevelGraphicsPostScriptRenderer::writeXY |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
|
protected |
◆ lastColour
Colour juce::LowLevelGraphicsPostScriptRenderer::lastColour |
|
protected |
◆ needToClip
bool juce::LowLevelGraphicsPostScriptRenderer::needToClip |
|
protected |
◆ out
◆ stateStack
◆ totalHeight
int juce::LowLevelGraphicsPostScriptRenderer::totalHeight |
|
protected |
◆ totalWidth
int juce::LowLevelGraphicsPostScriptRenderer::totalWidth |
|
protected |
The documentation for this class was generated from the following file: