The sketch Reference Manual

This is the sketch Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:43:05 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 sketch

Sketch is a Common Lisp framework for the creation of electronic art, computer graphics, visual design, game making and more. It is inspired by Processing and OpenFrameworks.

Author

Danilo Vidovic (vydd)

License

MIT

Dependencies
  • alexandria (system).
  • closer-mop (system).
  • glkit (system).
  • glu-tessellate (system).
  • mathkit (system).
  • md5 (system).
  • sdl2 (system).
  • cl-plus-c (system).
  • sdl2-image (system).
  • sdl2-ttf (system).
  • sdl2kit (system).
  • split-sequence (system).
  • static-vectors (system).
  • trivial-garbage (system).
  • zpng (system).
Source

sketch.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 sketch/sketch.asd

Source

sketch.asd.

Parent Component

sketch (system).

ASDF Systems

sketch.


3.1.2 sketch/package.lisp

Source

sketch.asd.

Parent Component

sketch (system).

Packages

sketch.


3.1.3 sketch/math.lisp

Dependency

package.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface

3.1.4 sketch/utils.lisp

Dependency

math.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface

relative-path (function).

Internals

3.1.5 sketch/environment.lisp

Dependency

utils.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Internals

3.1.6 sketch/resources.lisp

Dependency

environment.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.7 sketch/color.lisp

Dependency

resources.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.8 sketch/channels.lisp

Dependency

color.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.9 sketch/shaders.lisp

Dependency

channels.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).


3.1.10 sketch/pen.lisp

Dependency

shaders.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.11 sketch/font.lisp

Dependency

pen.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.12 sketch/geometry.lisp

Dependency

font.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Internals

3.1.13 sketch/image.lisp

Dependency

geometry.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface

3.1.14 sketch/shapes.lisp

Dependency

image.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.15 sketch/transforms.lisp

Dependency

shapes.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.16 sketch/complex-transforms.lisp

Dependency

transforms.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface

3.1.17 sketch/drawing.lisp

Dependency

complex-transforms.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface

with-uv-rect (macro).

Internals

3.1.18 sketch/bindings.lisp

Dependency

drawing.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Internals

3.1.19 sketch/sketch.lisp

Dependency

bindings.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.20 sketch/entities.lisp

Dependency

sketch.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.21 sketch/figures.lisp

Dependency

entities.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface

deffigure (macro).

Internals

3.1.22 sketch/controllers.lisp

Dependency

figures.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

3.1.23 sketch/canvas.lisp

Dependency

controllers.lisp (file).

Source

sketch.asd.

Parent Component

sketch (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 sketch

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Constants

Constant: +e+
Package

sketch.

Source

math.lisp.

Constant: +epsilon+
Package

sketch.

Source

math.lisp.

Constant: +golden-ratio+
Package

sketch.

Source

math.lisp.

Constant: +half-pi+
Package

sketch.

Source

math.lisp.

Constant: +phi+
Package

sketch.

Source

math.lisp.

Constant: +pi+
Package

sketch.

Source

math.lisp.

Constant: +quarter-pi+
Package

sketch.

Source

math.lisp.

Constant: +tau+
Package

sketch.

Source

math.lisp.

Constant: +two-pi+
Package

sketch.

Source

math.lisp.


5.1.2 Special variables

Special Variable: *default-height*

The default height of sketch window

Package

sketch.

Source

sketch.lisp.

Special Variable: *default-width*

The default width of sketch window

Package

sketch.

Source

sketch.lisp.

Special Variable: +black+
Package

sketch.

Source

color.lisp.

Special Variable: +blue+
Package

sketch.

Source

color.lisp.

Special Variable: +cyan+
Package

sketch.

Source

color.lisp.

Special Variable: +gray+
Package

sketch.

Source

color.lisp.

Special Variable: +green+
Package

sketch.

Source

color.lisp.

Special Variable: +indigo+
Package

sketch.

Source

color.lisp.

Special Variable: +magenta+
Package

sketch.

Source

color.lisp.

Special Variable: +orange+
Package

sketch.

Source

color.lisp.

Special Variable: +red+
Package

sketch.

Source

color.lisp.

Special Variable: +white+
Package

sketch.

Source

color.lisp.

Special Variable: +yellow+
Package

sketch.

Source

color.lisp.


5.1.3 Macros

Macro: defentity (entity-name binding-forms &body body)
Package

sketch.

Source

entities.lisp.

Macro: deffigure (name &optional &optional &body body)
Package

sketch.

Source

figures.lisp.

Macro: define-channel-observer (&body body)
Package

sketch.

Source

channels.lisp.

Macro: define-named-channel-observer (name &body body)
Package

sketch.

Source

channels.lisp.

Macro: defsketch (sketch-name binding-forms &body body)
Package

sketch.

Source

sketch.lisp.

Macro: with-current-matrix (&body body)
Package

sketch.

Source

transforms.lisp.

Macro: with-fit ((to-width to-height from-width from-height &key mode) &body body)
Package

sketch.

Source

complex-transforms.lisp.

Macro: with-font (font &body body)
Package

sketch.

Source

font.lisp.

Macro: with-identity-matrix (&body body)
Package

sketch.

Source

transforms.lisp.

Macro: with-matrix (matrix &body body)
Package

sketch.

Source

transforms.lisp.

Macro: with-pen (pen &body body)
Package

sketch.

Source

pen.lisp.

Macro: with-rotate ((angle &optional cx cy) &body body)
Package

sketch.

Source

transforms.lisp.

Macro: with-scale ((sx &optional sy cx cy) &body body)
Package

sketch.

Source

transforms.lisp.

Macro: with-translate ((dx dy) &body body)
Package

sketch.

Source

transforms.lisp.

Macro: with-uv-rect (rect &body body)
Package

sketch.

Source

drawing.lisp.


5.1.4 Ordinary functions

Function: background (color)

Fills the sketch window with COLOR.

Package

sketch.

Source

pen.lisp.

Function: bezier (x1 y1 bx1 by1 bx2 by2 x2 y2)
Package

sketch.

Source

shapes.lisp.

Function: circle (x y r)
Package

sketch.

Source

shapes.lisp.

Function: clamp-1 (x)
Package

sketch.

Source

math.lisp.

Function: color-filter-grayscale (color &optional mode)
Package

sketch.

Source

color.lisp.

Function: color-filter-hsb (color &key hue saturation brightness)
Package

sketch.

Source

color.lisp.

Function: color-filter-invert (color)
Package

sketch.

Source

color.lisp.

Function: color-filter-rotate (color)
Package

sketch.

Source

color.lisp.

Function: color-hsba (color)
Package

sketch.

Source

color.lisp.

Function: color-rgb (color)
Package

sketch.

Source

color.lisp.

Function: color-rgba (color)
Package

sketch.

Source

color.lisp.

Function: color-vector (color)
Package

sketch.

Source

color.lisp.

Function: color-vector-255 (color)
Package

sketch.

Source

color.lisp.

Function: copy-pen (instance)
Package

sketch.

Source

pen.lisp.

Function: degrees (rad)
Package

sketch.

Source

math.lisp.

Function: ellipse (cx cy rx ry)
Package

sketch.

Source

shapes.lisp.

Function: fit (to-width to-height from-width from-height &key mode)
Package

sketch.

Source

complex-transforms.lisp.

Function: flip-pen (pen)

Makes a new pen by swapping PEN’s fill and stroke colors.

Package

sketch.

Source

pen.lisp.

Function: gray (amount &optional alpha)
Package

sketch.

Source

color.lisp.

Function: gray-255 (amount &optional alpha)
Package

sketch.

Source

color.lisp.

Function: hash-color (n &optional alpha)
Package

sketch.

Source

color.lisp.

Function: hex-to-color (string)
Package

sketch.

Source

color.lisp.

Function: hsb (hue saturation brightness &optional alpha)
Package

sketch.

Source

color.lisp.

Function: hsb-360 (hue saturation brightness &optional alpha)
Package

sketch.

Source

color.lisp.

Function: hsb-to-rgb (h s b)
Package

sketch.

Source

color.lisp.

Function: image (image-resource x y &optional width height)

***Deprecated***, use the DRAW method.

Package

sketch.

Source

image.lisp.

Function: in (channel &optional initial adapter)
Package

sketch.

Source

channels.lisp.

Function: lerp-color (start-color end-color amount &key mode)
Package

sketch.

Source

color.lisp.

Function: line (x1 y1 x2 y2)
Package

sketch.

Source

shapes.lisp.

Function: load-resource (filename &rest all-keys &key type force-reload-p &allow-other-keys)
Package

sketch.

Source

resources.lisp.

Function: make-canvas (width height)
Package

sketch.

Source

canvas.lisp.

Function: make-font (&key face color size line-height align)
Package

sketch.

Source

font.lisp.

Function: make-pen (&key fill stroke weight curve-steps winding-rule)
Package

sketch.

Source

pen.lisp.

Function: ngon (n cx cy rx ry &optional angle)
Package

sketch.

Source

shapes.lisp.

Function: normalize (x low high &key clamp out-low out-high)
Package

sketch.

Source

math.lisp.

Function: out (&rest channel-message)
Package

sketch.

Source

channels.lisp.

Reader: pen-curve-steps (instance)
Writer: (setf pen-curve-steps) (instance)
Package

sketch.

Source

pen.lisp.

Target Slot

curve-steps.

Reader: pen-fill (instance)
Writer: (setf pen-fill) (instance)
Package

sketch.

Source

pen.lisp.

Target Slot

fill.

Reader: pen-stroke (instance)
Writer: (setf pen-stroke) (instance)
Package

sketch.

Source

pen.lisp.

Target Slot

stroke.

Reader: pen-weight (instance)
Writer: (setf pen-weight) (instance)
Package

sketch.

Source

pen.lisp.

Target Slot

weight.

Reader: pen-winding-rule (instance)
Writer: (setf pen-winding-rule) (instance)
Package

sketch.

Source

pen.lisp.

Target Slot

winding-rule.

Function: point (x y)
Package

sketch.

Source

shapes.lisp.

Function: polygon (&rest coordinates)
Package

sketch.

Source

shapes.lisp.

Function: polyline (&rest coordinates)
Package

sketch.

Source

shapes.lisp.

Function: pop-matrix ()
Package

sketch.

Source

transforms.lisp.

Function: push-matrix ()
Package

sketch.

Source

transforms.lisp.

Function: radians (deg)
Package

sketch.

Source

math.lisp.

Function: random-color (&optional alpha)
Package

sketch.

Source

color.lisp.

Function: rect (x y w h)
Package

sketch.

Source

shapes.lisp.

Function: register-input (channel &optional initial adapter)
Package

sketch.

Source

channels.lisp.

Function: relative-path (path &optional system)
Package

sketch.

Source

utils.lisp.

Function: reset-all-channels ()
Package

sketch.

Source

channels.lisp.

Function: rgb (red green blue &optional alpha)
Package

sketch.

Source

color.lisp.

Function: rgb-255 (red green blue &optional alpha)
Package

sketch.

Source

color.lisp.

Function: rgb-to-hsb (r g b)
Package

sketch.

Source

color.lisp.

Function: rotate (angle &optional cx cy)
Package

sketch.

Source

transforms.lisp.

Function: save-png (pathname)
Package

sketch.

Source

image.lisp.

Function: scale (sx &optional sy cx cy)
Package

sketch.

Source

transforms.lisp.

Function: set-font (font)
Package

sketch.

Source

font.lisp.

Function: set-matrix (matrix)
Package

sketch.

Source

transforms.lisp.

Function: set-pen (pen)

Sets environment pen to PEN.

Package

sketch.

Source

pen.lisp.

Function: star (n cx cy ra rb &optional angle)
Package

sketch.

Source

shapes.lisp.

Function: start-loop ()
Package

sketch.

Source

sketch.lisp.

Function: stop-loop ()
Package

sketch.

Source

sketch.lisp.

Function: text (text-string x y &optional width height)
Package

sketch.

Source

font.lisp.

Function: text-line-image (line)
Package

sketch.

Source

font.lisp.

Function: translate (dx dy)
Package

sketch.

Source

transforms.lisp.


5.1.5 Generic functions

Generic Reader: canvas-height (object)
Package

sketch.

Methods
Reader Method: canvas-height ((canvas canvas))

automatically generated reader method

Source

canvas.lisp.

Target Slot

height.

Generic Function: canvas-image (canvas &key min-filter mag-filter &allow-other-keys)
Package

sketch.

Methods
Method: canvas-image ((canvas canvas) &key min-filter mag-filter &allow-other-keys)
Source

canvas.lisp.

Generic Function: canvas-lock (canvas &key min-filter mag-filter &allow-other-keys)
Package

sketch.

Methods
Method: canvas-lock ((canvas canvas) &key min-filter mag-filter &allow-other-keys)
Source

canvas.lisp.

Generic Function: canvas-paint (canvas color x y)
Package

sketch.

Methods
Method: canvas-paint ((canvas canvas) (color color) x y)
Source

canvas.lisp.

Generic Function: canvas-reset (canvas)
Package

sketch.

Methods
Method: canvas-reset ((canvas canvas))
Source

canvas.lisp.

Generic Function: canvas-unlock (canvas)
Package

sketch.

Methods
Method: canvas-unlock ((canvas canvas))
Source

canvas.lisp.

Generic Reader: canvas-width (object)
Package

sketch.

Methods
Reader Method: canvas-width ((canvas canvas))

automatically generated reader method

Source

canvas.lisp.

Target Slot

width.

Generic Reader: color-alpha (object)
Package

sketch.

Methods
Reader Method: color-alpha ((color color))

automatically generated reader method

Source

color.lisp.

Target Slot

alpha.

Generic Writer: (setf color-alpha) (object)
Package

sketch.

Methods
Writer Method: (setf color-alpha) ((color color))

automatically generated writer method

Source

color.lisp.

Target Slot

alpha.

Generic Reader: color-blue (object)
Package

sketch.

Methods
Reader Method: color-blue ((color color))

automatically generated reader method

Source

color.lisp.

Target Slot

blue.

Generic Function: (setf color-blue) (object)
Package

sketch.

Methods
Method: (setf color-blue) :after (color)
Source

color.lisp.

Writer Method: (setf color-blue) ((color color))

automatically generated writer method

Source

color.lisp.

Target Slot

blue.

Generic Reader: color-brightness (object)
Package

sketch.

Methods
Reader Method: color-brightness ((color color))

automatically generated reader method

Source

color.lisp.

Target Slot

brightness.

Generic Function: (setf color-brightness) (object)
Package

sketch.

Methods
Method: (setf color-brightness) :after (color)
Source

color.lisp.

Writer Method: (setf color-brightness) ((color color))

automatically generated writer method

Source

color.lisp.

Target Slot

brightness.

Generic Reader: color-green (object)
Package

sketch.

Methods
Reader Method: color-green ((color color))

automatically generated reader method

Source

color.lisp.

Target Slot

green.

Generic Function: (setf color-green) (object)
Package

sketch.

Methods
Method: (setf color-green) :after (color)
Source

color.lisp.

Writer Method: (setf color-green) ((color color))

automatically generated writer method

Source

color.lisp.

Target Slot

green.

Generic Reader: color-hue (object)
Package

sketch.

Methods
Reader Method: color-hue ((color color))

automatically generated reader method

Source

color.lisp.

Target Slot

hue.

Generic Function: (setf color-hue) (object)
Package

sketch.

Methods
Method: (setf color-hue) :after (color)
Source

color.lisp.

Writer Method: (setf color-hue) ((color color))

automatically generated writer method

Source

color.lisp.

Target Slot

hue.

Generic Reader: color-red (object)
Package

sketch.

Methods
Reader Method: color-red ((color color))

automatically generated reader method

Source

color.lisp.

Target Slot

red.

Generic Function: (setf color-red) (object)
Package

sketch.

Methods
Method: (setf color-red) :after (color)
Source

color.lisp.

Writer Method: (setf color-red) ((color color))

automatically generated writer method

Source

color.lisp.

Target Slot

red.

Generic Reader: color-saturation (object)
Package

sketch.

Methods
Reader Method: color-saturation ((color color))

automatically generated reader method

Source

color.lisp.

Target Slot

saturation.

Generic Function: (setf color-saturation) (object)
Package

sketch.

Methods
Method: (setf color-saturation) :after (color)
Source

color.lisp.

Writer Method: (setf color-saturation) ((color color))

automatically generated writer method

Source

color.lisp.

Target Slot

saturation.

Generic Function: crop (image-resource x y w h)
Package

sketch.

Methods
Method: crop ((image-resource image) x y w h)

Generate a cropped image resource from IMAGE-RESOURCE, limiting how much
of the image is drawn to the rect of X,Y,W,H, which are all in pixel values, and X & Y are relative to the image.

Source

image.lisp.

Generic Function: draw (instance &key x y width height mode min-filter mag-filter &allow-other-keys)

Draws the instance with set position, dimensions, and scaling mode.

Package

sketch.

Source

sketch.lisp.

Methods
Method: draw ((canvas canvas) &key x y width height mode min-filter mag-filter &allow-other-keys)

Draws a canvas with its top-left corner at co-ordinates X & Y. By default, uses the width and height that the canvas was created with, but these can be overwritten by parameters WIDTH and HEIGHT.

MIN-FILTER and MAG-FILTER are used to determine pixel colours when the drawing area is smaller or larger, respectively, than the canvas. By default, the :LINEAR function is used. :NEAREST is also a common option. Note that, if CANVAS-LOCK is being used, then MIN-FILTER and MAG-FILTER should be passed there instead.

See: https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTexParameter.xhtml

Source

canvas.lisp.

Method: draw ((instance sketch) &key x y width height mode &allow-other-keys)

Called repeatedly after creating the sketch window, 60fps.

Method: draw ((image image) &key x y width height mode &allow-other-keys)

Draws an image, X and Y values are 0 by default, while WIDTH and HEIGHT are set to the width & height of the image if not provided.

Source

image.lisp.

Generic Reader: entity-height (object)
Package

sketch.

Methods
Reader Method: entity-height ((entity entity))

automatically generated reader method

Source

entities.lisp.

Target Slot

height.

Generic Writer: (setf entity-height) (object)
Package

sketch.

Methods
Writer Method: (setf entity-height) ((entity entity))

automatically generated writer method

Source

entities.lisp.

Target Slot

height.

Generic Reader: entity-width (object)
Package

sketch.

Methods
Reader Method: entity-width ((entity entity))

automatically generated reader method

Source

entities.lisp.

Target Slot

width.

Generic Writer: (setf entity-width) (object)
Package

sketch.

Methods
Writer Method: (setf entity-width) ((entity entity))

automatically generated writer method

Source

entities.lisp.

Target Slot

width.

Generic Reader: image-height (object)
Package

sketch.

Methods
Reader Method: image-height ((image image))

automatically generated reader method

Source

resources.lisp.

Target Slot

height.

Generic Writer: (setf image-height) (object)
Package

sketch.

Methods
Writer Method: (setf image-height) ((image image))

automatically generated writer method

Source

resources.lisp.

Target Slot

height.

Generic Reader: image-width (object)
Package

sketch.

Methods
Reader Method: image-width ((image image))

automatically generated reader method

Source

resources.lisp.

Target Slot

width.

Generic Writer: (setf image-width) (object)
Package

sketch.

Methods
Writer Method: (setf image-width) ((image image))

automatically generated writer method

Source

resources.lisp.

Target Slot

width.

Generic Function: on-click (instance x y)
Package

sketch.

Methods
Method: on-click :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-click (instance x y)
Source

controllers.lisp.

Generic Function: on-enter (instance)
Package

sketch.

Methods
Method: on-enter (instance)
Source

controllers.lisp.

Generic Function: on-hover (instance x y)
Package

sketch.

Methods
Method: on-hover :around ((entity entity) ix iy)
Source

controllers.lisp.

Method: on-hover :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-hover (instance x y)
Source

controllers.lisp.

Generic Function: on-key (instance key state)
Package

sketch.

Methods
Method: on-key :around ((*sketch* sketch) key state)
Source

controllers.lisp.

Method: on-key (instance key state)
Source

controllers.lisp.

Generic Function: on-leave (instance)
Package

sketch.

Methods
Method: on-leave (instance)
Source

controllers.lisp.

Generic Function: on-mouse-button (instance button state x y)
Package

sketch.

Methods
Method: on-mouse-button :after ((instance sketch) button state x y)
Source

controllers.lisp.

Method: on-mouse-button :around ((*sketch* sketch) button state x y)
Source

controllers.lisp.

Method: on-mouse-button (instance button state x y)
Source

controllers.lisp.

Generic Function: on-mouse-left (instance state x y)
Package

sketch.

Methods
Method: on-mouse-left :after ((instance sketch) state x y)
Source

controllers.lisp.

Method: on-mouse-left :around ((*sketch* sketch) state x y)
Source

controllers.lisp.

Method: on-mouse-left (instance state x y)
Source

controllers.lisp.

Generic Function: on-mouse-left-down (instance x y)
Package

sketch.

Methods
Method: on-mouse-left-down :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-mouse-left-down (instance x y)
Source

controllers.lisp.

Generic Function: on-mouse-left-up (instance x y)
Package

sketch.

Methods
Method: on-mouse-left-up :after ((instance sketch) x y)
Source

controllers.lisp.

Method: on-mouse-left-up :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-mouse-left-up (instance x y)
Source

controllers.lisp.

Generic Function: on-mouse-middle (instance state x y)
Package

sketch.

Methods
Method: on-mouse-middle :after ((instance sketch) state x y)
Source

controllers.lisp.

Method: on-mouse-middle :around ((*sketch* sketch) state x y)
Source

controllers.lisp.

Method: on-mouse-middle (instance state x y)
Source

controllers.lisp.

Generic Function: on-mouse-middle-down (instance x y)
Package

sketch.

Methods
Method: on-mouse-middle-down :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-mouse-middle-down (instance x y)
Source

controllers.lisp.

Generic Function: on-mouse-middle-up (instance x y)
Package

sketch.

Methods
Method: on-mouse-middle-up :after ((instance sketch) x y)
Source

controllers.lisp.

Method: on-mouse-middle-up :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-mouse-middle-up (instance x y)
Source

controllers.lisp.

Generic Function: on-mouse-right (instance state x y)
Package

sketch.

Methods
Method: on-mouse-right :after ((instance sketch) state x y)
Source

controllers.lisp.

Method: on-mouse-right :around ((*sketch* sketch) state x y)
Source

controllers.lisp.

Method: on-mouse-right (instance state x y)
Source

controllers.lisp.

Generic Function: on-mouse-right-down (instance x y)
Package

sketch.

Methods
Method: on-mouse-right-down :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-mouse-right-down (instance x y)
Source

controllers.lisp.

Generic Function: on-mouse-right-up (instance x y)
Package

sketch.

Methods
Method: on-mouse-right-up :after ((instance sketch) x y)
Source

controllers.lisp.

Method: on-mouse-right-up :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-mouse-right-up (instance x y)
Source

controllers.lisp.

Generic Function: on-text (instance text)
Package

sketch.

Methods
Method: on-text :around ((*sketch* sketch) text)
Source

controllers.lisp.

Method: on-text (instance text)
Source

controllers.lisp.

Generic Function: setup (instance &key &allow-other-keys)

Called before creating the sketch window.

Package

sketch.

Source

sketch.lisp.

Methods
Method: setup ((instance sketch) &key &allow-other-keys)
Generic Reader: sketch-close-on (object)
Package

sketch.

Methods
Reader Method: sketch-close-on ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

close-on.

Generic Writer: (setf sketch-close-on) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-close-on) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Target Slot

