Placeholder description (to be updated) 暂时仅作占位作用,无需下载安装
Project description
Suzuka 朱雀
基于skia-python、pyopengl与glfw高级界面库
正在抓紧制作中...
正处于开发中可以自行下载,来预览我暂时的成果
简单示例
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84fc3e2bb96299d0d0eb9b96e1707fce37e0ac6a5b0b46bc4b946e9a93146a5c
|
|
| MD5 |
631df821caae2200733fbfb799fb61b7
|
|
| BLAKE2b-256 |
81fac21b3ec0a5f8df82421ba616451f0b4c2c8d1e329fcfa9a385de8e8892c2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8504d4bfe5f2e14ab0366458a79d62139a9e6d7677f14fa60c9de0ab879ef811
|
|
| MD5 |
816467b4caa230c6021b52d7367579b6
|
|
| BLAKE2b-256 |
7bd72c069bf9b72bd3609b917b5f90e1283107e1543d3b739c56235a254a1ea7
|