kaxe 1.8.1.dev6__tar.gz → 1.9.0.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kaxe-1.8.1.dev6/src/kaxe.egg-info → kaxe-1.9.0.dev0}/PKG-INFO +1 -1
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/pyproject.toml +1 -1
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/axis.py +9 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/marker.py +2 -1
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/text.py +4 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0/src/kaxe.egg-info}/PKG-INFO +1 -1
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/LICENSE +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/MANIFEST.in +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/README.md +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/setup.cfg +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/__main__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/_require_3d.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/_require_viewer.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/chart/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/chart/bar.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/chart/box.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/chart/pie.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/chart/qqplot.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/cli.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/bounds.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/color.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/backend.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/camera.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/helper.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/hud.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/objects/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/objects/color.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/objects/line.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/objects/point.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/objects/pointer.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/objects/triangle.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/openglrender.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/d3/translator.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/draw.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/fileloader.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/helper.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/ipython_display.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/legend.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/line.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/palette.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/profiler.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/progress.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/round.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/shapes.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/styles.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/svg.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/svg_pdf.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/symbol.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/thin.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/core/window.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/data/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/data/excel.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/_lazy.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/arrow.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/bubble.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/contour.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/equation.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/fill.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/function.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/guide_grid.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/inequality.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/map.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/parameter.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/pillar.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d2/point.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d3/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d3/base.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d3/function.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d3/mesh.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d3/point.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/d3/potato.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/function.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/legend.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/mapdata.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/point.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/objects/text.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/_lazy.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/box.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/constants.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/d3/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/d3/axes.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/d3/geometry.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/d3/plot3d.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/d3/variants.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/double.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/empty.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/grid.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/log.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/polar.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/standard.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/themes.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/zoom.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/plot/zoom_connector.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/codec.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/context.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/document.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/registry.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/sample.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/sampled_curve.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/serializers.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/project/window.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.bright-oblique.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.bright-roman.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.bright-semibold.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.bright-semiboldoblique.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.classical-serif-italic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.concrete-bold.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.concrete-bolditalic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.concrete-italic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.concrete-roman.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-bold.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-boldoblique.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-demi-condensed-demicondensed.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-medium.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-oblique.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-bold.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-bolditalic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-extra-boldslanted.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-extra-romanslanted.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-italic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-roman.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-upright-italic-uprightitalic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-bold.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-bolditalic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-italic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-light.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-lightoblique.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-regular.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-variable-width-italic.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-variable-width-medium.ttf +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/readme.txt +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/logo-small.png +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/viewer/__init__.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/viewer/cli.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/viewer/client.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/viewer/server.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/viewer/window.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe.egg-info/SOURCES.txt +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe.egg-info/dependency_links.txt +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe.egg-info/entry_points.txt +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe.egg-info/requires.txt +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe.egg-info/top_level.txt +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/tests/test.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/tests/test2.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/tests/test3.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/tests/test_4.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/tests/test_5.py +0 -0
- {kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/tests/test_viewer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kaxe
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0.dev0
|
|
4
4
|
Summary: A small graphing tool for functions, points, equations and more
|
|
5
5
|
Author-email: Valter Yde Daugberg <valteryde@hotmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/valteryde/kaxe
|
|
@@ -362,6 +362,7 @@ class Axis(AttrObject):
|
|
|
362
362
|
|
|
363
363
|
if (i + markerOffset) % maxOverlays != 0:
|
|
364
364
|
|
|
365
|
+
marker.textLabel.hide()
|
|
365
366
|
marker.textLabel.img = Image.new('RGBA', (0,0))
|
|
366
367
|
if hasattr(marker, 'line'):
|
|
367
368
|
marker.line.color = (
|
|
@@ -589,6 +590,10 @@ class Axis(AttrObject):
|
|
|
589
590
|
|
|
590
591
|
|
|
591
592
|
def __pixelCollision__(self, label:Text, title:Text):
|
|
593
|
+
if label.__hidden__ or label.img.width == 0 or label.img.height == 0:
|
|
594
|
+
return False
|
|
595
|
+
if title.__hidden__ or title.img.width == 0 or title.img.height == 0:
|
|
596
|
+
return False
|
|
592
597
|
|
|
593
598
|
lx, ly, lwidth, lheight = label.getBoundingBox()
|
|
594
599
|
tx, ty, twidth, theight = title.getBoundingBox()
|
|
@@ -770,6 +775,10 @@ class Axis(AttrObject):
|
|
|
770
775
|
for a, b in l:
|
|
771
776
|
if not hasattr(a, 'textLabel') or not hasattr(b, 'textLabel'):
|
|
772
777
|
continue
|
|
778
|
+
if a.textLabel.__hidden__ or b.textLabel.__hidden__:
|
|
779
|
+
continue
|
|
780
|
+
if a.textLabel.img.width == 0 or b.textLabel.img.width == 0:
|
|
781
|
+
continue
|
|
773
782
|
|
|
774
783
|
if not self.__topLeftBoxOverlays__(a.textLabel, b.textLabel):
|
|
775
784
|
continue
|
|
@@ -193,7 +193,8 @@ class Marker(AttrObject):
|
|
|
193
193
|
label_y += nudge[1]
|
|
194
194
|
|
|
195
195
|
self.textLabel.setCenterPos(label_x, label_y)
|
|
196
|
-
self.textLabel.
|
|
196
|
+
if self.textLabel.img.width > 0 and self.textLabel.img.height > 0:
|
|
197
|
+
self.textLabel.show()
|
|
197
198
|
|
|
198
199
|
|
|
199
200
|
def getBoundingBox(self):
|
|
@@ -178,6 +178,8 @@ class Text(Shape):
|
|
|
178
178
|
]
|
|
179
179
|
|
|
180
180
|
def drawPillow(self, surface):
|
|
181
|
+
if self.__hidden__ or self.img.width == 0 or self.img.height == 0:
|
|
182
|
+
return
|
|
181
183
|
[y] = flipHorizontal(surface, self.__center__[1] + self.height/2)
|
|
182
184
|
if self.clip_box is not None:
|
|
183
185
|
blit_image_clipped(
|
|
@@ -191,6 +193,8 @@ class Text(Shape):
|
|
|
191
193
|
blitImageToSurface(surface, self.img, (self.__leftTop__[0], y))
|
|
192
194
|
|
|
193
195
|
def drawSvg(self, doc):
|
|
196
|
+
if self.__hidden__ or self.img.width == 0 or self.img.height == 0:
|
|
197
|
+
return
|
|
194
198
|
kaxe_top = self.__center__[1] + self.height / 2
|
|
195
199
|
svg_top = doc.flip_y(kaxe_top)
|
|
196
200
|
rotate_center = (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kaxe
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.9.0.dev0
|
|
4
4
|
Summary: A small graphing tool for functions, points, equations and more
|
|
5
5
|
Author-email: Valter Yde Daugberg <valteryde@hotmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/valteryde/kaxe
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.bright-oblique.ttf
RENAMED
|
File without changes
|
{kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.bright-roman.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.concrete-bold.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.concrete-roman.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-bold.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-italic.ttf
RENAMED
|
File without changes
|
{kaxe-1.8.1.dev6 → kaxe-1.9.0.dev0}/src/kaxe/resources/computer-modern-family/cmu.serif-roman.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|