close-on.

Generic Reader: sketch-copy-pixels (object)
Package

sketch.

Methods
Reader Method: sketch-copy-pixels ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

copy-pixels.

Generic Writer: (setf sketch-copy-pixels) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-copy-pixels) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Target Slot

copy-pixels.

Generic Reader: sketch-fullscreen (object)
Package

sketch.

Methods
Reader Method: sketch-fullscreen ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

fullscreen.

Generic Function: (setf sketch-fullscreen) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-fullscreen) :after ((instance sketch))
Source

sketch.lisp.

Target Slot

fullscreen.

Method: (setf sketch-fullscreen) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Generic Reader: sketch-height (object)
Package

sketch.

Methods
Reader Method: sketch-height ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

height.

Generic Function: (setf sketch-height) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-height) :after ((instance sketch))
Source

sketch.lisp.

Target Slot

height.

Method: (setf sketch-height) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Generic Reader: sketch-resizable (object)
Package

sketch.

Methods
Reader Method: sketch-resizable ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

resizable.

Generic Function: (setf sketch-resizable) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-resizable) :after ((instance sketch))
Source

sketch.lisp.

Target Slot

resizable.

Method: (setf sketch-resizable) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Generic Reader: sketch-title (object)
Package

sketch.

Methods
Reader Method: sketch-title ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

title.

Generic Function: (setf sketch-title) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-title) :after ((instance sketch))
Source

sketch.lisp.

Target Slot

title.

Method: (setf sketch-title) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Generic Reader: sketch-width (object)
Package

sketch.

Methods
Reader Method: sketch-width ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

width.

Generic Function: (setf sketch-width) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-width) :after ((instance sketch))
Source

sketch.lisp.

Target Slot

width.

Method: (setf sketch-width) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Generic Reader: sketch-y-axis (object)
Package

sketch.

Methods
Reader Method: sketch-y-axis ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

y-axis.

Generic Function: (setf sketch-y-axis) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-y-axis) :after ((instance sketch))
Source

sketch.lisp.

Target Slot

y-axis.

Method: (setf sketch-y-axis) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.


5.1.6 Standalone methods

Method: close-window ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: close-window :after ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: close-window :around ((instance sketch-window))
Package

kit.sdl2.

Source

sketch.lisp.

Method: close-window :before ((instance sketch-window))
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-added-event ((w sketch) c)
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-added-event ((w sketch-window) c)
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-axis-motion-event ((w sketch) controller timestamp axis value)
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-axis-motion-event ((w sketch-window) controller timestamp axis value)
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-button-event ((w sketch) controller state timestamp button)
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-button-event ((w sketch-window) controller state timestamp button)
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-removed-event ((w sketch) c)
Package

kit.sdl2.

Source

sketch.lisp.

Method: controller-removed-event ((w sketch-window) c)
Package

kit.sdl2.

Source

sketch.lisp.

Method: gl-context ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: (setf idle-render) ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: idle-render ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: initialize-instance :after ((instance sketch) &rest initargs &key &allow-other-keys)
Source

sketch.lisp.

Method: initialize-instance :around ((instance sketch) &key &allow-other-keys)
Source

sketch.lisp.

Method: initialize-instance :after ((instance entity) &rest initargs &key &allow-other-keys)
Source

entities.lisp.

Method: keyboard-event ((w sketch) state timestamp repeatp keysym)
Package

kit.sdl2.

Source

sketch.lisp.

Method: keyboard-event :before ((instance sketch) state timestamp repeatp keysym)
Package

kit.sdl2.

Source

sketch.lisp.

Method: keyboard-event :after ((instance sketch-window) state timestamp repeat-p keysym)
Package

kit.sdl2.

Source

controllers.lisp.

Method: keyboard-event ((w sketch-window) state timestamp repeatp keysym)
Package

kit.sdl2.

Source

sketch.lisp.

Method: mousebutton-event ((w sketch) state timestamp button x y)
Package

kit.sdl2.

Source

sketch.lisp.

Method: mousebutton-event :after ((instance sketch-window) state timestamp button x y)
Package

kit.sdl2.

Source

controllers.lisp.

Method: mousebutton-event ((instance sketch-window) state timestamp button x y)
Package

kit.sdl2.

Source

controllers.lisp.

Method: mousemotion-event ((w sketch) timestamp button-mask x y xrel yrel)
Package

kit.sdl2.

Source

sketch.lisp.

Method: mousemotion-event :after ((instance sketch-window) timestamp button-mask x y xrel yrel)
Package

kit.sdl2.

Source

controllers.lisp.

Method: mousemotion-event ((instance sketch-window) timestamp button-mask x y xrel yrel)
Package

kit.sdl2.

Source

controllers.lisp.

Method: mousewheel-event ((w sketch) timestamp x y)
Package

kit.sdl2.

Source

sketch.lisp.

Method: mousewheel-event :after ((instance sketch-window) timestamp x y)
Package

kit.sdl2.

Source

controllers.lisp.

Method: mousewheel-event ((w sketch-window) timestamp x y)
Package

kit.sdl2.

Source

sketch.lisp.

Method: render ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: render ((win sketch-window))
Package

kit.sdl2.

Source

sketch.lisp.

Method: (setf render-enabled) ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: render-enabled ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: (setf render-enabled) ((window sketch-window))
Package

kit.sdl2.

Source

sketch.lisp.

Method: render-enabled ((window sketch-window))
Package

kit.sdl2.

Source

sketch.lisp.

Method: sdl-window ((instance sketch))
Package

kit.sdl2.

Source

sketch.lisp.

Method: textinput-event ((w sketch) timestamp text)
Package

kit.sdl2.

Source

sketch.lisp.

Method: textinput-event :after ((instance sketch-window) timestamp text)
Package

kit.sdl2.

Source

controllers.lisp.

Method: textinput-event ((w sketch-window) timestamp text)
Package

kit.sdl2.

Source

sketch.lisp.

Method: update-instance-for-redefined-class :after ((instance sketch) added-slots discarded-slots property-list &rest initargs)
Source

sketch.lisp.

Method: update-instance-for-redefined-class :after ((instance entity) added-slots discarded-slots property-list &rest initargs)
Source

entities.lisp.

Method: window-event ((w sketch) type timestamp data1 data2)
Package

kit.sdl2.

Source

sketch.lisp.

Method: window-event ((w sketch-window) type timestamp data1 data2)
Package

kit.sdl2.

Source

sketch.lisp.

Method: window-event :before ((instance sketch-window) (type (eql :size-changed)) timestamp data1 data2)
Package

kit.sdl2.

Source

sketch.lisp.


5.1.7 Structures

Structure: pen
Package

sketch.

Source

pen.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: fill
Package

common-lisp.

Readers

pen-fill.

Writers

(setf pen-fill).

Slot: stroke
Readers

pen-stroke.

Writers

(setf pen-stroke).

Slot: weight
Initform

1

Readers

pen-weight.

Writers

(setf pen-weight).

Slot: curve-steps
Initform

100

Readers

pen-curve-steps.

Writers

(setf pen-curve-steps).

Slot: winding-rule
Type

(member :odd :nonzero :positive :negative :abs-geq-two)

Initform

:nonzero

Readers

pen-winding-rule.

Writers

(setf pen-winding-rule).


5.1.8 Classes

Class: color
Package

sketch.

Source

color.lisp.

Direct superclasses

resource.

Direct methods
Direct slots
Slot: red
Initform

0.0

Initargs

:red

Readers

color-red.

Writers

(setf color-red).

Slot: green
Initform

0.0

Initargs

:green

Readers

color-green.

Writers

(setf color-green).

Slot: blue
Initform

0.0

Initargs

:blue

Readers

color-blue.

Writers

(setf color-blue).

Slot: hue
Initform

0.0

Initargs

:hue

Readers

color-hue.

Writers

(setf color-hue).

