Skip to main content

Placeholder description (to be updated) 暂时仅作占位作用,无需下载安装

Project description

Suzuka 朱雀

基于skia-pythonpyopenglglfw高级界面库

正在抓紧制作中...

正处于开发中可以自行下载,来预览我暂时的成果


简单示例

v0.0.1a1.png

from suzaku import *

app = SkApp()
window = SkWindow()
btn = SkButton(window, text="Hello World")
btn.place(10, 10)
app.run()

原理

基础原理

SkApp管理着所有的SkWindow。我们将每一个可视化的元素&组件视为一个个的SkVisual,居于SkWindow中。 SkVisual具有一个个属性,告诉SkWindow自己该如何被绘制,用SkWindow.add_draw()将自己的绘制方式加入进去,然后在SkWindow.draw()中被一个个的绘制在画布上。

布局

取名原因

suzuka是朱雀的意思,朱雀是中国古代的四大神兽之一。取这名呢感觉很霸气,先占个名先。

计划

我将会使用跨平台的Canvas库,用svg来绘制图形。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

suzaku-0.0.1a3.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

suzaku-0.0.1a3-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

Details for the file suzaku-0.0.1a3.tar.gz.

File metadata

  • Download URL: suzaku-0.0.1a3.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Windows/11

File hashes

Hashes for suzaku-0.0.1a3.tar.gz
Algorithm Hash digest
SHA256 5e916f49ca2e100ce01b69349f85dd0ffa9ff0ea091b8e3685f11ade14a925e2
MD5 496c1aed51f76f60c9a999a3198af2ea
BLAKE2b-256 eec033ca3ad4e516463e45f5063fdf5017f66cdba24e6c13e74d8909d1ddfa9d

See more details on using hashes here.

File details

Details for the file suzaku-0.0.1a3-py3-none-any.whl.

File metadata

  • Download URL: suzaku-0.0.1a3-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Windows/11

File hashes

Hashes for suzaku-0.0.1a3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa8dd8a2bcefcd13064adfef471a135275724412f39a4ab5d09b9aeec59ab6c0
MD5 065903c33aa7abd5314eb7a7253694a2
BLAKE2b-256 16ccf3e0d22b9d779917615365113a120003c45f6bbc52ce8c90ee305d6e4774

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page