Files
chandra/compositor/renderer/pkg.generated.mbti
T
VandClaude Opus 5.5 af774d76fe
CI / test (push) Failing after 16s
Rename the project to Chandra
moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra
everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the
MoonBit module (chandra/desktop) and generated bindings, the Rust host,
identifiers (ChandraCompositor), the session script (chandra-session) and
desktop entry (chandra.desktop), config and data paths
($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*),
UI strings, docs and tests. The test fixture components are rebuilt against
the renamed WIT.

Saved panel.edn and state.edn are still read from the old
$XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy.

The remote repository keeps its experiments/moon-plasma name for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
2026-11-25 17:12:57 +00:00

47 lines
929 B
Plaintext

// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/compositor/renderer"
import {
"chandra/desktop/compositor/scene",
}
// Values
pub fn blit_shm_surface(Pixmap, @scene.ShmBufferSnapshot, @scene.Rect) -> Unit
pub fn draw_ops(Pixmap, Array[@scene.DrawOp], Int32, Int32) -> Unit
pub fn encode_png(Pixmap) -> Bytes
pub fn encode_ppm(Pixmap) -> Bytes
pub fn render_scene(@scene.SceneGraph) -> Pixmap
pub fn set_glyph_source((Int32, Int32, Bool, Bool) -> Glyph) -> Unit
pub fn text_width(String, Int32, Bool, Bool) -> Int32
// Errors
// Types and methods
pub(all) struct Glyph {
w : Int32
h : Int32
xoff : Int32
yoff : Int32
advance : Int32
coverage : Bytes
embolden : Bool
}
pub(all) struct Pixmap {
width : Int32
height : Int32
data : FixedArray[Byte]
}
pub fn Pixmap::new(Int32, Int32) -> Self
pub fn Pixmap::pixel(Self, Int32, Int32) -> @scene.Rgba?
// Type aliases
// Traits