jdk/src/share/classes/sun/dc/DuctusRenderingEngine.java
changeset 10419 12c063b39232
parent 9035 1255eb81cc2f
child 14342 8435a30053c1
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
   156             PathIterator pi = src.getPathIterator(transform);
   156             PathIterator pi = src.getPathIterator(transform);
   157 
   157 
   158             feedConsumer(pi, consumer, normalize, 0.25f);
   158             feedConsumer(pi, consumer, normalize, 0.25f);
   159         } catch (PathException e) {
   159         } catch (PathException e) {
   160             throw new InternalError("Unable to Stroke shape ("+
   160             throw new InternalError("Unable to Stroke shape ("+
   161                                     e.getMessage()+")");
   161                                     e.getMessage()+")", e);
   162         } finally {
   162         } finally {
   163             while (consumer != null && consumer != sr) {
   163             while (consumer != null && consumer != sr) {
   164                 PathConsumer next = consumer.getConsumer();
   164                 PathConsumer next = consumer.getConsumer();
   165                 consumer.dispose();
   165                 consumer.dispose();
   166                 consumer = next;
   166                 consumer = next;
   761             }
   761             }
   762 
   762 
   763             consumer.endPath();
   763             consumer.endPath();
   764         } catch (PathException e) {
   764         } catch (PathException e) {
   765             throw new InternalError("Unable to Stroke shape ("+
   765             throw new InternalError("Unable to Stroke shape ("+
   766                                     e.getMessage()+")");
   766                                     e.getMessage()+")", e);
   767         }
   767         }
   768     }
   768     }
   769 
   769 
   770     private class FillAdapter implements PathConsumer {
   770     private class FillAdapter implements PathConsumer {
   771         boolean closed;
   771         boolean closed;