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.1a2.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.1a2-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: suzaku-0.0.1a2.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.1a2.tar.gz
Algorithm Hash digest
SHA256 48aa4c44b049a6df59397ec14dd3a537e98798ea137eae59d36f3e6c8c19d514
MD5 cd05f3848aabba4b651c434977c890eb
BLAKE2b-256 826b9d58bbcf552ffc5486ca1e3a7852f53f4b1798875c4f48d156ca728e9bfb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: suzaku-0.0.1a2-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.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7d71c1989991b3c7166a159919bf1b850777b931176c79192bd11d637279fd
MD5 3d4c335e4f8ee09b99db01df3636e7a8
BLAKE2b-256 cf937253a1af2d6a79a41d253d06abc7380bd2e886f3d8bb414df7eb527ac20e

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