Slot: saturation
Initform

0.0

Initargs

:saturation

Readers

color-saturation.

Writers

(setf color-saturation).

Slot: brightness
Initform

0.0

Initargs

:brightness

Readers

color-brightness.

Writers

(setf color-brightness).

Slot: alpha
Initform

1.0

Initargs

:alpha

Readers

color-alpha.

Writers

(setf color-alpha).

Class: image
Package

sketch.

Source

resources.lisp.

Direct superclasses

resource.

Direct subclasses

cropped-image.

Direct methods
Direct slots
Slot: texture
Initargs

:texture

Readers

image-texture.

Writers

(setf image-texture).

Slot: width
Initargs

:width

Readers

image-width.

Writers

(setf image-width).

Slot: height
Initargs

:height

Readers

image-height.

Writers

(setf image-height).

Class: sketch
Package

sketch.

Source

sketch.lisp.

Direct methods
Direct slots
Slot: %env
Initform

(sketch::make-env)

Readers

sketch-%env.

Writers

This slot is read-only.

Slot: %setup-called
Readers

sketch-%setup-called.

Writers

(setf sketch-%setup-called).

Slot: %viewport-changed
Initform

t

Slot: %entities
Initform

(make-hash-table)

Readers

sketch-%entities.

Writers

(setf sketch-%entities).

Slot: %window
Initargs

:window

Readers

sketch-%window.

Writers

(setf sketch-%window).

Slot: %delayed-init-funs
Initform

(make-array 0 :adjustable t :fill-pointer t)

Readers

sketch-%delayed-init-funs.

Writers

(setf sketch-%delayed-init-funs).

Slot: title
Initform

"sketch"

Initargs

:title

Readers

sketch-title.

Writers

(setf sketch-title).

Slot: width
Initform

sketch:*default-width*

Initargs

:width

Readers

sketch-width.

Writers

(setf sketch-width).

Slot: height
Initform

sketch:*default-height*

Initargs

:height

Readers

sketch-height.

Writers

(setf sketch-height).

Slot: fullscreen
Initargs

:fullscreen

Readers

sketch-fullscreen.

Writers

(setf sketch-fullscreen).

Slot: resizable
Initargs

:resizable

Readers

sketch-resizable.

Writers

(setf sketch-resizable).

Slot: copy-pixels
Initargs

:copy-pixels

Readers

sketch-copy-pixels.

Writers

(setf sketch-copy-pixels).

Slot: y-axis
Initform

:down

Initargs

:y-axis

Readers

sketch-y-axis.

Writers

(setf sketch-y-axis).

Slot: close-on
Initform

:escape

Initargs

:close-on

Readers

sketch-close-on.

Writers

(setf sketch-close-on).


5.2 Internals


5.2.1 Constants

Constant: +scancode-prefix-length+
Package

sketch.

Source

sketch.lisp.


5.2.2 Special variables

Special Variable: *%unwind-and-call-on-error-function*
Package

sketch.

Source

sketch.lisp.

Special Variable: *buffer-size*
Package

sketch.

Source

drawing.lisp.

Special Variable: *build*
Package

sketch.

Source

utils.lisp.

Special Variable: *bytes-per-vertex*
Package

sketch.

Source

drawing.lisp.

Special Variable: *channel-propagations*
Package

sketch.

Source

channels.lisp.

Special Variable: *channels*
Package

sketch.

Source

channels.lisp.

Special Variable: *current-entity*
Package

sketch.

Source

controllers.lisp.

Special Variable: *draw-mode*
Package

sketch.

Source

drawing.lisp.

Special Variable: *draw-sequence*
Package

sketch.

Source

drawing.lisp.

Special Variable: *entity*

The current entity.

Package

sketch.

Source

entities.lisp.

Special Variable: *env*
Package

sketch.

Source

environment.lisp.

Special Variable: *initialized*
Package

sketch.

Source

sketch.lisp.

Special Variable: *propagations*
Package

sketch.

Source

channels.lisp.

Special Variable: *sketch*

The current sketch instance.

Package

sketch.

Source

sketch.lisp.

Special Variable: *uv-rect*
Package

sketch.

Source

drawing.lisp.

Special Variable: *vertex-attributes*
Package

sketch.

Source

drawing.lisp.

Special Variable: +access-mode+
Package

sketch.

Source

drawing.lisp.


5.2.3 Macros

Macro: add-updater-to-accessor (accessor updater)
Package

sketch.

Source

color.lisp.

Macro: def-on-mouse (button-name)
Package

sketch.

Source

controllers.lisp.

Macro: def-xy-event-method (method-name args)

Defines a method for an event, as well as an :around method
that sets the sketch environment and propagates the event to entities. x & y are assumed to come last in the argument list.

Package

sketch.

Source

controllers.lisp.

Macro: define-sdl2-forward (name (&rest args) &optional already-defined?)
Package

sketch.

Source

sketch.lisp.

Macro: define-sketch-writer (slot &body body)
Package

sketch.

Source

sketch.lisp.

Macro: unwind-and-call-on-error ()
Package

sketch.

Source

sketch.lisp.

Macro: with-environment (env &body body)
Package

sketch.

Source

environment.lisp.

Macro: with-error-handling ((sketch) &body body)
Package

sketch.

Source

sketch.lisp.

Macro: with-gl-draw (&body body)
Package

sketch.

Source

sketch.lisp.

Macro: with-lines (lines &body body)
Package

sketch.

Source

geometry.lisp.

Macro: with-shorthand ((var maker) &body body)
Package

sketch.

Source

utils.lisp.

Macro: with-sketch ((sketch) &body body)
Package

sketch.

Source

sketch.lisp.


5.2.4 Ordinary functions

Function: %define-channel-observer (name body)
Package

sketch.

Source

channels.lisp.

Function: abs-or-rel (val src)
Package

sketch.

Source

utils.lisp.

Function: add-delayed-init-fun! (f)

F should be a function with no arguments.

Package

sketch.

Source

sketch.lisp.

Function: bounding-box (vertices)
Package

sketch.

Source

geometry.lisp.

Function: channel-value-p (value)

If a VALUE is of form (IN CHANNEL-NAME DEFAULT-VALUE) it is recognized as a channel.

Package

sketch.

Source

bindings.lisp.

Function: class-bindings (class &optional mark-default-p)
Package

sketch.

Source

bindings.lisp.

Function: coerce-float (x)
Package

sketch.

Source

utils.lisp.

Function: color-bgr (color)
Package

sketch.

Source

color.lisp.

Function: color-bgra (color)
Package

sketch.

Source

color.lisp.

Function: color-bgra-255 (color)
Package

sketch.

Source

color.lisp.

Function: color-rgba-255 (color)
Package

sketch.

Source

color.lisp.

Function: copy-binding (binding &key name prefix initform defaultp initarg accessor channel-name channelp)
Package

sketch.

Source

bindings.lisp.

Function: copy-buffer (src dst length &key src-offset dst-offset)
Package

sketch.

Source

utils.lisp.

Function: copy-env (instance)
Package

sketch.

Source

environment.lisp.

Function: copy-propagation (instance)
Package

sketch.

Source

channels.lisp.

Function: cropped-image-from-image (image x y w h)
Package

sketch.

Source

resources.lisp.

Function: cubic-bezier-point (v a b c d)
Package

sketch.

Source

shapes.lisp.

Function: cut-surface (surface x y w h)
Package

sketch.

Source

resources.lisp.

Function: define-entity-channel-observers (entity-name bindings)
Package

sketch.

Source

entities.lisp.

Function: define-entity-defclass (name bindings)
Package

sketch.

Source

entities.lisp.

Function: define-entity-draw-method (name bindings body)
Package

sketch.

Source

entities.lisp.

Function: define-entity-prepare-method (name bindings)
Package

sketch.

Source

entities.lisp.

Function: define-sketch-channel-observers (bindings)
Package

sketch.

Source

sketch.lisp.

Function: define-sketch-defclass (name bindings)
Package

sketch.

Source

sketch.lisp.

Function: define-sketch-draw-method (name bindings body)
Package

sketch.

Source

sketch.lisp.

Function: define-sketch-prepare-method (name bindings)
Package

sketch.

Source

sketch.lisp.

Function: delay-init-p ()

This checks whether the OpenGL context has been created yet. If not, we need to wait before initializing certain resources.

Package

sketch.

Source

sketch.lisp.

Function: delete-channel-propagation (channel propagation)
Package

sketch.

Source

channels.lisp.

Function: div2-inexact (a)
Package

sketch.

Source

utils.lisp.

Function: draw-shape (primitive fill-vertices stroke-vertices)
Package

sketch.

Source

drawing.lisp.

Function: edges (vertices &optional closed)
Package

sketch.

Source

geometry.lisp.

Function: end-draw ()
Package

sketch.

Source

drawing.lisp.

Reader: env-buffer-position (instance)
Writer: (setf env-buffer-position) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

buffer-position.

Reader: env-debug-key-pressed (instance)
Writer: (setf env-debug-key-pressed) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

debug-key-pressed.

Reader: env-font (instance)
Writer: (setf env-font) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

font.

Reader: env-matrix-stack (instance)
Writer: (setf env-matrix-stack) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

matrix-stack.

Reader: env-model-matrix (instance)
Writer: (setf env-model-matrix) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

model-matrix.

Function: env-p (object)
Package

sketch.

Source

environment.lisp.

Reader: env-pen (instance)
Writer: (setf env-pen) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

pen.

Reader: env-programs (instance)
Writer: (setf env-programs) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

programs.

Reader: env-red-screen (instance)
Writer: (setf env-red-screen) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

red-screen.

Reader: env-resources (instance)
Writer: (setf env-resources) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

resources.

Reader: env-vao (instance)
Writer: (setf env-vao) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

vao.

Reader: env-view-matrix (instance)
Writer: (setf env-view-matrix) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

view-matrix.

Reader: env-white-color-vector (instance)
Writer: (setf env-white-color-vector) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

white-color-vector.

Reader: env-white-pixel-texture (instance)
Writer: (setf env-white-pixel-texture) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

white-pixel-texture.

Reader: env-y-axis-sgn (instance)
Writer: (setf env-y-axis-sgn) (instance)
Package

sketch.

Source

environment.lisp.

Target Slot

y-axis-sgn.

Function: extract-input-registration (body)
Package

sketch.

Source

channels.lisp.

Function: file-name-extension (name)
Package

sketch.

Source

resources.lisp.

Function: fill-buffer (buffer-pointer vertices color)
Package

sketch.

Source

drawing.lisp.

Function: find-inputs-and-outputs (body)
Package

sketch.

Source

channels.lisp.

Function: fit-uv-to-rect (uv)
Package

sketch.

Source

drawing.lisp.

Function: flatten (tree &optional unless-test)
Package

sketch.

Source

utils.lisp.

Function: group (list &optional group-length)
Package

sketch.

Source

utils.lisp.

Function: group-bits (x &optional bits)
Package

sketch.

Source

utils.lisp.

Function: grow-polygon (polygon d)
Package

sketch.

Source

geometry.lisp.

Function: init-image-texture! (image surface &key free-surface min-filter mag-filter)
Package

sketch.

Source

resources.lisp.

Function: initialize-environment (sketch)
Package

sketch.

Source

environment.lisp.

Function: initialize-gl (sketch)
Package

sketch.

Source

environment.lisp.

Function: initialize-sketch ()
Package

sketch.

Source

sketch.lisp.

Function: initialize-view-matrix (sketch)
Package

sketch.

Source

environment.lisp.

Function: intersect-lines (line1 line2)
Package

sketch.

Source

geometry.lisp.

Function: lerp-lists (v list-a list-b)
Package

sketch.

Source

utils.lisp.

Function: make-accessor (name prefix package)
Package

sketch.

Source

bindings.lisp.

Function: make-binding (name prefix &key package defaultp initform initarg accessor channel-name channelp)
Package

sketch.

Source

bindings.lisp.

Function: make-default-font ()
Package

sketch.

Source

font.lisp.

Function: make-default-pen ()
Package

sketch.

Source

pen.lisp.

Function: make-env (&key pen programs model-matrix view-matrix matrix-stack y-axis-sgn vao buffer-position font white-pixel-texture white-color-vector resources debug-key-pressed red-screen)
Package

sketch.

Source

environment.lisp.

Function: make-error-font ()
Package

sketch.

Source

font.lisp.

Function: make-image-from-surface (surface &key free-surface min-filter mag-filter)
Package

sketch.

Source

resources.lisp.

Function: make-line (x1 y1 x2 y2)
Package

sketch.

Source

shapes.lisp.

Function: make-ngon (n cx cy rx ry &optional angle)
Package

sketch.

Source

shapes.lisp.

Function: make-polygon (&rest coordinates)
Package

sketch.

Source

shapes.lisp.

Function: make-polyline (&rest coordinates)
Package

sketch.

Source

shapes.lisp.

Function: make-propagation (&key name inputs outputs function)
Package

sketch.

Source

channels.lisp.

Function: make-rect (x y w h)
Package

sketch.

Source

shapes.lisp.

Function: make-star (n cx cy ra rb &optional angle)
Package

sketch.

Source

shapes.lisp.

Function: make-white-pixel-texture ()

Sent to shaders when no image is active.

Package

sketch.

Source

environment.lisp.

Function: maybe-change-viewport (sketch)
Package

sketch.

Source

sketch.lisp.

Function: mix-lists (&rest lists)
Package

sketch.

Source

utils.lisp.

Function: ngon-vertices (n cx cy rx ry &optional angle)
Package

sketch.

Source

shapes.lisp.

Function: normalize-to-bounding-box (vertices)
Package

sketch.

Source

geometry.lisp.

Function: object-to-keyword-hash (object)

Expensive operation that turns CL objects into keywords whose names
are MD5 hashes of those objects, stringified. Uniqueness is not guaranteed, but may be considered unique for all practical purposes.

Package

sketch.

Source

utils.lisp.

Function: order-list (order list)
Package

sketch.

Source

utils.lisp.

Function: out-1 (channel message)
Package

sketch.

Source

channels.lisp.

Function: pad-list (list pad length)
Package

sketch.

Source

utils.lisp.

Function: parse-bindings (prefix binding-forms &optional existing-bindings)
Package

sketch.

Source

bindings.lisp.

Function: pen-p (object)
Package

sketch.

Source

pen.lisp.

Function: pixel-uv-rect (img x y w h)

Generate uv coordinates (0.0 to 1.0) for portion of IMG within
the rect specified by X Y W H
Image flipping can be done by using negative width and height values

Package

sketch.

Source

resources.lisp.

Function: propagate (channel)
Package

sketch.

Source

channels.lisp.

Function: propagate-to-entity (sketch f x y &rest other-args)
Package

sketch.

Source

controllers.lisp.

Reader: propagation-function (instance)
Writer: (setf propagation-function) (instance)
Package

sketch.

Source

channels.lisp.

Target Slot

function.

Reader: propagation-inputs (instance)
Writer: (setf propagation-inputs) (instance)
Package

sketch.

Source

channels.lisp.

Target Slot

inputs.

Reader: propagation-name (instance)
Writer: (setf propagation-name) (instance)
Package

sketch.

Source

channels.lisp.

Target Slot

name.

Reader: propagation-outputs (instance)
Writer: (setf propagation-outputs) (instance)
Package

sketch.

Source

channels.lisp.

Target Slot

outputs.

Function: propagation-p (object)
Package

sketch.

Source

channels.lisp.

Function: quadratic-bezier-point (v a b c)
Package

sketch.

Source

shapes.lisp.

Function: reset-channel (channel)
Package

sketch.

Source

channels.lisp.

Function: set-matrix* (matrix)
Package

sketch.

Source

transforms.lisp.

Function: shader-color-texture-values (res)
Package

