Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4112240

Font.GetOutline api should be moved to GlyphSet

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • client-libs
    • 2d
    • generic
    • generic



      Name: bb33257 Date: 02/13/98


      Font has API to get the outline of a glyphset. This API should
      be moved to GlyphSet.

      Only the glyphset is required, as it knows the Font that
      created it. Moving the API to GlyphSet avoids programmer errors
      resulting from passing a GlyphSet to a font that did not
      create it.

      All similar API is implemented on GlyphSet. Putting this API
      on GlyphSet is better object-oriented design, and it will be
      easier to document and use if the API is consistent. Programmers
      should ask the GlyphSet for its own Shape.


      ======================================================================

            jkaulorcl Jeet Kaul (Inactive)
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: