membrane.skija

*already-drawing*

dynamic

*canvas*

dynamic

*context*

dynamic

*draw-cache*

dynamic

*font-cache*

dynamic

*image-cache*

dynamic

*paint*

dynamic

*rect-color

*window*

dynamic

-main

(-main & args)

callbacks

char-callback

(char-callback f)

color

(color l)

cursor-pos-callback

(cursor-pos-callback f)

dispatch_sync

drop-callback

(drop-callback f)

framebuffer-size-callback

(framebuffer-size-callback f)

IDraw

protocol

members

draw

(draw this)

ImageFactory

protocol

members

get-image-texture

(get-image-texture x)

key-action-map

key-callback

(key-callback f)

keycodes

keymap

main-class-loader

main-queue

mouse-button-callback

(mouse-button-callback f)

objlib

run

(run view-fn)(run view-fn options)

Open a window and call view-fn to draw.

view-fn should be a 0 argument function that returns a view. view-fn will be called for every repaint.

options is a map that can contain the following keys Optional parameters

window-title: The string that appears in the title bar of the window.

window-start-width: the starting width of the window window-start-height: the starting height of the window note: The window may be resized.

window-start-x: the starting x coordinate of the top left corner of the window window-start-y: the starting y coordinate of the top left corner of the window note: The window may be moved.

run-sync

(run-sync view-fn)(run-sync view-fn options)

Open a window and call view-fn to draw. Returns when the window is closed.

view-fn should be a 0 argument function that returns a view. view-fn will be called for every repaint.

options is a map that can contain the following keys Optional parameters

window-title: The string that appears in the title bar of the window.

window-start-width: the starting width of the window window-start-height: the starting height of the window note: The window may be resized.

window-start-x: the starting x coordinate of the top left corner of the window window-start-y: the starting y coordinate of the top left corner of the window note: The window may be moved.

save-canvas

macro

(save-canvas & args)

scroll-callback

(scroll-callback f)

selection-color

toolkit

void

window-refresh-callback

(window-refresh-callback f)