sketch.

Source

drawing.lisp.

Function: start-draw ()
Package

sketch.

Source

drawing.lisp.

Function: surface-format (surface)
Package

sketch.

Source

utils.lisp.

Function: text-align (align width)
Package

sketch.

Source

font.lisp.

Function: text-scale (resources spacing width height)
Package

sketch.

Source

font.lisp.

Function: transform-vertex (vertex matrix)
Package

sketch.

Source

transforms.lisp.

Function: translate-line (line d)
Package

sketch.

Source

geometry.lisp.

Function: translate-sdl2-button (button)
Package

sketch.

Source

controllers.lisp.

Function: translate-sdl2-button-state (state)
Package

sketch.

Source

controllers.lisp.

Function: translate-sdl2-key-state (state)
Package

sketch.

Source

controllers.lisp.

Function: translated-intersects (lines distance)
Package

sketch.

Source

shapes.lisp.

Function: triangulate (polygon)
Package

sketch.

Source

geometry.lisp.

Function: update-hsb (color)
Package

sketch.

Source

color.lisp.

Function: update-propagation-data (name inputs outputs)
Package

sketch.

Source

channels.lisp.

Function: update-rgb (color)
Package

sketch.

Source

color.lisp.

Function: without-sdl2-scancode-prefix (keysym)
Package

sketch.

Source

sketch.lisp.


5.2.5 Generic functions

Generic Reader: %canvas-image (object)
Package

sketch.

Methods
Reader Method: %canvas-image ((canvas canvas))

automatically generated reader method

Source

canvas.lisp.

Target Slot

%image.

Generic Writer: (setf %canvas-image) (object)
Package

sketch.

Methods
Writer Method: (setf %canvas-image) ((canvas canvas))

automatically generated writer method

Source

canvas.lisp.

Target Slot

%image.

Generic Reader: %canvas-locked (object)
Package

sketch.

Methods
Reader Method: %canvas-locked ((canvas canvas))

automatically generated reader method

Source

canvas.lisp.

Target Slot

%locked.

Generic Writer: (setf %canvas-locked) (object)
Package

sketch.

Methods
Writer Method: (setf %canvas-locked) ((canvas canvas))

automatically generated writer method

Source

canvas.lisp.

Target Slot

%locked.

Generic Reader: %canvas-vector (object)
Package

sketch.

Methods
Reader Method: %canvas-vector ((canvas canvas))

automatically generated reader method

Source

canvas.lisp.

Target Slot

%vector.

Generic Writer: (setf %canvas-vector) (object)
Package

sketch.

Methods
Writer Method: (setf %canvas-vector) ((canvas canvas))

automatically generated writer method

Source

canvas.lisp.

Target Slot

%vector.

Generic Function: %canvas-vector-pointer (canvas)
Package

sketch.

Methods
Method: %canvas-vector-pointer ((canvas canvas))
Source

canvas.lisp.

Generic Reader: %sketch (object)
Generic Writer: (setf %sketch) (object)
Package

sketch.

Methods
Reader Method: %sketch ((sketch-window sketch-window))
Writer Method: (setf %sketch) ((sketch-window sketch-window))

The sketch associated with this window.

Source

sketch.lisp.

Target Slot

%sketch.

Generic Reader: binding-accessor (object)
Package

sketch.

Methods
Reader Method: binding-accessor ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

accessor.

Generic Writer: (setf binding-accessor) (object)
Package

sketch.

Methods
Writer Method: (setf binding-accessor) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

accessor.

Generic Reader: binding-channel-name (object)
Package

sketch.

Methods
Reader Method: binding-channel-name ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

channel-name.

Generic Writer: (setf binding-channel-name) (object)
Package

sketch.

Methods
Writer Method: (setf binding-channel-name) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

channel-name.

Generic Reader: binding-channelp (object)
Package

sketch.

Methods
Reader Method: binding-channelp ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

channelp.

Generic Writer: (setf binding-channelp) (object)
Package

sketch.

Methods
Writer Method: (setf binding-channelp) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

channelp.

Generic Reader: binding-defaultp (object)
Package

sketch.

Methods
Reader Method: binding-defaultp ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

defaultp.

Generic Writer: (setf binding-defaultp) (object)
Package

sketch.

Methods
Writer Method: (setf binding-defaultp) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

defaultp.

Generic Reader: binding-initarg (object)
Package

sketch.

Methods
Reader Method: binding-initarg ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

initarg.

Generic Writer: (setf binding-initarg) (object)
Package

sketch.

Methods
Writer Method: (setf binding-initarg) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

initarg.

Generic Reader: binding-initform (object)
Package

sketch.

Methods
Reader Method: binding-initform ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

initform.

Generic Writer: (setf binding-initform) (object)
Package

sketch.

Methods
Writer Method: (setf binding-initform) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

initform.

Generic Reader: binding-name (object)
Package

sketch.

Methods
Reader Method: binding-name ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

name.

Generic Writer: (setf binding-name) (object)
Package

sketch.

Methods
Writer Method: (setf binding-name) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

name.

Generic Reader: binding-package (object)
Package

sketch.

Methods
Reader Method: binding-package ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

package.

Generic Writer: (setf binding-package) (object)
Package

sketch.

Methods
Writer Method: (setf binding-package) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

package.

Generic Reader: binding-prefix (object)
Package

sketch.

Methods
Reader Method: binding-prefix ((binding binding))

automatically generated reader method

Source

bindings.lisp.

Target Slot

prefix.

Generic Writer: (setf binding-prefix) (object)
Package

sketch.

Methods
Writer Method: (setf binding-prefix) ((binding binding))

automatically generated writer method

Source

bindings.lisp.

Target Slot

prefix.

Generic Reader: cropped-image-uv-rect (object)
Package

sketch.

Methods
Reader Method: cropped-image-uv-rect ((cropped-image cropped-image))

automatically generated reader method

Source

resources.lisp.

Target Slot

uv-rect.

Generic Writer: (setf cropped-image-uv-rect) (object)
Package

sketch.

Methods
Writer Method: (setf cropped-image-uv-rect) ((cropped-image cropped-image))

automatically generated writer method

Source

resources.lisp.

Target Slot

uv-rect.

Generic Function: draw-figure (figure)
Package

sketch.

Methods
Method: draw-figure ((figure figure))
Source

figures.lisp.

Generic Reader: font-align (object)
Package

sketch.

Methods
Reader Method: font-align ((font font))

automatically generated reader method

Source

font.lisp.

Target Slot

align.

Generic Writer: (setf font-align) (object)
Package

sketch.

Methods
Writer Method: (setf font-align) ((font font))

automatically generated writer method

Source

font.lisp.

Target Slot

align.

Generic Reader: font-color (object)
Package

sketch.

Methods
Reader Method: font-color ((font font))

automatically generated reader method

Source

font.lisp.

Target Slot

color.

Generic Writer: (setf font-color) (object)
Package

sketch.

Methods
Writer Method: (setf font-color) ((font font))

automatically generated writer method

Source

font.lisp.

Target Slot

color.

Generic Reader: font-face (object)
Package

sketch.

Methods
Reader Method: font-face ((font font))

automatically generated reader method

Source

font.lisp.

Target Slot

face.

Generic Writer: (setf font-face) (object)
Package

sketch.

Methods
Writer Method: (setf font-face) ((font font))

automatically generated writer method

Source

font.lisp.

Target Slot

face.

Generic Reader: font-line-height (object)
Package

sketch.

Methods
Reader Method: font-line-height ((font font))

automatically generated reader method

Source

font.lisp.

Target Slot

line-height.

Generic Writer: (setf font-line-height) (object)
Package

sketch.

Methods
Writer Method: (setf font-line-height) ((font font))

automatically generated writer method

Source

font.lisp.

Target Slot

line-height.

Generic Reader: font-size (object)
Package

sketch.

Methods
Reader Method: font-size ((font font))

automatically generated reader method

Source

font.lisp.

Target Slot

size.

Generic Writer: (setf font-size) (object)
Package

sketch.

Methods
Writer Method: (setf font-size) ((font font))

automatically generated writer method

Source

font.lisp.

Target Slot

size.

Generic Function: free-resource (resource)
Package

sketch.

Source

resources.lisp.

Methods
Method: free-resource ((typeface typeface))
Method: free-resource ((image image))
Method: free-resource ((resource (eql nil)))
Generic Function: image-texture (object)
Package

sketch.

Methods
Method: image-texture ((instance cropped-image))
Source

resources.lisp.

Reader Method: image-texture ((image image))

automatically generated reader method

Source

resources.lisp.

Target Slot

texture.

Generic Writer: (setf image-texture) (object)
Package

sketch.

Methods
Writer Method: (setf image-texture) ((image image))

automatically generated writer method

Source

resources.lisp.

Target Slot

texture.

Generic Function: load-typed-resource (filename type &key size min-filter mag-filter x y w h &allow-other-keys)
Package

sketch.

Source

resources.lisp.

Methods
Method: load-typed-resource (filename (type (eql :typeface)) &key size &allow-other-keys)
Method: load-typed-resource (filename (type (eql :image)) &key min-filter mag-filter x y w h &allow-other-keys)
Method: load-typed-resource (filename type &key &allow-other-keys)
Generic Function: on-error (sketch stage error)
Package

sketch.

Methods
Method: on-error ((sketch sketch) stage error)
Source

sketch.lisp.

Generic Function: on-error-handler (sketch stage error)
Package

sketch.

Methods
Method: on-error-handler ((sketch sketch) stage error)
Source

sketch.lisp.

Generic Function: on-middle-click (instance x y)
Package

sketch.

Methods
Method: on-middle-click :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-middle-click (instance x y)
Source

controllers.lisp.

Generic Function: on-right-click (instance x y)
Package

sketch.

Methods
Method: on-right-click :around ((*sketch* sketch) x y)
Source

controllers.lisp.

Method: on-right-click (instance x y)
Source

controllers.lisp.

Generic Reader: original-image (object)
Package

sketch.

Methods
Reader Method: original-image ((cropped-image cropped-image))

automatically generated reader method

Source

resources.lisp.

Target Slot

original-image.

Generic Writer: (setf original-image) (object)
Package

sketch.

Methods
Writer Method: (setf original-image) ((cropped-image cropped-image))

automatically generated writer method

Source

resources.lisp.

Target Slot

original-image.

Generic Function: prepare (instance &key &allow-other-keys)

Generated by DEFSKETCH.

Package

sketch.

Source

sketch.lisp.

Generic Function: push-vertices (vertices color texture primitive draw-mode)
Package

sketch.

Methods
Method: push-vertices (vertices color texture primitive (draw-mode null))
Source

drawing.lisp.

Method: push-vertices (vertices color texture primitive (draw-mode (eql :figure)))
Source

drawing.lisp.

Method: push-vertices (vertices color texture primitive (draw-mode (eql :gpu)))
Source

drawing.lisp.

Generic Function: register-entity (sketch entity box)
Package

sketch.

Methods
Method: register-entity ((sketch sketch) (entity entity) box)
Source

entities.lisp.

Generic Reader: sketch-%delayed-init-funs (object)
Package

sketch.

Methods
Reader Method: sketch-%delayed-init-funs ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

%delayed-init-funs.

Generic Writer: (setf sketch-%delayed-init-funs) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-%delayed-init-funs) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Target Slot

%delayed-init-funs.

Generic Reader: sketch-%entities (object)
Package

sketch.

Methods
Reader Method: sketch-%entities ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

%entities.

Generic Writer: (setf sketch-%entities) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-%entities) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Target Slot

%entities.

Generic Reader: sketch-%env (object)
Package

sketch.

Methods
Reader Method: sketch-%env ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

%env.

Generic Reader: sketch-%setup-called (object)
Package

sketch.

Methods
Reader Method: sketch-%setup-called ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

%setup-called.

Generic Writer: (setf sketch-%setup-called) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-%setup-called) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Target Slot

%setup-called.

Generic Reader: sketch-%window (object)
Package

sketch.

Methods
Reader Method: sketch-%window ((sketch sketch))

automatically generated reader method

Source

sketch.lisp.

Target Slot

%window.

Generic Writer: (setf sketch-%window) (object)
Package

sketch.

Methods
Writer Method: (setf sketch-%window) ((sketch sketch))

automatically generated writer method

Source

sketch.lisp.

Target Slot

%window.

Generic Reader: typeface-filename (object)
Package

sketch.

Methods
Reader Method: typeface-filename ((typeface typeface))

automatically generated reader method

Source

resources.lisp.

Target Slot

filename.

Generic Writer: (setf typeface-filename) (object)
Package

sketch.

Methods
Writer Method: (setf typeface-filename) ((typeface typeface))

automatically generated writer method

Source

resources.lisp.

Target Slot

filename.

Generic Reader: typeface-pointer (object)
Package

sketch.

Methods
Reader Method: typeface-pointer ((typeface typeface))

automatically generated reader method

Source

resources.lisp.

Target Slot

pointer.

Generic Writer: (setf typeface-pointer) (object)
Package

sketch.

Methods
Writer Method: (setf typeface-pointer) ((typeface typeface))

automatically generated writer method

Source

resources.lisp.

Target Slot

pointer.

Generic Reader: window-%closing (object)
Package

sketch.

Methods
Reader Method: window-%closing ((sketch-window sketch-window))

automatically generated reader method

Source

sketch.lisp.

Target Slot

%closing.

Generic Writer: (setf window-%closing) (object)
Package

sketch.

Methods
Writer Method: (setf window-%closing) ((sketch-window sketch-window))

automatically generated writer method

Source

sketch.lisp.

Target Slot

%closing.


5.2.6 Structures

Structure: env
Package

sketch.

Source

environment.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: pen
Readers

env-pen.

Writers

(setf env-pen).

Slot: programs
Readers

env-programs.

Writers

(setf env-programs).

Slot: model-matrix
Initform

(sb-cga:identity-matrix)

Readers

env-model-matrix.

Writers

(setf env-model-matrix).

Slot: view-matrix
Readers

env-view-matrix.

Writers

(setf env-view-matrix).

Slot: matrix-stack
Readers

env-matrix-stack.

Writers

(setf env-matrix-stack).

Slot: y-axis-sgn
Initform

1

Readers

env-y-axis-sgn.

Writers

(setf env-y-axis-sgn).

Slot: vao
Readers

env-vao.

Writers

(setf env-vao).

Slot: buffer-position
Initform

0

Readers

env-buffer-position.

Writers

(setf env-buffer-position).

Slot: font
Readers

env-font.

Writers

(setf env-font).

Slot: white-pixel-texture
Readers

env-white-pixel-texture.

Writers

(setf env-white-pixel-texture).

Slot: white-color-vector
Readers

env-white-color-vector.

Writers

(setf env-white-color-vector).

Slot: resources
Initform

(make-hash-table)

Readers

env-resources.

Writers

(setf env-resources).

Slot: debug-key-pressed
Readers

env-debug-key-pressed.

Writers

(setf env-debug-key-pressed).

Slot: red-screen
Readers

env-red-screen.

Writers

(setf env-red-screen).

Structure: propagation
Package

sketch.

Source

channels.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: name
Readers

propagation-name.

Writers

(setf propagation-name).

Slot: inputs
Readers

propagation-inputs.

Writers

(setf propagation-inputs).

Slot: outputs
Readers

propagation-outputs.

Writers

(setf propagation-outputs).

Slot: function
Package

common-lisp.

Readers

propagation-function.

Writers

(setf propagation-function).


5.2.7 Classes

Class: binding
Package

sketch.

Source

bindings.lisp.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

binding-name.

Writers

(setf binding-name).

Slot: prefix
Initargs

:prefix

Readers

binding-prefix.

Writers

(setf binding-prefix).

Slot: package
Package

