jPodRenderer PDF library

de.intarsys.pdf.platform.cwt.font.freetype
Class FreetypeGlyphs

java.lang.Object
  extended by de.intarsys.pdf.platform.cwt.font.freetype.FreetypeGlyphs
All Implemented Interfaces:
IPlatformGlyphs

public class FreetypeGlyphs
extends Object
implements IPlatformGlyphs


Method Summary
 FreetypeFont getFont()
           
 de.intarsys.pdf.font.PDGlyphs getGlyphs()
          The associated PD level glyphs PDGlyphs instance.
 IPlatformFont getPlatformFont()
          The platform dependent font where the IPlatformGlyphs object resides.
 Shape getShape()
           
 int getWidth()
          The glyph width encoded in the font program expressed in PDF glyph space.
 void render(ICSPlatformDevice device)
          Render the IPlatformGlyphs object on an ICSPlatformDevice.
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFont

public FreetypeFont getFont()

getGlyphs

public de.intarsys.pdf.font.PDGlyphs getGlyphs()
Description copied from interface: IPlatformGlyphs
The associated PD level glyphs PDGlyphs instance.

Specified by:
getGlyphs in interface IPlatformGlyphs
Returns:
The associated PD level glyphs PDGlyphs instance.

getPlatformFont

public IPlatformFont getPlatformFont()
Description copied from interface: IPlatformGlyphs
The platform dependent font where the IPlatformGlyphs object resides.

Specified by:
getPlatformFont in interface IPlatformGlyphs
Returns:
The platform dependent font where the IPlatformGlyphs object resides.

getShape

public Shape getShape()

getWidth

public int getWidth()
Description copied from interface: IPlatformGlyphs
The glyph width encoded in the font program expressed in PDF glyph space.

Specified by:
getWidth in interface IPlatformGlyphs
Returns:
The glyph width encoded in the font program expressed in PDF glyph space.

render

public void render(ICSPlatformDevice device)
Description copied from interface: IPlatformGlyphs
Render the IPlatformGlyphs object on an ICSPlatformDevice.

Specified by:
render in interface IPlatformGlyphs
Parameters:
device - The device to draw upon.

setWidth

public void setWidth(int width)

jPodRenderer PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.