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是朱雀的意思,朱雀是中国古代的四大神兽之一。取这名呢感觉很霸气,先占个名先。

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: suzaku-0.0.1a4.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.1a4.tar.gz
Algorithm Hash digest
SHA256 84fc3e2bb96299d0d0eb9b96e1707fce37e0ac6a5b0b46bc4b946e9a93146a5c
MD5 631df821caae2200733fbfb799fb61b7
BLAKE2b-256 81fac21b3ec0a5f8df82421ba616451f0b4c2c8d1e329fcfa9a385de8e8892c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: suzaku-0.0.1a4-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.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 8504d4bfe5f2e14ab0366458a79d62139a9e6d7677f14fa60c9de0ab879ef811
MD5 816467b4caa230c6021b52d7367579b6
BLAKE2b-256 7bd72c069bf9b72bd3609b917b5f90e1283107e1543d3b739c56235a254a1ea7

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