common-lisp.

Initargs

:package

Readers

binding-package.

Writers

(setf binding-package).

Slot: defaultp
Initargs

:defaultp

Readers

binding-defaultp.

Writers

(setf binding-defaultp).

Slot: initform
Initargs

:initform

Readers

binding-initform.

Writers

(setf binding-initform).

Slot: initarg
Initargs

:initarg

Readers

binding-initarg.

Writers

(setf binding-initarg).

Slot: accessor
Initargs

:accessor

Readers

binding-accessor.

Writers

(setf binding-accessor).

Slot: channelp
Initargs

:channelp

Readers

binding-channelp.

Writers

(setf binding-channelp).

Slot: channel-name
Initargs

:channel-name

Readers

binding-channel-name.

Writers

(setf binding-channel-name).

Class: canvas
Package

sketch.

Source

canvas.lisp.

Direct methods
Direct slots
Slot: width
Initargs

:width

Readers

canvas-width.

Writers

This slot is read-only.

Slot: height
Initargs

:height

Readers

canvas-height.

Writers

This slot is read-only.

Slot: %image
Readers

%canvas-image.

Writers

(setf %canvas-image).

Slot: %vector
Readers

%canvas-vector.

Writers

(setf %canvas-vector).

Slot: %locked
Readers

%canvas-locked.

Writers

(setf %canvas-locked).

Class: cropped-image
Package

sketch.

Source

resources.lisp.

Direct superclasses

image.

Direct methods
Direct slots
Slot: uv-rect
Initargs

:uv-rect

Readers

cropped-image-uv-rect.

Writers

(setf cropped-image-uv-rect).

Slot: original-image
Initargs

:original-image

Readers

original-image.

Writers

(setf original-image).

Class: entity
Package

sketch.

Source

entities.lisp.

Direct methods
Direct slots
Slot: width
Initform

100

Initargs

:width

Readers

entity-width.

Writers

(setf entity-width).

Slot: height
Initform

100

Initargs

:height

Readers

entity-height.

Writers

(setf entity-height).

Class: figure
Package

sketch.

Source

figures.lisp.

Direct methods

draw-figure.

Direct slots
Slot: draws
Initargs

:draws

Class: font
Package

sketch.

Source

font.lisp.

Direct superclasses

resource.

Direct methods
Direct slots
Slot: face
Initargs

:face

Readers

font-face.

Writers

(setf font-face).

Slot: color
Initargs

:color

Readers

font-color.

Writers

(setf font-color).

Slot: size
Initform

16

Initargs

:size

Readers

font-size.

Writers

(setf font-size).

Slot: line-height
Initform

1.41

Initargs

:line-height

Readers

font-line-height.

Writers

(setf font-line-height).

Slot: align
Initform

:left

Initargs

:align

Readers

font-align.

Writers

(setf font-align).

Class: resource
Package

sketch.

Source

resources.lisp.

Direct subclasses
Class: sketch-window
Package

sketch.

Source

sketch.lisp.

Direct superclasses

gl-window.

Direct methods
Direct slots
Slot: %sketch

The sketch associated with this window.

Initargs

:sketch

Readers

%sketch.

Writers

(setf %sketch).

Slot: %closing
Readers

window-%closing.

Writers

(setf window-%closing).

Class: typeface
Package

sketch.

Source

resources.lisp.

Direct superclasses

resource.

Direct methods
Direct slots
Slot: filename
Initargs

:filename

Readers

typeface-filename.

Writers

(setf typeface-filename).

Slot: pointer
Initargs

:pointer

Readers

typeface-pointer.

Writers

(setf typeface-pointer).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   Q   R   S   T   U   W  
Index Entry  Section

%
%canvas-image: Private generic functions
%canvas-image: Private generic functions
%canvas-locked: Private generic functions
%canvas-locked: Private generic functions
%canvas-vector: Private generic functions
%canvas-vector: Private generic functions
%canvas-vector-pointer: Private generic functions
%canvas-vector-pointer: Private generic functions
%define-channel-observer: Private ordinary functions
%sketch: Private generic functions
%sketch: Private generic functions

