~ubuntu-branches/ubuntu/utopic/monodevelop/utopic

« back to all changes in this revision

Viewing changes to external/ikvm/openjdk/sun/font/StandardGlyphVector.java

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-10-10 14:50:04 UTC
  • mfrom: (10.3.4)
  • Revision ID: package-import@ubuntu.com-20131010145004-80l130sny21b17sb
Tags: 4.0.12+dfsg-1
* [5dcb6e1] Fix debian/watch for new source tarball name format
* [5c68cb5] Refresh list of files removed by get-orig-source to 
  reflect 4.0.12
* [96d60a0] Imported Upstream version 4.0.12+dfsg
* [b989752] Refresh debian/patches/no_appmenu to ensure it applies
* [2a4c351] Ensure every assembly in external/ is cleaned properly
* [92762f7] Add more excluded Mac-specific modulerefs
* [bc698ba] Add symlinks to NUnit assemblies (Closes: #714246)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  Copyright (C) 2009 - 2011 Volker Berlin (i-net software)
 
2
  Copyright (C) 2009 - 2013 Volker Berlin (i-net software)
3
3
 
4
4
  This software is provided 'as-is', without any express or implied
5
5
  warranty.  In no event will the authors be held liable for any damages
187
187
    }
188
188
 
189
189
    @Override
190
 
    public Shape getGlyphOutline(int ix) {
191
 
        throw new NotYetImplementedError();
 
190
    public Shape getGlyphOutline( int glyphIndex ) {
 
191
        return getGlyphOutline( glyphIndex, 0, 0 );
192
192
    }
193
193
 
194
194
    @Override
 
195
    public Shape getGlyphOutline( int glyphIndex, float x, float y ) {
 
196
        initPositions();
 
197
        
 
198
        return IkvmToolkit.DefaultToolkit.get().outline( font, frc, glyphs.substring( glyphIndex, glyphIndex + 1 ), x + positions[glyphIndex * 2], y );
 
199
    }
 
200
    
 
201
    @Override
195
202
    public Point2D getGlyphPosition(int ix) {
196
203
        initPositions();
197
204