Skip to content

Commit

Permalink
Add kiva.oldagg as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiggins committed Mar 3, 2021
1 parent 94adfbf commit 9653f6c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions kiva/oldagg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in LICENSE.txt and may be redistributed only under
# the conditions described in the aforementioned license. The license
# is also available online at http://www.enthought.com/licenses/BSD.txt
#
# Thanks for using Enthought open source!
from kiva.agg import AggFontType as FontType
from kiva.agg import CompiledPath
from kiva.agg import GraphicsContextArray as GraphicsContext
from kiva.agg import GraphicsContextSystem, Image

__all__ = [
"CompiledPath", "font_metrics_provider", "FontType", "GraphicsContext",
"GraphicsContextSystem", "Image"
]


def font_metrics_provider():
""" Create an object to be used for querying font metrics.
"""
return GraphicsContext((1, 1))

0 comments on commit 9653f6c

Please sign in to comment.