(
(setf %canvas-image): Private generic functions
(setf %canvas-image): Private generic functions
(setf %canvas-locked): Private generic functions
(setf %canvas-locked): Private generic functions
(setf %canvas-vector): Private generic functions
(setf %canvas-vector): Private generic functions
(setf %sketch): Private generic functions
(setf %sketch): Private generic functions
(setf binding-accessor): Private generic functions
(setf binding-accessor): Private generic functions
(setf binding-channel-name): Private generic functions
(setf binding-channel-name): Private generic functions
(setf binding-channelp): Private generic functions
(setf binding-channelp): Private generic functions
(setf binding-defaultp): Private generic functions
(setf binding-defaultp): Private generic functions
(setf binding-initarg): Private generic functions
(setf binding-initarg): Private generic functions
(setf binding-initform): Private generic functions
(setf binding-initform): Private generic functions
(setf binding-name): Private generic functions
(setf binding-name): Private generic functions
(setf binding-package): Private generic functions
(setf binding-package): Private generic functions
(setf binding-prefix): Private generic functions
(setf binding-prefix): Private generic functions
(setf color-alpha): Public generic functions
(setf color-alpha): Public generic functions
(setf color-blue): Public generic functions
(setf color-blue): Public generic functions
(setf color-blue): Public generic functions
(setf color-brightness): Public generic functions
(setf color-brightness): Public generic functions
(setf color-brightness): Public generic functions
(setf color-green): Public generic functions
(setf color-green): Public generic functions
(setf color-green): Public generic functions
(setf color-hue): Public generic functions
(setf color-hue): Public generic functions
(setf color-hue): Public generic functions
(setf color-red): Public generic functions
(setf color-red): Public generic functions
(setf color-red): Public generic functions
(setf color-saturation): Public generic functions
(setf color-saturation): Public generic functions
(setf color-saturation): Public generic functions
(setf cropped-image-uv-rect): Private generic functions
(setf cropped-image-uv-rect): Private generic functions
(setf entity-height): Public generic functions
(setf entity-height): Public generic functions
(setf entity-width): Public generic functions
(setf entity-width): Public generic functions
(setf env-buffer-position): Private ordinary functions
(setf env-debug-key-pressed): Private ordinary functions
(setf env-font): Private ordinary functions
(setf env-matrix-stack): Private ordinary functions
(setf env-model-matrix): Private ordinary functions
(setf env-pen): Private ordinary functions
(setf env-programs): Private ordinary functions
(setf env-red-screen): Private ordinary functions
(setf env-resources): Private ordinary functions
(setf env-vao): Private ordinary functions
(setf env-view-matrix): Private ordinary functions
(setf env-white-color-vector): Private ordinary functions
(setf env-white-pixel-texture): Private ordinary functions
(setf env-y-axis-sgn): Private ordinary functions
(setf font-align): Private generic functions
(setf font-align): Private generic functions
(setf font-color): Private generic functions
(setf font-color): Private generic functions
(setf font-face): Private generic functions
(setf font-face): Private generic functions
(setf font-line-height): Private generic functions
(setf font-line-height): Private generic functions
(setf font-size): Private generic functions
(setf font-size): Private generic functions
(setf idle-render): Public standalone methods
(setf image-height): Public generic functions
(setf image-height): Public generic functions
(setf image-texture): Private generic functions
(setf image-texture): Private generic functions
(setf image-width): Public generic functions
(setf image-width): Public generic functions
(setf original-image): Private generic functions
(setf original-image): Private generic functions
(setf pen-curve-steps): Public ordinary functions
(setf pen-fill): Public ordinary functions
(setf pen-stroke): Public ordinary functions
(setf pen-weight): Public ordinary functions
(setf pen-winding-rule): Public ordinary functions
(setf propagation-function): Private ordinary functions
(setf propagation-inputs): Private ordinary functions
(setf propagation-name): Private ordinary functions
(setf propagation-outputs): Private ordinary functions
(setf render-enabled): Public standalone methods
(setf render-enabled): Public standalone methods
(setf sketch-%delayed-init-funs): Private generic functions
(setf sketch-%delayed-init-funs): Private generic functions
(setf sketch-%entities): Private generic functions
(setf sketch-%entities): Private generic functions
(setf sketch-%setup-called): Private generic functions
(setf sketch-%setup-called): Private generic functions
(setf sketch-%window): Private generic functions
(setf sketch-%window): Private generic functions
(setf sketch-close-on): Public generic functions
(setf sketch-close-on): Public generic functions
(setf sketch-copy-pixels): Public generic functions
(setf sketch-copy-pixels): Public generic functions
(setf sketch-fullscreen): Public generic functions
(setf sketch-fullscreen): Public generic functions
(setf sketch-fullscreen): Public generic functions
(setf sketch-height): Public generic functions
(setf sketch-height): Public generic functions
(setf sketch-height): Public generic functions
(setf sketch-resizable): Public generic functions
(setf sketch-resizable): Public generic functions
(setf sketch-resizable): Public generic functions
(setf sketch-title): Public generic functions
(setf sketch-title): Public generic functions
(setf sketch-title): Public generic functions
(setf sketch-width): Public generic functions
(setf sketch-width): Public generic functions
(setf sketch-width): Public generic functions
(setf sketch-y-axis): Public generic functions
(setf sketch-y-axis): Public generic functions
(setf sketch-y-axis): Public generic functions
(setf typeface-filename): Private generic functions
(setf typeface-filename): Private generic functions
(setf typeface-pointer): Private generic functions
(setf typeface-pointer): Private generic functions
(setf window-%closing): Private generic functions
(setf window-%closing): Private generic functions

A
abs-or-rel: Private ordinary functions
add-delayed-init-fun!: Private ordinary functions
add-updater-to-accessor: Private macros

B
background: Public ordinary functions
bezier: Public ordinary functions
binding-accessor: Private generic functions
binding-accessor: Private generic functions
binding-channel-name: Private generic functions
binding-channel-name: Private generic functions
binding-channelp: Private generic functions
binding-channelp: Private generic functions
binding-defaultp: Private generic functions
binding-defaultp: Private generic functions
binding-initarg: Private generic functions
binding-initarg: Private generic functions
binding-initform: Private generic functions
binding-initform: Private generic functions
binding-name: Private generic functions
binding-name: Private generic functions
binding-package: Private generic functions
binding-package: Private generic functions
binding-prefix: Private generic functions
binding-prefix: Private generic functions
bounding-box: Private ordinary functions

C
canvas-height: Public generic functions
canvas-height: Public generic functions
canvas-image: Public generic functions
canvas-image: Public generic functions
canvas-lock: Public generic functions
canvas-lock: Public generic functions
canvas-paint: Public generic functions
canvas-paint: Public generic functions
canvas-reset: Public generic functions
canvas-reset: Public generic functions
canvas-unlock: Public generic functions
canvas-unlock: Public generic functions
canvas-width: Public generic functions
canvas-width: Public generic functions
channel-value-p: Private ordinary functions
circle: Public ordinary functions
clamp-1: Public ordinary functions
class-bindings: Private ordinary functions
close-window: Public standalone methods
close-window: Public standalone methods
close-window: Public standalone methods
close-window: Public standalone methods
coerce-float: Private ordinary functions
color-alpha: Public generic functions
color-alpha: Public generic functions
color-bgr: Private ordinary functions
color-bgra: Private ordinary functions
color-bgra-255: Private ordinary functions
color-blue: Public generic functions
color-blue: Public generic functions
color-brightness: Public generic functions
color-brightness: Public generic functions
color-filter-grayscale: Public ordinary functions
color-filter-hsb: Public ordinary functions
color-filter-invert: Public ordinary functions
color-filter-rotate: Public ordinary functions
color-green: Public generic functions
color-green: Public generic functions
color-hsba: Public ordinary functions
color-hue: Public generic functions
color-hue: Public generic functions
color-red: Public generic functions
color-red: Public generic functions
color-rgb: Public ordinary functions
color-rgba: Public ordinary functions
color-rgba-255: Private ordinary functions
color-saturation: Public generic functions
color-saturation: Public generic functions
color-vector: Public ordinary functions
color-vector-255: Public ordinary functions
controller-added-event: Public standalone methods
controller-added-event: Public standalone methods
controller-axis-motion-event: Public standalone methods
controller-axis-motion-event: Public standalone methods
controller-button-event: Public standalone methods
controller-button-event: Public standalone methods
controller-removed-event: Public standalone methods
controller-removed-event: Public standalone methods
copy-binding: Private ordinary functions
copy-buffer: Private ordinary functions
copy-env: Private ordinary functions
copy-pen: Public ordinary functions
copy-propagation: Private ordinary functions
crop: Public generic functions
crop: Public generic functions
cropped-image-from-image: Private ordinary functions
cropped-image-uv-rect: Private generic functions
cropped-image-uv-rect: Private generic functions
cubic-bezier-point: Private ordinary functions
cut-surface: Private ordinary functions

D
def-on-mouse: Private macros
def-xy-event-method: Private macros
defentity: Public macros
deffigure: Public macros
define-channel-observer: Public macros
define-entity-channel-observers: Private ordinary functions
define-entity-defclass: Private ordinary functions
define-entity-draw-method: Private ordinary functions
define-entity-prepare-method: Private ordinary functions
define-named-channel-observer: Public macros
define-sdl2-forward: Private macros
define-sketch-channel-observers: Private ordinary functions
define-sketch-defclass: Private ordinary functions
define-sketch-draw-method: Private ordinary functions
define-sketch-prepare-method: Private ordinary functions
define-sketch-writer: Private macros
defsketch: Public macros
degrees: Public ordinary functions
delay-init-p: Private ordinary functions
delete-channel-propagation: Private ordinary functions
div2-inexact: Private ordinary functions
draw: Public generic functions
draw: Public generic functions
draw: Public generic functions
draw: Public generic functions
draw-figure: Private generic functions
draw-figure: Private generic functions
draw-shape: Private ordinary functions

E
edges: Private ordinary functions
ellipse: Public ordinary functions
end-draw: Private ordinary functions
entity-height: Public generic functions
entity-height: Public generic functions
entity-width: Public generic functions
entity-width: Public generic functions
env-buffer-position: Private ordinary functions
env-debug-key-pressed: Private ordinary functions
env-font: Private ordinary functions
env-matrix-stack: Private ordinary functions
env-model-matrix: Private ordinary functions
env-p: Private ordinary functions
env-pen: Private ordinary functions
env-programs: Private ordinary functions
env-red-screen: Private ordinary functions
env-resources: Private ordinary functions
env-vao: Private ordinary functions
env-view-matrix: Private ordinary functions
env-white-color-vector: Private ordinary functions
env-white-pixel-texture: Private ordinary functions
env-y-axis-sgn: Private ordinary functions
extract-input-registration: Private ordinary functions

F
file-name-extension: Private ordinary functions
fill-buffer: Private ordinary functions
find-inputs-and-outputs: Private ordinary functions
fit: Public ordinary functions
fit-uv-to-rect: Private ordinary functions
flatten: Private ordinary functions
flip-pen: Public ordinary functions
font-align: Private generic functions
font-align: Private generic functions
font-color: Private generic functions
font-color: Private generic functions
font-face: Private generic functions
font-face: Private generic functions
font-line-height: Private generic functions
font-line-height: Private generic functions
font-size: Private generic functions
font-size: Private generic functions
free-resource: Private generic functions
free-resource: Private generic functions
free-resource: Private generic functions
free-resource: Private generic functions
Function, %define-channel-observer: Private ordinary functions
Function, (setf env-buffer-position): Private ordinary functions
Function, (setf env-debug-key-pressed): Private ordinary functions
Function, (setf env-font): Private ordinary functions
Function, (setf env-matrix-stack): Private ordinary functions
Function, (setf env-model-matrix): Private ordinary functions
Function, (setf env-pen): Private ordinary functions
Function, (setf env-programs): Private ordinary functions
Function, (setf env-red-screen): Private ordinary functions
Function, (setf env-resources): Private ordinary functions
Function, (setf env-vao): Private ordinary functions
Function, (setf env-view-matrix): Private ordinary functions
Function, (setf env-white-color-vector): Private ordinary functions
Function, (setf env-white-pixel-texture): Private ordinary functions
Function, (setf env-y-axis-sgn): Private ordinary functions
Function, (setf pen-curve-steps): Public ordinary functions
Function, (setf pen-fill): Public ordinary functions
Function, (setf pen-stroke): Public ordinary functions
Function, (setf pen-weight): Public ordinary functions
Function, (setf pen-winding-rule): Public ordinary functions
Function, (setf propagation-function): Private ordinary functions
Function, (setf propagation-inputs): Private ordinary functions
Function, (setf propagation-name): Private ordinary functions
Function, (setf propagation-outputs): Private ordinary functions
Function, abs-or-rel: Private ordinary functions
Function, add-delayed-init-fun!: Private ordinary functions
Function, background: Public ordinary functions
Function, bezier: Public ordinary functions
Function, bounding-box: Private ordinary functions
Function, channel-value-p: Private ordinary functions
Function, circle: Public ordinary functions
Function, clamp-1: Public ordinary functions
Function, class-bindings: Private ordinary functions
Function, coerce-float: Private ordinary functions
Function, color-bgr: Private ordinary functions
Function, color-bgra: Private ordinary functions
Function, color-bgra-255: Private ordinary functions
Function, color-filter-grayscale: Public ordinary functions
Function, color-filter-hsb: Public ordinary functions
Function, color-filter-invert: Public ordinary functions
Function, color-filter-rotate: Public ordinary functions
Function, color-hsba: Public ordinary functions
Function, color-rgb: Public ordinary functions
Function, color-rgba: Public ordinary functions
Function, color-rgba-255: Private ordinary functions
Function, color-vector: Public ordinary functions
Function, color-vector-255: Public ordinary functions
Function, copy-binding: Private ordinary functions
Function, copy-buffer: Private ordinary functions
Function, copy-env: Private ordinary functions
Function, copy-pen: Public ordinary functions
Function, copy-propagation: Private ordinary functions
Function, cropped-image-from-image: Private ordinary functions
Function, cubic-bezier-point: Private ordinary functions
Function, cut-surface: Private ordinary functions
Function, define-entity-channel-observers: Private ordinary functions
Function, define-entity-defclass: Private ordinary functions
Function, define-entity-draw-method: Private ordinary functions
Function, define-entity-prepare-method: Private ordinary functions
Function, define-sketch-channel-observers: Private ordinary functions
Function, define-sketch-defclass: Private ordinary functions
Function, define-sketch-draw-method: Private ordinary functions
Function, define-sketch-prepare-method: Private ordinary functions
Function, degrees: Public ordinary functions
Function, delay-init-p: Private ordinary functions
Function, delete-channel-propagation: Private ordinary functions
Function, div2-inexact: Private ordinary functions
Function, draw-shape: Private ordinary functions
Function, edges: Private ordinary functions
Function, ellipse: Public ordinary functions
Function, end-draw: Private ordinary functions
Function, env-buffer-position: Private ordinary functions
Function, env-debug-key-pressed: Private ordinary functions
Function, env-font: Private ordinary functions
Function, env-matrix-stack: Private ordinary functions
Function, env-model-matrix: Private ordinary functions
Function, env-p: Private ordinary functions
Function, env-pen: Private ordinary functions
Function, env-programs: Private ordinary functions
Function, env-red-screen: Private ordinary functions
Function, env-resources: Private ordinary functions
Function, env-vao: Private ordinary functions
Function, env-view-matrix: Private ordinary functions
Function, env-white-color-vector: Private ordinary functions
Function, env-white-pixel-texture: Private ordinary functions
Function, env-y-axis-sgn: Private ordinary functions
Function, extract-input-registration: Private ordinary functions
Function, file-name-extension: Private ordinary functions
Function, fill-buffer: Private ordinary functions
Function, find-inputs-and-outputs: Private ordinary functions
Function, fit: Public ordinary functions
Function, fit-uv-to-rect: Private ordinary functions
Function, flatten: Private ordinary functions
Function, flip-pen: Public ordinary functions
Function, gray: Public ordinary functions
Function, gray-255: Public ordinary functions
Function, group: Private ordinary functions
Function, group-bits: Private ordinary functions
Function, grow-polygon: Private ordinary functions
Function, hash-color: Public ordinary functions
Function, hex-to-color: Public ordinary functions
Function, hsb: Public ordinary functions
Function, hsb-360: Public ordinary functions
Function, hsb-to-rgb: Public ordinary functions
Function, image: Public ordinary functions
Function, in: Public ordinary functions
Function, init-image-texture!: Private ordinary functions
Function, initialize-environment: Private ordinary functions
Function, initialize-gl: Private ordinary functions
Function, initialize-sketch: Private ordinary functions
Function, initialize-view-matrix: Private ordinary functions
Function, intersect-lines: Private ordinary functions
Function, lerp-color: Public ordinary functions
Function, lerp-lists: Private ordinary functions
Function, line: Public ordinary functions
Function, load-resource: Public ordinary functions
Function, make-accessor: Private ordinary functions
Function, make-binding: Private ordinary functions
Function, make-canvas: Public ordinary functions
Function, make-default-font: Private ordinary functions
Function, make-default-pen: Private ordinary functions
Function, make-env: Private ordinary functions
Function, make-error-font: Private ordinary functions
Function, make-font: Public ordinary functions
Function, make-image-from-surface: Private ordinary functions
Function, make-line: Private ordinary functions
Function, make-ngon: Private ordinary functions
Function, make-pen: Public ordinary functions
Function, make-polygon: Private ordinary functions
Function, make-polyline: Private ordinary functions
Function, make-propagation: Private ordinary functions
Function, make-rect: Private ordinary functions
Function, make-star: Private ordinary functions
Function, make-white-pixel-texture: Private ordinary functions
Function, maybe-change-viewport: Private ordinary functions
Function, mix-lists: Private ordinary functions
Function, ngon: Public ordinary functions
Function, ngon-vertices: Private ordinary functions
Function, normalize: Public ordinary functions
Function, normalize-to-bounding-box: Private ordinary functions
Function, object-to-keyword-hash: Private ordinary functions
Function, order-list: Private ordinary functions
Function, out: Public ordinary functions
Function, out-1: Private ordinary functions
Function, pad-list: Private ordinary functions
Function, parse-bindings: Private ordinary functions
Function, pen-curve-steps: Public ordinary functions
Function, pen-fill: Public ordinary functions
Function, pen-p: Private ordinary functions
Function, pen-stroke: Public ordinary functions
Function, pen-weight: Public ordinary functions
Function, pen-winding-rule: Public ordinary functions
Function, pixel-uv-rect: Private ordinary functions
Function, point: Public ordinary functions
Function, polygon: Public ordinary functions
Function, polyline: Public ordinary functions
Function, pop-matrix: Public ordinary functions
Function, propagate: Private ordinary functions
Function, propagate-to-entity: Private ordinary functions
Function, propagation-function: Private ordinary functions
Function, propagation-inputs: Private ordinary functions
Function, propagation-name: Private ordinary functions
Function, propagation-outputs: Private ordinary functions
Function, propagation-p: Private ordinary functions
Function, push-matrix: Public ordinary functions
Function, quadratic-bezier-point: Private ordinary functions
Function, radians: Public ordinary functions
Function, random-color: Public ordinary functions
Function, rect: Public ordinary functions
Function, register-input: Public ordinary functions
Function, relative-path: Public ordinary functions
Function, reset-all-channels: Public ordinary functions
Function, reset-channel: Private ordinary functions
Function, rgb: Public ordinary functions
Function, rgb-255: Public ordinary functions
Function, rgb-to-hsb: Public ordinary functions
Function, rotate: Public ordinary functions
Function, save-png: Public ordinary functions
Function, scale: Public ordinary functions
Function, set-font: Public ordinary functions
Function, set-matrix: Public ordinary functions
Function, set-matrix*: Private ordinary functions
Function, set-pen: Public ordinary functions
Function, shader-color-texture-values: Private ordinary functions
Function, star: Public ordinary functions
Function, start-draw: Private ordinary functions
Function, start-loop: Public ordinary functions
Function, stop-loop: Public ordinary functions
Function, surface-format: Private ordinary functions
Function, text: Public ordinary functions
Function, text-align: Private ordinary functions
Function, text-line-image: Public ordinary functions
Function, text-scale: Private ordinary functions
Function, transform-vertex: Private ordinary functions
Function, translate: Public ordinary functions
Function, translate-line: Private ordinary functions
Function, translate-sdl2-button: Private ordinary functions
Function, translate-sdl2-button-state: Private ordinary functions
Function, translate-sdl2-key-state: Private ordinary functions
Function, translated-intersects: Private ordinary functions
Function, triangulate: Private ordinary functions
Function, update-hsb: Private ordinary functions
Function, update-propagation-data: Private ordinary functions
Function, update-rgb: Private ordinary functions
Function, without-sdl2-scancode-prefix: Private ordinary functions

G
Generic Function, %canvas-image: Private generic functions
Generic Function, %canvas-locked: Private generic functions
Generic Function, %canvas-vector: Private generic functions
Generic Function, %canvas-vector-pointer: Private generic functions
Generic Function, %sketch: Private generic functions
Generic Function, (setf %canvas-image): Private generic functions
Generic Function, (setf %canvas-locked): Private generic functions
Generic Function, (setf %canvas-vector): Private generic functions
Generic Function, (setf %sketch): Private generic functions
Generic Function, (setf binding-accessor): Private generic functions
Generic Function, (setf binding-channel-name): Private generic functions
Generic Function, (setf binding-channelp): Private generic functions
Generic Function, (setf binding-defaultp): Private generic functions
Generic Function, (setf binding-initarg): Private generic functions
Generic Function, (setf binding-initform): Private generic functions
Generic Function, (setf binding-name): Private generic functions
Generic Function, (setf binding-package): Private generic functions
Generic Function, (setf binding-prefix): Private generic functions
Generic Function, (setf color-alpha): Public generic functions
Generic Function, (setf color-blue): Public generic functions
Generic Function, (setf color-brightness): Public generic functions
Generic Function, (setf color-green): Public generic functions
Generic Function, (setf color-hue): Public generic functions
Generic Function, (setf color-red): Public generic functions
Generic Function, (setf color-saturation): Public generic functions
Generic Function, (setf cropped-image-uv-rect): Private generic functions
Generic Function, (setf entity-height): Public generic functions
Generic Function, (setf entity-width): Public generic functions
Generic Function, (setf font-align): Private generic functions
Generic Function, (setf font-color): Private generic functions
Generic Function, (setf font-face): Private generic functions
Generic Function, (setf font-line-height): Private generic functions
Generic Function, (setf font-size): Private generic functions
Generic Function, (setf image-height): Public generic functions
Generic Function, (setf image-texture): Private generic functions
Generic Function, (setf image-width): Public generic functions
Generic Function, (setf original-image): Private generic functions
Generic Function, (setf sketch-%delayed-init-funs): Private generic functions
Generic Function, (setf sketch-%entities): Private generic functions
Generic Function, (setf sketch-%setup-called): Private generic functions
Generic Function, (setf sketch-%window): Private generic functions
Generic Function, (setf sketch-close-on): Public generic functions
Generic Function, (setf sketch-copy-pixels): Public generic functions
Generic Function, (setf sketch-fullscreen): Public generic functions
Generic Function, (setf sketch-height): Public generic functions
Generic Function, (setf sketch-resizable): Public generic functions
Generic Function, (setf sketch-title): Public generic functions
Generic Function, (setf sketch-width): Public generic functions
Generic Function, (setf sketch-y-axis): Public generic functions
Generic Function, (setf typeface-filename): Private generic functions
Generic Function, (setf typeface-pointer): Private generic functions
Generic Function, (setf window-%closing): Private generic functions
Generic Function, binding-accessor: Private generic functions
Generic Function, binding-channel-name: Private generic functions
Generic Function, binding-channelp: Private generic functions
Generic Function, binding-defaultp: Private generic functions
Generic Function, binding-initarg: Private generic functions
Generic Function, binding-initform: Private generic functions
Generic Function, binding-name: Private generic functions
Generic Function, binding-package: Private generic functions
Generic Function, binding-prefix: Private generic functions
Generic Function, canvas-height: Public generic functions
Generic Function, canvas-image: Public generic functions
Generic Function, canvas-lock: Public generic functions
Generic Function, canvas-paint: Public generic functions
Generic Function, canvas-reset: Public generic functions
Generic Function, canvas-unlock: Public generic functions
Generic Function, canvas-width: Public generic functions
Generic Function, color-alpha: Public generic functions
Generic Function, color-blue: Public generic functions
Generic Function, color-brightness: Public generic functions
Generic Function, color-green: Public generic functions
Generic Function, color-hue: Public generic functions
Generic Function, color-red: Public generic functions
Generic Function, color-saturation: Public generic functions
Generic Function, crop: Public generic functions
Generic Function, cropped-image-uv-rect: Private generic functions
Generic Function, draw: Public generic functions
Generic Function, draw-figure: Private generic functions
Generic Function, entity-height: Public generic functions
Generic Function, entity-width: Public generic functions
Generic Function, font-align: Private generic functions
Generic Function, font-color: Private generic functions
Generic Function, font-face: Private generic functions
Generic Function, font-line-height: Private generic functions
Generic Function, font-size: Private generic functions
Generic Function, free-resource: Private generic functions
Generic Function, image-height: Public generic functions
Generic Function, image-texture: Private generic functions
Generic Function, image-width: Public generic functions
Generic Function, load-typed-resource: Private generic functions
Generic Function, on-click: Public generic functions
Generic Function, on-enter: Public generic functions
Generic Function, on-error: Private generic functions
Generic Function, on-error-handler: Private generic functions
Generic Function, on-hover: Public generic functions
Generic Function, on-key: Public generic functions
Generic Function, on-leave: Public generic functions
Generic Function, on-middle-click: Private generic functions
Generic Function, on-mouse-button: Public generic functions
Generic Function, on-mouse-left: Public generic functions
Generic Function, on-mouse-left-down: Public generic functions
Generic Function, on-mouse-left-up: Public generic functions
Generic Function, on-mouse-middle: Public generic functions
Generic Function, on-mouse-middle-down: Public generic functions
Generic Function, on-mouse-middle-up: Public generic functions
Generic Function, on-mouse-right: Public generic functions
Generic Function, on-mouse-right-down: Public generic functions
Generic Function, on-mouse-right-up: Public generic functions
Generic Function, on-right-click: Private generic functions
Generic Function, on-text: Public generic functions
Generic Function, original-image: Private generic functions
Generic Function, prepare: Private generic functions
Generic Function, push-vertices: Private generic functions
Generic Function, register-entity: Private generic functions
Generic Function, setup: Public generic functions
Generic Function, sketch-%delayed-init-funs: Private generic functions
Generic Function, sketch-%entities: Private generic functions
Generic Function, sketch-%env: Private generic functions
Generic Function, sketch-%setup-called: Private generic functions
Generic Function, sketch-%window: Private generic functions
Generic Function, sketch-close-on: Public generic functions
Generic Function, sketch-copy-pixels: Public generic functions
Generic Function, sketch-fullscreen: Public generic functions
Generic Function, sketch-height: Public generic functions
Generic Function, sketch-resizable: Public generic functions
Generic Function, sketch-title: Public generic functions
Generic Function, sketch-width: Public generic functions
Generic Function, sketch-y-axis: Public generic functions
Generic Function, typeface-filename: Private generic functions
Generic Function, typeface-pointer: Private generic functions
Generic Function, window-%closing: Private generic functions
gl-context: Public standalone methods
gray: Public ordinary functions
gray-255: Public ordinary functions
group: Private ordinary functions
group-bits: Private ordinary functions
grow-polygon: Private ordinary functions

H
hash-color: Public ordinary functions
hex-to-color: Public ordinary functions
hsb: Public ordinary functions
hsb-360: Public ordinary functions
hsb-to-rgb: Public ordinary functions

I
idle-render: Public standalone methods
image: Public ordinary functions
image-height: Public generic functions
image-height: Public generic functions
image-texture: Private generic functions
image-texture: Private generic functions
image-texture: Private generic functions
image-width: Public generic functions
image-width: Public generic functions
in: Public ordinary functions
init-image-texture!: Private ordinary functions
initialize-environment: Private ordinary functions
initialize-gl: Private ordinary functions
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-sketch: Private ordinary functions
initialize-view-matrix: Private ordinary functions
intersect-lines: Private ordinary functions

K
keyboard-event: Public standalone methods
keyboard-event: Public standalone methods
keyboard-event: Public standalone methods
keyboard-event: Public standalone methods

L
lerp-color: Public ordinary functions
lerp-lists: Private ordinary functions
line: Public ordinary functions
load-resource: Public ordinary functions
load-typed-resource: Private generic functions
load-typed-resource: Private generic functions
load-typed-resource: Private generic functions
load-typed-resource: Private generic functions

M
Macro, add-updater-to-accessor: Private macros
Macro, def-on-mouse: Private macros
Macro, def-xy-event-method: Private macros
Macro, defentity: Public macros
Macro, deffigure: Public macros
Macro, define-channel-observer: Public macros
Macro, define-named-channel-observer: Public macros
Macro, define-sdl2-forward: Private macros
Macro, define-sketch-writer: Private macros
Macro, defsketch: Public macros
Macro, unwind-and-call-on-error: Private macros
Macro, with-current-matrix: Public macros
Macro, with-environment: Private macros
Macro, with-error-handling: Private macros
Macro, with-fit: Public macros
Macro, with-font: Public macros
Macro, with-gl-draw: Private macros
Macro, with-identity-matrix: Public macros
Macro, with-lines: Private macros
Macro, with-matrix: Public macros
Macro, with-pen: Public macros
Macro, with-rotate: Public macros
Macro, with-scale: Public macros
Macro, with-shorthand: Private macros
Macro, with-sketch: Private macros
Macro, with-translate: Public macros
Macro, with-uv-rect: Public macros
make-accessor: Private ordinary functions
make-binding: Private ordinary functions
make-canvas: Public ordinary functions
make-default-font: Private ordinary functions
make-default-pen: Private ordinary functions
make-env: Private ordinary functions
make-error-font: Private ordinary functions
make-font: Public ordinary functions
make-image-from-surface: Private ordinary functions
make-line: Private ordinary functions
make-ngon: Private ordinary functions
make-pen: Public ordinary functions
make-polygon: Private ordinary functions
make-polyline: Private ordinary functions
make-propagation: Private ordinary functions
make-rect: Private ordinary functions
make-star: Private ordinary functions
make-white-pixel-texture: Private ordinary functions
maybe-change-viewport: Private ordinary functions
Method, %canvas-image: Private generic functions
Method, %canvas-locked: Private generic functions
Method, %canvas-vector: Private generic functions
Method, %canvas-vector-pointer: Private generic functions
Method, %sketch: Private generic functions
Method, (setf %canvas-image): Private generic functions
Method, (setf %canvas-locked): Private generic functions
Method, (setf %canvas-vector): Private generic functions
Method, (setf %sketch): Private generic functions
Method, (setf binding-accessor): Private generic functions
Method, (setf binding-channel-name): Private generic functions
Method, (setf binding-channelp): Private generic functions
Method, (setf binding-defaultp): Private generic functions
Method, (setf binding-initarg): Private generic functions
Method, (setf binding-initform): Private generic functions
Method, (setf binding-name): Private generic functions
Method, (setf binding-package): Private generic functions
Method, (setf binding-prefix): Private generic functions
Method, (setf color-alpha): Public generic functions
Method, (setf color-blue): Public generic functions
Method, (setf color-blue): Public generic functions
Method, (setf color-brightness): Public generic functions
Method, (setf color-brightness): Public generic functions
Method, (setf color-green): Public generic functions
Method, (setf color-green): Public generic functions
Method, (setf color-hue): Public generic functions
Method, (setf color-hue): Public generic functions
Method, (setf color-red): Public generic functions
Method, (setf color-red): Public generic functions
Method, (setf color-saturation): Public generic functions
Method, (setf color-saturation): Public generic functions
Method, (setf cropped-image-uv-rect): Private generic functions
Method, (setf entity-height): Public generic functions
Method, (setf entity-width): Public generic functions
Method, (setf font-align): Private generic functions
Method, (setf font-color): Private generic functions
Method, (setf font-face): Private generic functions
Method, (setf font-line-height): Private generic functions
Method, (setf font-size): Private generic functions
Method, (setf idle-render): Public standalone methods
Method, (setf image-height): Public generic functions
Method, (setf image-texture): Private generic functions
Method, (setf image-width): Public generic functions
Method, (setf original-image): Private generic functions
Method, (setf render-enabled): Public standalone methods
Method, (setf render-enabled): Public standalone methods
Method, (setf sketch-%delayed-init-funs): Private generic functions
Method, (setf sketch-%entities): Private generic functions
Method, (setf sketch-%setup-called): Private generic functions
Method, (setf sketch-%window): Private generic functions
Method, (setf sketch-close-on): Public generic functions
Method, (setf sketch-copy-pixels): Public generic functions
Method, (setf sketch-fullscreen): Public generic functions
Method, (setf sketch-fullscreen): Public generic functions
Method, (setf sketch-height): Public generic functions
Method, (setf sketch-height): Public generic functions
Method, (setf sketch-resizable): Public generic functions
Method, (setf sketch-resizable): Public generic functions
Method, (setf sketch-title): Public generic functions
Method, (setf sketch-title): Public generic functions
Method, (setf sketch-width): Public generic functions
Method, (setf sketch-width): Public generic functions
Method, (setf sketch-y-axis): Public generic functions
Method, (setf sketch-y-axis): Public generic functions
Method, (setf typeface-filename): Private generic functions
Method, (setf typeface-pointer): Private generic functions
Method, (setf window-%closing): Private generic functions
Method, binding-accessor: Private generic functions
Method, binding-channel-name: Private generic functions
Method, binding-channelp: Private generic functions
Method, binding-defaultp: Private generic functions
Method, binding-initarg: Private generic functions
Method, binding-initform: Private generic functions
Method, binding-name: Private generic functions
Method, binding-package: Private generic functions
Method, binding-prefix: Private generic functions
Method, canvas-height: Public generic functions
Method, canvas-image: Public generic functions
Method, canvas-lock: Public generic functions
Method, canvas-paint: Public generic functions
Method, canvas-reset: Public generic functions
Method, canvas-unlock: Public generic functions
Method, canvas-width: Public generic functions
Method, close-window: Public standalone methods
Method, close-window: Public standalone methods
Method, close-window: Public standalone methods
Method, close-window: Public standalone methods
Method, color-alpha: Public generic functions
Method, color-blue: Public generic functions
Method, color-brightness: Public generic functions
Method, color-green: Public generic functions
Method, color-hue: Public generic functions
Method, color-red: Public generic functions
Method, color-saturation: Public generic functions
Method, controller-added-event: Public standalone methods
Method, controller-added-event: Public standalone methods
Method, controller-axis-motion-event: Public standalone methods
Method, controller-axis-motion-event: Public standalone methods
Method, controller-button-event: Public standalone methods
Method, controller-button-event: Public standalone methods
Method, controller-removed-event: Public standalone methods
Method, controller-removed-event: Public standalone methods
Method, crop: Public generic functions
Method, cropped-image-uv-rect: Private generic functions
Method, draw: Public generic functions
Method, draw: Public generic functions
Method, draw: Public generic functions
Method, draw-figure: Private generic functions
Method, entity-height: Public generic functions
Method, entity-width: Public generic functions
Method, font-align: Private generic functions
Method, font-color: Private generic functions
Method, font-face: Private generic functions
Method, font-line-height: Private generic functions
Method, font-size: Private generic functions
Method, free-resource: Private generic functions
Method, free-resource: Private generic functions
Method, free-resource: Private generic functions
Method, gl-context: Public standalone methods
Method, idle-render: Public standalone methods
Method, image-height: Public generic functions
Method, image-texture: Private generic functions
Method, image-texture: Private generic functions
Method, image-width: Public generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, keyboard-event: Public standalone methods
Method, keyboard-event: Public standalone methods
Method, keyboard-event: Public standalone methods
Method, keyboard-event: Public standalone methods
Method, load-typed-resource: Private generic functions
Method, load-typed-resource: Private generic functions
Method, load-typed-resource: Private generic functions
Method, mousebutton-event: Public standalone methods
Method, mousebutton-event: Public standalone methods
Method, mousebutton-event: Public standalone methods
Method, mousemotion-event: Public standalone methods
Method, mousemotion-event: Public standalone methods
Method, mousemotion-event: Public standalone methods
Method, mousewheel-event: Public standalone methods
Method, mousewheel-event: Public standalone methods
Method, mousewheel-event: Public standalone methods
Method, on-click: Public generic functions
Method, on-click: Public generic functions
Method, on-enter: Public generic functions
Method, on-error: Private generic functions
Method, on-error-handler: Private generic functions
Method, on-hover: Public generic functions
Method, on-hover: Public generic functions
Method, on-hover: Public generic functions
Method, on-key: Public generic functions
Method, on-key: Public generic functions
Method, on-leave: Public generic functions
Method, on-middle-click: Private generic functions
Method, on-middle-click: Private generic functions
Method, on-mouse-button: Public generic functions
Method, on-mouse-button: Public generic functions
Method, on-mouse-button: Public generic functions
Method, on-mouse-left: Public generic functions
Method, on-mouse-left: Public generic functions
Method, on-mouse-left: Public generic functions
Method, on-mouse-left-down: Public generic functions
Method, on-mouse-left-down: Public generic functions
Method, on-mouse-left-up: Public generic functions
Method, on-mouse-left-up: Public generic functions
Method, on-mouse-left-up: Public generic functions
Method, on-mouse-middle: Public generic functions
Method, on-mouse-middle: Public generic functions
Method, on-mouse-middle: Public generic functions
Method, on-mouse-middle-down: Public generic functions
Method, on-mouse-middle-down: Public generic functions
Method, on-mouse-middle-up: Public generic functions
Method, on-mouse-middle-up: Public generic functions
Method, on-mouse-middle-up: Public generic functions
Method, on-mouse-right: Public generic functions
Method, on-mouse-right: Public generic functions
Method, on-mouse-right: Public generic functions
Method, on-mouse-right-down: Public generic functions
Method, on-mouse-right-down: Public generic functions
Method, on-mouse-right-up: Public generic functions
Method, on-mouse-right-up: Public generic functions
Method, on-mouse-right-up: Public generic functions
Method, on-right-click: Private generic functions
Method, on-right-click: Private generic functions
Method, on-text: Public generic functions
Method, on-text: Public generic functions
Method, original-image: Private generic functions
Method, push-vertices: Private generic functions
Method, push-vertices: Private generic functions
Method, push-vertices: Private generic functions
Method, register-entity: Private generic functions
Method, render: Public standalone methods
Method, render: Public standalone methods
Method, render-enabled: Public standalone methods
Method, render-enabled: Public standalone methods
Method, sdl-window: Public standalone methods
Method, setup: Public generic functions
Method, sketch-%delayed-init-funs: Private generic functions
Method, sketch-%entities: Private generic functions
Method, sketch-%env: Private generic functions
Method, sketch-%setup-called: Private generic functions
Method, sketch-%window: Private generic functions
Method, sketch-close-on: Public generic functions
Method, sketch-copy-pixels: Public generic functions
Method, sketch-fullscreen: Public generic functions
Method, sketch-height: Public generic functions
Method, sketch-resizable: Public generic functions
Method, sketch-title: Public generic functions
Method, sketch-width: Public generic functions
Method, sketch-y-axis: Public generic functions
Method, textinput-event: Public standalone methods
Method, textinput-event: Public standalone methods
Method, textinput-event: Public standalone methods
Method, typeface-filename: Private generic functions
Method, typeface-pointer: Private generic functions
Method, update-instance-for-redefined-class: Public standalone methods
Method, update-instance-for-redefined-class: Public standalone methods
Method, window-%closing: Private generic functions
Method, window-event: Public standalone methods
Method, window-event: Public standalone methods
Method, window-event: Public standalone methods
mix-lists: Private ordinary functions
mousebutton-event: Public standalone methods
mousebutton-event: Public standalone methods
mousebutton-event: Public standalone methods
mousemotion-event: Public standalone methods
mousemotion-event: Public standalone methods
mousemotion-event: Public standalone methods
mousewheel-event: Public standalone methods
mousewheel-event: Public standalone methods
mousewheel-event: Public standalone methods

N
ngon: Public ordinary functions
ngon-vertices: Private ordinary functions
normalize: Public ordinary functions
normalize-to-bounding-box: Private ordinary functions

O
object-to-keyword-hash: Private ordinary functions
on-click: Public generic functions
on-click: Public generic functions
on-click: Public generic functions
on-enter: Public generic functions
on-enter: Public generic functions
on-error: Private generic functions
on-error: Private generic functions
on-error-handler: Private generic functions
on-error-handler: Private generic functions
on-hover: Public generic functions
on-hover: Public generic functions
on-hover: Public generic functions
on-hover: Public generic functions
on-key: Public generic functions
on-key: Public generic functions
on-key: Public generic functions
on-leave: Public generic functions
on-leave: Public generic functions
on-middle-click: Private generic functions
on-middle-click: Private generic functions
on-middle-click: Private generic functions
on-mouse-button: Public generic functions
on-mouse-button: Public generic functions
on-mouse-button: Public generic functions
on-mouse-button: Public generic functions
on-mouse-left: Public generic functions
on-mouse-left: Public generic functions
on-mouse-left: Public generic functions
on-mouse-left: Public generic functions
on-mouse-left-down: Public generic functions
on-mouse-left-down: Public generic functions
on-mouse-left-down: Public generic functions
on-mouse-left-up: Public generic functions
on-mouse-left-up: Public generic functions
on-mouse-left-up: Public generic functions
on-mouse-left-up: Public generic functions
on-mouse-middle: Public generic functions
on-mouse-middle: Public generic functions
on-mouse-middle: Public generic functions
on-mouse-middle: Public generic functions
on-mouse-middle-down: Public generic functions
on-mouse-middle-down: Public generic functions
on-mouse-middle-down: Public generic functions
on-mouse-middle-up: Public generic functions
on-mouse-middle-up: Public generic functions
on-mouse-middle-up: Public generic functions
on-mouse-middle-up: Public generic functions
on-mouse-right: Public generic functions
on-mouse-right: Public generic functions
on-mouse-right: Public generic functions
on-mouse-right: Public generic functions
on-mouse-right-down: Public generic functions
on-mouse-right-down: Public generic functions
on-mouse-right-down: Public generic functions
on-mouse-right-up: Public generic functions
on-mouse-right-up: Public generic functions
on-mouse-right-up: Public generic functions
on-mouse-right-up: Public generic functions
on-right-click: Private generic functions
on-right-click: Private generic functions
on-right-click: Private generic functions
on-text: Public generic functions
on-text: Public generic functions
on-text: Public generic functions
order-list: Private ordinary functions
original-image: Private generic functions
original-image: Private generic functions
out: Public ordinary functions
out-1: Private ordinary functions

P
pad-list: Private ordinary functions
parse-bindings: Private ordinary functions
pen-curve-steps: Public ordinary functions
pen-fill: Public ordinary functions
pen-p: Private ordinary functions
pen-stroke: Public ordinary functions
pen-weight: Public ordinary functions
pen-winding-rule: Public ordinary functions
pixel-uv-rect: Private ordinary functions
point: Public ordinary functions
polygon: Public ordinary functions
polyline: Public ordinary functions
pop-matrix: Public ordinary functions
prepare: Private generic functions
propagate: Private ordinary functions
propagate-to-entity: Private ordinary functions
propagation-function: Private ordinary functions
propagation-inputs: Private ordinary functions
propagation-name: Private ordinary functions
propagation-outputs: Private ordinary functions
propagation-p: Private ordinary functions
push-matrix: Public ordinary functions
push-vertices: Private generic functions
push-vertices: Private generic functions
push-vertices: Private generic functions
push-vertices: Private generic functions

Q
quadratic-bezier-point: Private ordinary functions

R
radians: Public ordinary functions
random-color: Public ordinary functions
rect: Public ordinary functions
register-entity: Private generic functions
register-entity: Private generic functions
register-input: Public ordinary functions
relative-path: Public ordinary functions
render: Public standalone methods
render: Public standalone methods
render-enabled: Public standalone methods
render-enabled: Public standalone methods
reset-all-channels: Public ordinary functions
reset-channel: Private ordinary functions
rgb: Public ordinary functions
rgb-255: Public ordinary functions
rgb-to-hsb: Public ordinary functions
rotate: Public ordinary functions

S
save-png: Public ordinary functions
scale: Public ordinary functions
sdl-window: Public standalone methods
set-font: Public ordinary functions
set-matrix: Public ordinary functions
set-matrix*: Private ordinary functions
set-pen: Public ordinary functions
setup: Public generic functions
setup: Public generic functions
shader-color-texture-values: Private ordinary functions
sketch-%delayed-init-funs: Private generic functions
sketch-%delayed-init-funs: Private generic functions
sketch-%entities: Private generic functions
sketch-%entities: Private generic functions
sketch-%env: Private generic functions
sketch-%env: Private generic functions
sketch-%setup-called: Private generic functions
sketch-%setup-called: Private generic functions
sketch-%window: Private generic functions
sketch-%window: Private generic functions
sketch-close-on: Public generic functions
sketch-close-on: Public generic functions
sketch-copy-pixels: Public generic functions
sketch-copy-pixels: Public generic functions
sketch-fullscreen: Public generic functions
sketch-fullscreen: Public generic functions
sketch-height: Public generic functions
sketch-height: Public generic functions
sketch-resizable: Public generic functions
sketch-resizable: Public generic functions
sketch-title: Public generic functions
sketch-title: Public generic functions
sketch-width: Public generic functions
sketch-width: Public generic functions
sketch-y-axis: Public generic functions
sketch-y-axis: Public generic functions
star: Public ordinary functions
start-draw: Private ordinary functions
start-loop: Public ordinary functions
stop-loop: Public ordinary functions
surface-format: Private ordinary functions

T
text: Public ordinary functions
text-align: Private ordinary functions
text-line-image: Public ordinary functions
text-scale: Private ordinary functions
textinput-event: Public standalone methods
textinput-event: Public standalone methods
textinput-event: Public standalone methods
transform-vertex: Private ordinary functions
translate: Public ordinary functions
translate-line: Private ordinary functions
translate-sdl2-button: Private ordinary functions
translate-sdl2-button-state: Private ordinary functions
translate-sdl2-key-state: Private ordinary functions
translated-intersects: Private ordinary functions
triangulate: Private ordinary functions
typeface-filename: Private generic functions
typeface-filename: Private generic functions
typeface-pointer: Private generic functions
typeface-pointer: Private generic functions

U
unwind-and-call-on-error: Private macros
update-hsb: Private ordinary functions
update-instance-for-redefined-class: Public standalone methods
update-instance-for-redefined-class: Public standalone methods
update-propagation-data: Private ordinary functions
update-rgb: Private ordinary functions

W
window-%closing: Private generic functions
window-%closing: Private generic functions
window-event: Public standalone methods
window-event: Public standalone methods
window-event: Public standalone methods
with-current-matrix: Public macros
with-environment: Private macros
with-error-handling: Private macros
with-fit: Public macros
with-font: Public macros
with-gl-draw: Private macros
with-identity-matrix: Public macros
with-lines: Private macros
with-matrix: Public macros
with-pen: Public macros
with-rotate: Public macros
with-scale: Public macros
with-shorthand: Private macros
with-sketch: Private macros
with-translate: Public macros
with-uv-rect: Public macros
without-sdl2-scancode-prefix: Private ordinary functions


A.3 Variables

Jump to:   %   *   +  
A   B   C   D   F   G   H   I   L   M   N   O   P   R   S   T   U   V   W   Y  
Index Entry  Section

%
%closing: Private classes
%delayed-init-funs: Public classes
%entities: Public classes
%env: Public classes
%image: Private classes
%locked: Private classes
%setup-called: Public classes
%sketch: Private classes
%vector: Private classes
%viewport-changed: Public classes
%window: Public classes

*
*%unwind-and-call-on-error-function*: Private special variables
*buffer-size*: Private special variables
*build*: Private special variables
*bytes-per-vertex*: Private special variables
*channel-propagations*: Private special variables
*channels*: Private special variables
*current-entity*: Private special variables
*default-height*: Public special variables
*default-width*: Public special variables
*draw-mode*: Private special variables
*draw-sequence*: Private special variables
*entity*: Private special variables
*env*: Private special variables
*initialized*: Private special variables
*propagations*: Private special variables
*sketch*: Private special variables
*uv-rect*: Private special variables
*vertex-attributes*: Private special variables

+
+access-mode+: Private special variables
+black+: Public special variables
+blue+: Public special variables
+cyan+: Public special variables
+e+: Public constants
+epsilon+: Public constants
+golden-ratio+: Public constants
+gray+: Public special variables
+green+: Public special variables
+half-pi+: Public constants
+indigo+: Public special variables
+magenta+: Public special variables
+orange+: Public special variables
+phi+: Public constants
+pi+: Public constants
+quarter-pi+: Public constants
+red+: Public special variables
+scancode-prefix-length+: Private constants
+tau+: Public constants
+two-pi+: Public constants
+white+: Public special variables
+yellow+: Public special variables

A
accessor: Private classes
align: Private classes
alpha: Public classes

B
blue: Public classes
brightness: Public classes
buffer-position: Private structures

C
channel-name: Private classes
channelp: Private classes
close-on: Public classes
color: Private classes
Constant, +e+: Public constants
Constant, +epsilon+: Public constants
Constant, +golden-ratio+: Public constants
Constant, +half-pi+: Public constants
Constant, +phi+: Public constants
Constant, +pi+: Public constants
Constant, +quarter-pi+: Public constants
Constant, +scancode-prefix-length+: Private constants
Constant, +tau+: Public constants
Constant, +two-pi+: Public constants
copy-pixels: Public classes
curve-steps: Public structures

D
debug-key-pressed: Private structures
defaultp: Private classes
draws: Private classes

F
face: Private classes
filename: Private classes
fill: Public structures
font: Private structures
fullscreen: Public classes
function: Private structures

G
green: Public classes

H
height: Public classes
height: Public classes
height: Private classes
height: Private classes
hue: Public classes

I
initarg: Private classes
initform: Private classes
inputs: Private structures

L
line-height: Private classes

M
matrix-stack: Private structures
model-matrix: Private structures

N
name: Private structures
name: Private classes

O
original-image: Private classes
outputs: Private structures

P
package: Private classes
pen: Private structures
pointer: Private classes
prefix: Private classes
programs: Private structures

R
red: Public classes
red-screen: Private structures
resizable: Public classes
resources: Private structures

S
saturation: Public classes
size: Private classes
Slot, %closing: Private classes
Slot, %delayed-init-funs: Public classes
Slot, %entities: Public classes
Slot, %env: Public classes
Slot, %image: Private classes
Slot, %locked: Private classes
Slot, %setup-called: Public classes
Slot, %sketch: Private classes
Slot, %vector: Private classes
Slot, %viewport-changed: Public classes
Slot, %window: Public classes
Slot, accessor: Private classes
Slot, align: Private classes
Slot, alpha: Public classes
Slot, blue: Public classes
Slot, brightness: Public classes
Slot, buffer-position: Private structures
Slot, channel-name: Private classes
Slot, channelp: Private classes
Slot, close-on: Public classes
Slot, color: Private classes
Slot, copy-pixels: Public classes
Slot, curve-steps: Public structures
Slot, debug-key-pressed: Private structures
Slot, defaultp: Private classes
Slot, draws: Private classes
Slot, face: Private classes
Slot, filename: Private classes
Slot, fill: Public structures
Slot, font: Private structures
Slot, fullscreen: Public classes
Slot, function: Private structures
Slot, green: Public classes
Slot, height: Public classes
Slot, height: Public classes
Slot, height: Private classes
Slot, height: Private classes
Slot, hue: Public classes
Slot, initarg: Private classes
Slot, initform: Private classes
Slot, inputs: Private structures
Slot, line-height: Private classes
Slot, matrix-stack: Private structures
Slot, model-matrix: Private structures
Slot, name: Private structures
Slot, name: Private classes
Slot, original-image: Private classes
Slot, outputs: Private structures
Slot, package: Private classes
Slot, pen: Private structures
Slot, pointer: Private classes
Slot, prefix: Private classes
Slot, programs: Private structures
Slot, red: Public classes
Slot, red-screen: Private structures
Slot, resizable: Public classes
Slot, resources: Private structures
Slot, saturation: Public classes
Slot, size: Private classes
Slot, stroke: Public structures
Slot, texture: Public classes
Slot, title: Public classes
Slot, uv-rect: Private classes
Slot, vao: Private structures
Slot, view-matrix: Private structures
Slot, weight: Public structures
Slot, white-color-vector: Private structures
Slot, white-pixel-texture: Private structures
Slot, width: Public classes
Slot, width: Public classes
Slot, width: Private classes
Slot, width: Private classes
Slot, winding-rule: Public structures
Slot, y-axis: Public classes
Slot, y-axis-sgn: Private structures
Special Variable, *%unwind-and-call-on-error-function*: Private special variables
Special Variable, *buffer-size*: Private special variables
Special Variable, *build*: Private special variables
Special Variable, *bytes-per-vertex*: Private special variables
Special Variable, *channel-propagations*: Private special variables
Special Variable, *channels*: Private special variables
Special Variable, *current-entity*: Private special variables
Special Variable, *default-height*: Public special variables
Special Variable, *default-width*: Public special variables
Special Variable, *draw-mode*: Private special variables
Special Variable, *draw-sequence*: Private special variables
Special Variable, *entity*: Private special variables
Special Variable, *env*: Private special variables
Special Variable, *initialized*: Private special variables
Special Variable, *propagations*: Private special variables
Special Variable, *sketch*: Private special variables
Special Variable, *uv-rect*: Private special variables
Special Variable, *vertex-attributes*: Private special variables
Special Variable, +access-mode+: Private special variables
Special Variable, +black+: Public special variables
Special Variable, +blue+: Public special variables
Special Variable, +cyan+: Public special variables
Special Variable, +gray+: Public special variables
Special Variable, +green+: Public special variables
Special Variable, +indigo+: Public special variables
Special Variable, +magenta+: Public special variables
Special Variable, +orange+: Public special variables
Special Variable, +red+: Public special variables
Special Variable, +white+: Public special variables
Special Variable, +yellow+: Public special variables
stroke: Public structures

T
texture: Public classes
title: Public classes

U
uv-rect: Private classes

V
vao: Private structures
view-matrix: Private structures

W
weight: Public structures
white-color-vector: Private structures
white-pixel-texture: Private structures
width: Public classes
width: Public classes
width: Private classes
width: Private classes
winding-rule: Public structures

Y
y-axis: Public classes
y-axis-sgn: Private structures


A.4 Data types

Jump to:   B   C   D   E   F   G   I   M   P   R   S   T   U  
Index Entry  Section

B
binding: Private classes
bindings.lisp: The sketch/bindings․lisp file

C
canvas: Private classes
canvas.lisp: The sketch/canvas․lisp file
channels.lisp: The sketch/channels․lisp file
Class, binding: Private classes
Class, canvas: Private classes
Class, color: Public classes
Class, cropped-image: Private classes
Class, entity: Private classes
Class, figure: Private classes
Class, font: Private classes
Class, image: Public classes
Class, resource: Private classes
Class, sketch: Public classes
Class, sketch-window: Private classes
Class, typeface: Private classes
color: Public classes
color.lisp: The sketch/color․lisp file
complex-transforms.lisp: The sketch/complex-transforms․lisp file
controllers.lisp: The sketch/controllers․lisp file
cropped-image: Private classes

D
drawing.lisp: The sketch/drawing․lisp file

E
entities.lisp: The sketch/entities․lisp file
entity: Private classes
env: Private structures
environment.lisp: The sketch/environment․lisp file

F
figure: Private classes
figures.lisp: The sketch/figures․lisp file
File, bindings.lisp: The sketch/bindings․lisp file
File, canvas.lisp: The sketch/canvas․lisp file
File, channels.lisp: The sketch/channels․lisp file
File, color.lisp: The sketch/color․lisp file
File, complex-transforms.lisp: The sketch/complex-transforms․lisp file
File, controllers.lisp: The sketch/controllers․lisp file
File, drawing.lisp: The sketch/drawing․lisp file
File, entities.lisp: The sketch/entities․lisp file
File, environment.lisp: The sketch/environment․lisp file
File, figures.lisp: The sketch/figures․lisp file
File, font.lisp: The sketch/font․lisp file
File, geometry.lisp: The sketch/geometry․lisp file
File, image.lisp: The sketch/image․lisp file
File, math.lisp: The sketch/math․lisp file
File, package.lisp: The sketch/package․lisp file
File, pen.lisp: The sketch/pen․lisp file
File, resources.lisp: The sketch/resources․lisp file
File, shaders.lisp: The sketch/shaders․lisp file
File, shapes.lisp: The sketch/shapes․lisp file
File, sketch.asd: The sketch/sketch․asd file
File, sketch.lisp: The sketch/sketch․lisp file
File, transforms.lisp: The sketch/transforms․lisp file
File, utils.lisp: The sketch/utils․lisp file
font: Private classes
font.lisp: The sketch/font․lisp file

G
geometry.lisp: The sketch/geometry․lisp file

I
image: Public classes
image.lisp: The sketch/image․lisp file

M
math.lisp: The sketch/math․lisp file

P
Package, sketch: The sketch package
package.lisp: The sketch/package․lisp file
pen: Public structures
pen.lisp: The sketch/pen․lisp file
propagation: Private structures

R
resource: Private classes
resources.lisp: The sketch/resources․lisp file

S
shaders.lisp: The sketch/shaders․lisp file
shapes.lisp: The sketch/shapes․lisp file
sketch: The sketch system
sketch: The sketch package
sketch: Public classes
sketch-window: Private classes
sketch.asd: The sketch/sketch․asd file
sketch.lisp: The sketch/sketch․lisp file
Structure, env: Private structures
Structure, pen: Public structures
Structure, propagation: Private structures
System, sketch: The sketch system

T
transforms.lisp: The sketch/transforms․lisp file
typeface: Private classes

U
utils.lisp: The sketch/utils․lisp file