The cl-gd Reference Manual

This is the cl-gd Reference Manual, version 0.6.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 15:14:04 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 cl-gd

Interface to the GD graphics library

Version

0.6.1

Dependency

uffi (system).

Source

cl-gd.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 cl-gd/cl-gd.asd

Source

cl-gd.asd.

Parent Component

cl-gd (system).

ASDF Systems

cl-gd.

Packages

cl-gd.system.

Public Interface

*cl-gd-directory* (special variable).


3.1.2 cl-gd/packages.lisp

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Packages

cl-gd.


3.1.3 cl-gd/util.lisp

Dependency

packages.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Internals

3.1.4 cl-gd/specials.lisp

Dependency

util.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Public Interface
Internals

3.1.5 cl-gd/init.lisp

Dependency

specials.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Internals

load-gd-glue (function).


3.1.6 cl-gd/gd-uffi.lisp

Dependency

init.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Internals

3.1.7 cl-gd/transform.lisp

Dependency

gd-uffi.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Public Interface
Internals

3.1.8 cl-gd/images.lisp

Dependency

transform.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Public Interface
Internals

make-stream-fn (macro).


3.1.9 cl-gd/colors-aux.lisp

Dependency

images.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Internals

3.1.10 cl-gd/colors.lisp

Dependency

colors-aux.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Public Interface

3.1.11 cl-gd/drawing.lisp

Dependency

colors.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Public Interface

3.1.12 cl-gd/strings.lisp

Dependency

drawing.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Public Interface

3.1.13 cl-gd/misc.lisp

Dependency

strings.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Public Interface

3.1.14 cl-gd/animated-gif.lisp

Dependency

misc.lisp (file).

Source

cl-gd.asd.

Parent Component

cl-gd (system).

Internals

4 Packages

Packages are listed by definition order.


4.1 cl-gd.system

Source

cl-gd.asd.

Use List
  • asdf/interface.
  • common-lisp.
Public Interface

*cl-gd-directory* (special variable).


4.2 cl-gd

Source

packages.lisp.

Use List
  • common-lisp.
  • uffi.
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: +max-colors+

Maximum number of colors for palette-based images.

Package

cl-gd.

Source

specials.lisp.


5.1.2 Special variables

Special Variable: *cl-gd-directory*
Package

cl-gd.system.

Source

cl-gd.asd.

Special Variable: *default-color*

The default color. This special variable is usually bound by WITH-COLOR.

Package

cl-gd.

Source

specials.lisp.

Special Variable: *default-font*

The default font. This special variable is usually bound by WITH-FONT.

Package

cl-gd.

Source

specials.lisp.

Special Variable: *default-image*

The default image. This special variable is usually bound by WITH-IMAGE or WITH-IMAGE-FROM-FILE.

Package

cl-gd.

Source

specials.lisp.


5.1.3 Macros

Macro: do-pixels ((&optional image) &body body)
Package

cl-gd.

Source

misc.lisp.

Macro: do-rows ((y-var &optional image) &body body)
Package

cl-gd.

Source

misc.lisp.

Macro: with-clipping-rectangle ((rectangle &key image) &body body)

Executes BODY with the clipping rectangle of IMAGE set to RECTANGLE which should be a list (X1 Y1 X2 Y2). The previous clipping rectangle is guaranteed to be restored before the macro exits.

Package

cl-gd.

Source

drawing.lisp.

Macro: with-clipping-rectangle* ((x1 y1 x2 y2 &key image) &body body)

Executes BODY with the clipping rectangle of IMAGE set to the rectangle with upper left corner (X1, Y1) and lower right corner (X2, Y2). The previous clipping rectangle is guaranteed to be restored before the macro exits.

Package

cl-gd.

Source

drawing.lisp.

Macro: with-default-color ((color) &body body)

Executes BODY with *DEFAULT-COLOR* bound to COLOR so that you don’t have to provide the COLOR keyword/optional argument to drawing functions.

Package

cl-gd.

Source

colors.lisp.

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

Execute BODY with *DEFAULT-FONT* bound to FONT so that you don’t have to provide the FONT keyword/optional argument to string functions. But note that the fonts used for DRAW-STRING/DRAW-CHARACTER and DRAW-FREETYPE-STRING are incompatible.

Package

cl-gd.

Source

strings.lisp.

Macro: with-default-image ((image) &body body)

Executes BODY with *DEFAULT-IMAGE* bound to IMAGE so that you don’t have to provide the IMAGE keyword/optional argument to CL-GD functions.

Package

cl-gd.

Source

images.lisp.

Macro: with-image ((name width height &optional true-color) &body body)

Creates an image with size WIDTH x HEIGHT, and executes BODY with the image bound to NAME. If TRUE-COLOR is true, creates a true color image. The image is guaranteed to be destroyed before this macro exits.

Package

cl-gd.

Source

images.lisp.

Macro: with-image* ((width height &optional true-color) &body body)

Creates an image with size WIDTH x HEIGHT and executes BODY with the image bound to *DEFAULT-IMAGE*. If TRUE-COLOR is true, creates a true color image. The image is guaranteed to be destroyed before this macro exits.

Package

cl-gd.

Source

images.lisp.

Macro: with-image-from-file ((name file-name &optional type) &body body)

Creates an image from the file specified by FILE-NAME (which is either a pathname or a string) and executes BODY with the image bound to NAME. The type of the image can be provied as TYPE or otherwise it will be guessed from the PATHNAME-TYPE of FILE-NAME. The image is guaranteed to be destroyed before this macro exits.

Package

cl-gd.

Source

images.lisp.

Macro: with-image-from-file* ((file-name &optional type) &body body)

Creates an image from the file specified by FILE-NAME (which is either a pathname or a string) and executes BODY with the image bound to *DEFAULT-IMAGE*. The type of the image can be provied as TYPE or otherwise it will be guessed from the PATHNAME-TYPE of FILE-NAME. The image is guaranteed to be destroyed before this macro exits.

Package

cl-gd.

Source

images.lisp.

Macro: with-image-from-gd2-part ((name file-name src-x src-y width height) &body body)

Creates an image from the part of the GD2 file FILE-NAME (which is either a pathname or a string) specified SRC-X, SRC-Y, WIDTH, and HEIGHT and executes BODY with the image bound to NAME. The type of the image can be provied as TYPE or otherwise it will be guessed from the PATHNAME-TYPE of FILE-NAME. The image is guaranteed to be destroyed before this macro exits.

Package

cl-gd.

Source

images.lisp.

Macro: with-image-from-gd2-part* ((file-name src-x src-y width height) &body body)

Creates an image from the part of the GD2 file FILE-NAME (which is either a pathname or a string) specified SRC-X, SRC-Y, WIDTH, and HEIGHT and executes BODY with the image bound to *DEFAULT-IMAGE*. The type of the image can be provied as TYPE or otherwise it will be guessed from the PATHNAME-TYPE of FILE-NAME. The image is guaranteed to be destroyed before this macro exits.

Package

cl-gd.

Source

images.lisp.

Macro: with-thickness ((thickness &key image) &body body)

Executes BODY with the current line width of IMAGE set to THICKNESS. The image’s previous line width is guaranteed to be restored before the macro exits. Note that the line width is measured in pixels and is not affected by WITH-TRANSFORMATION.

Package

cl-gd.

Source

colors.lisp.

Macro: with-transformation ((&key x1 x2 width y1 y2 height reverse-x reverse-y radians image) &body body)

Executes BODY such that all points and width/height data are subject to a simple affine transformation defined by the keyword parameters. The new x-axis of IMAGE will start at X1 and end at X2 and have length WIDTH. The new y-axis of IMAGE will start at Y1 and end at Y2 and have length HEIGHT. In both cases it suffices to provide two of the three values - if you provide all three they have to match. If REVERSE-X is false the x-axis will be oriented as usual in Cartesian coordinates, otherwise its direction will be reversed. The same applies to REVERSE-Y, of course. If RADIANS is true angles inside of BODY will be assumed to be provided in radians, otherwise in degrees.

Package

cl-gd.

Source

transform.lisp.

Macro: without-transformations (&body body)

Executes BODY without any transformations applied.

Package

cl-gd.

Source

transform.lisp.


5.1.4 Ordinary functions

Function: allocate-color (red green blue &key alpha errorp image)

Finds the first available color index in the image IMAGE specified, sets its RGB values to those requested (255 is the maximum for each), and returns the index of the new color table entry, or an RGBA value in the case of a true color image. In either case you can then use the returned value as a COLOR parameter to drawing functions. When creating a new palette-based image, the first time you invoke this function you are setting the background color for that image. If ALPHA (not greater than 127) is provided, an RGBA color will always be allocated. If all +GD-MAX-COLORS+ have already been allocated this function will, depending on the value of ERRORP, either raise an error or return NIL.

Package

cl-gd.

Source

colors.lisp.

Function: alpha-blending-p (&optional image)

Returns whether pixels drawn on IMAGE will be copied literally including alpha channel information (return value is false) or if their alpha channel information will determine how much of the underlying color will shine through (return value is true). This is only meaningful for true color images.

Package

cl-gd.

Source

colors.lisp.

Function: (setf alpha-blending-p) (&optional image)

Determines whether pixels drawn on IMAGE will be copied literally including alpha channel information (if BLENDING is false) or if their alpha channel information will determine how much of the underlying color will shine through (if BLENDING is true). This is only meaningful for true color images.

Package

cl-gd.

Source

colors.lisp.

Function: clipping-rectangle (&optional image)

Returns the clipping rectangle of IMAGE as a list of four elements.

Package

cl-gd.

Source

drawing.lisp.

Function: (setf clipping-rectangle) (&optional image)

Sets the clipping rectangle of IMAGE where rectangle should be a list (X1 Y1 X2 Y2).

Package

cl-gd.

Source

drawing.lisp.

Function: clipping-rectangle* (&optional image)

Returns the clipping rectangle of IMAGE as four values.

Package

cl-gd.

Source

drawing.lisp.

Function: color-component (component color &key image)

Returns the specified color component of COLOR. COMPONENT can be one of :RED, :GREEN, :BLUE, and :ALPHA.

Package

cl-gd.

Source

colors.lisp.

Function: color-components (color &key image)

Returns a list of the color components of COLOR. The components are in the order red, green, blue, alpha.

Package

cl-gd.

Source

colors.lisp.

Function: copy-image (source destination source-x source-y dest-x dest-y width height &key resample rotate angle resize dest-width dest-height merge merge-gray)

Copies (a part of) image SOURCE into image DESTINATION. Copies the rectangle with the upper left corner (SOURCE-X,SOURCE-Y) and size WIDTH x HEIGHT to the rectangle with the upper left corner (DEST-X,DEST-Y).

If RESAMPLE is true pixel colors will be smoothly interpolated. If RESIZE is true the copied rectangle will be strechted or shrinked so that its size is DEST-WIDTH x DEST-HEIGHT. If ROTATE is true the image will be rotated by ANGLE. In this particular case DEST-X and DEST-Y specify the CENTER of the copied image rather than its upper left corner! If MERGE is true it has to be an integer in the range 0-100 and the two images will be ’merged’ by the amount specified. If MERGE is 100 then the source image will simply be copied. If instead MERGE-GRAY is true the hue of the source image is preserved by converting the destination area to gray pixels before merging.

The keyword options RESAMPLE, ROTATE, RESIZE, MERGE, and MERGE-GRAY are mutually exclusive (with the exception of RESAMPLE and RESIZE). ANGLE is assumed to be specified in degrees if it’s an integer, and in radians otherwise.

Package

cl-gd.

Source

misc.lisp.

Function: copy-palette (source destination)

Copies palette of image SOURCE to image DESTINATION attempting to match the colors in the target image to the colors in the source palette.

Package

cl-gd.

Source

misc.lisp.

Function: create-image (width height &optional true-color)

Allocates and returns a GD image structure with size WIDTH x HEIGHT. Creates a true color image if TRUE-COLOR is true. You are responsible for destroying the image after you’re done with it. It is advisable to use WITH-IMAGE instead.

Package

cl-gd.

Source

images.lisp.

Function: create-image-from-file (file-name &optional type)

Creates an image from the file specified by FILE-NAME (which is either a pathname or a string). The type of the image can be provided as TYPE or otherwise it will be guessed from the PATHNAME-TYPE of FILE-NAME. You are responsible for destroying the image after you’re done with it. It is advisable to use WITH-IMAGE-FROM-FILE instead.

Package

cl-gd.

Source

images.lisp.

Function: create-image-from-gd2-part (file-name src-x src-y width height)

Creates an image from the part of the GD2 file FILE-NAME (which is either a pathname or a string) specified by SRC-X, SRC-Y, WIDTH, and HEIGHT. You are responsible for destroying the image after you’re done with it. It is advisable to use WITH-IMAGE-FROM-GD2-PART instead.

Package

cl-gd.

Source

images.lisp.

Function: deallocate-color (color &optional image)

Marks the specified color COLOR as being available for reuse. No attempt will be made to determine whether the color index is still in use in the image IMAGE.

Package

cl-gd.

Source

colors.lisp.

Function: destroy-image (image)

Destroys (deallocates) IMAGE which has been created by CREATE-IMAGE, CREATE-IMAGE-FROM-FILE, or CREATE-IMAGE-FROM-GD2-PART.

Package

cl-gd.

Source

images.lisp.

Function: differentp (image1 image2)

Returns false if the two images won’t appear different when displayed. Otherwise the return value is a list of keywords describing the differences between the images.

Package

cl-gd.

Source

misc.lisp.

Function: draw-arc (center-x center-y width height start end &key straight-line center-connect filled color image)

Draws a partial ellipse centered at (CENTER-X, CENTER-Y) with width WIDTH and height HEIGHT. The arc begins at angle START and ends at angle END. If STRAIGHT-LINE is true the start and end points are just connected with a straight line. If CENTER-CONNECT is true, they are connected to the center (which is useful to create ’pie slices’). If FILLED is true the arc will be filled with COLOR, otherwise it will be outlined.

Package

cl-gd.

Source

drawing.lisp.

Function: draw-character (x y char &key up font color image)

Draws the character CHAR from font FONT in color COLOR at position (X,Y). If UP is true the character will be drawn from bottom to top (rotated 90 degrees). FONT must be one of :TINY, :SMALL, :MEDIUM, :LARGE, :GIANT.

Package

cl-gd.

Source

strings.lisp.

Function: draw-filled-circle (center-x center-y radius &key color image)

Draws a filled circle centered at (CENTER-X, CENTER-Y) with radius RADIUS.

Package

cl-gd.

Source

drawing.lisp.

Function: draw-filled-ellipse (center-x center-y width height &key color image)

Draws a filled ellipse centered at (CENTER-X, CENTER-Y) with width WIDTH and height HEIGHT.

Package

cl-gd.

Source

drawing.lisp.

Function: draw-freetype-string (x y string &key anti-aliased point-size angle convert-chars line-spacing font-name do-not-draw color image)

Draws the string STRING in color COLOR at position (X,Y) using the FreeType library. FONT-NAME is the full path (a pathname or a string) to a TrueType font file, or a font face name if the GDFONTPATH environment variable or FreeType’s DEFAULT_FONTPATH variable have been set intelligently. The string may be arbitrarily scaled (POINT-SIZE) and rotated (ANGLE in radians). The direction of rotation is counter-clockwise, with 0 radians (0 degrees) at 3 o’clock and PI/2 radians (90 degrees) at 12 o’clock. Note that the ANGLE argument is purposefully _not_ affected by WITH-TRANSFORMATION. If ANTI-ALIASED if false, anti-aliasing is disabled. It is enabled by default. To output multiline text with a specific line spacing, provide a value for LINE-SPACING, expressed as a multiple of the font height. The default is to use 1.05. The string may contain XML character entity references like "À". If CONVERT-CHARS is true (which is the default) characters of STRING with CHAR-CODE greater than 127 are converted accordingly. This of course pre-supposes that your Lisp’s CHAR-CODE function returns ISO/IEC 10646 (Unicode) character codes.

The return value is an array containing 8 elements representing the 4 corner coordinates (lower left, lower right, upper right, upper left) of the bounding rectangle around the string that was drawn. The points are relative to the text regardless of the angle, so "upper left" means in the top left-hand corner seeing the text horizontally. Set DO-NOT-DRAW to true to get the bounding rectangle without rendering. This is a relatively cheap operation if followed by a rendering of the same string, because of the caching of the partial rendering during bounding rectangle calculation.

Package

cl-gd.

Source

strings.lisp.

Function: draw-line (x1 y1 x2 y2 &key color image)

Draws a line with color COLOR from point (X1,Y1) to point (X2,Y2).

Package

cl-gd.

Source

drawing.lisp.

Function: draw-rectangle (rectangle &key filled color image)

Draws a rectangle with upper left corner (X1,Y1) and lower right corner (X2,Y2) where RECTANGLE is the list (X1 Y1 X2 Y2). If FILLED is true the rectangle will be filled with COLOR, otherwise it will be outlined.

Package

cl-gd.

Source

drawing.lisp.

Function: draw-rectangle* (x1 y1 x2 y2 &key filled color image)

Draws a rectangle with upper left corner (X1,Y1) and lower right corner (X2,Y2). If FILLED is true the rectangle will be filled with COLOR, otherwise it will be outlined.

Package

cl-gd.

Source

drawing.lisp.

Function: draw-string (x y string &key up font color image)

Draws the string STRING in color COLOR at position (X,Y). If UP is true the character will be drawn from bottom to top (rotated 90 degrees). FONT must be one of :TINY, :SMALL, :MEDIUM, :LARGE, :GIANT.

Package

cl-gd.

Source

strings.lisp.

Function: fill-image (x y &key border color image)

Floods a portion of the image IMAGE with the color COLOR beginning at point (X, Y) and extending into the surrounding region. If BORDER is true it must be a color and the filling will stop at the specified border color. Otherwise only points with the same color as the starting point will be colored.

Package

cl-gd.

Source

drawing.lisp.

Function: find-color (red green blue &key alpha exact hwb resolve image)

Tries to find and/or allocate a color from IMAGE’s color
palette. If EXACT is true, the color will only be returned if it is already allocated. If EXACT is NIL, a color which is ’close’ to the color specified by RED, GREEN, and BLUE (and probably ALPHA) might be returned (unless there aren’t any colors allocated in the image yet). If HWB is true, the ’closeness’ will be determined by hue, whiteness, and blackness, otherwise by the Euclidian distance of the RGB values. If RESOLVE is true a color (probably a new one) will always be returned, otherwise the result of this function might be NIL. If ALPHA (not greater than 127) is provided, an RGBA color (or NIL) will be returned.

ALPHA, EXACT, and HWB are mutually exclusive. RESOLVE can’t be used together with EXACT or HWB.

Package

cl-gd.

Source

colors.lisp.

Function: find-color-from-image (color source-image &key alpha exact hwb resolve image)

Returns the color in IMAGE corresponding to COLOR in SOURCE-IMAGE. The keyword parameters are passed to FIND-COLOR.

Package

cl-gd.

Source

colors.lisp.

Function: get-pixel (x y &key image)

Gets the color associated with point (X,Y).

Package

cl-gd.

Source

drawing.lisp.

Function: image-height (&optional image)
Package

cl-gd.

Source

images.lisp.

Function: image-size (&optional image)
Package

cl-gd.

Source

images.lisp.

Function: image-width (&optional image)

Returns width of IMAGE.

Package

cl-gd.

Source

images.lisp.

Function: interlacedp (&optional image)

Returns whether IMAGE will be stored in an interlaced fashion.

Package

cl-gd.

Source

misc.lisp.

Function: (setf interlacedp) (&optional image)

Sets whether IMAGE will be stored in an interlaced fashion.

Package

cl-gd.

Source

misc.lisp.

Function: make-anti-aliased (color &optional do-not-blend)
Package

cl-gd.

Source

specials.lisp.

Function: make-brush (image)
Package

cl-gd.

Source

specials.lisp.

Function: make-tile (image)
Package

cl-gd.

Source

specials.lisp.

Function: number-of-colors (&key image)

Returns the number of color allocated in IMAGE. Returns NIL if IMAGE is a true color image.

Package

cl-gd.

Source

colors.lisp.

Function: save-alpha-p (&optional image)

Returns whether PNG images will be saved with full alpha channel information.

Package

cl-gd.

Source

colors.lisp.

Function: (setf save-alpha-p) (&optional image)

Determines whether PNG images will be saved with full alpha channel information.

Package

cl-gd.

Source

colors.lisp.

Function: set-clipping-rectangle* (x1 y1 x2 y2 &optional image)

Sets the clipping rectangle of IMAGE to be the rectangle with upper left corner (X1, Y1) and lower right corner (X2, Y2).

Package

cl-gd.

Source

drawing.lisp.

Function: set-pixel (x y &key color image)

Draws a pixel with color COLOR at point (X,Y).

Package

cl-gd.

Source

drawing.lisp.

Function: thickness (&optional image)

Gets the width of lines drawn by the drawing functions. Note that this is measured in pixels and is NOT affected by WITH-TRANSFORMATION.

Package

cl-gd.

Source

colors.lisp.

Function: (setf thickness) (&optional image)

Sets the width of lines drawn by the drawing functions. Note that THICKNESS is measured in pixels and is NOT affected by WITH-TRANSFORMATION.

Package

cl-gd.

Source

colors.lisp.

Function: transparent-color (&optional image)

Returns the transparent color of IMAGE (or NIL if there is none).

Package

cl-gd.

Source

colors.lisp.

Function: (setf transparent-color) (&optional image)

Makes COLOR the transparent color of IMAGE. If COLOR is NIL the image won’t have a transparent color. Note that JPEG images don’t support transparency.

Package

cl-gd.

Source

colors.lisp.

Function: true-color-p (&optional image)

Returns true iff IMAGE is a true color image.

Package

cl-gd.

Source

colors.lisp.

Function: true-color-to-palette (&key dither colors-wanted image)

Converts the true color image IMAGE to a palette-based image using a high-quality two-pass quantization routine. If DITHER is true, the image will be dithered to approximate colors better, at the expense of some obvious "speckling." COLORS-WANTED can be any positive integer up to 256 (which is the default). If the original source image includes photographic information or anything that came out of a JPEG, 256 is strongly recommended. 100% transparency of a single transparent color in the original true color image will be preserved. There is no other support for preservation of alpha channel or transparency in the destination image.

Package

cl-gd.

Source

misc.lisp.

Function: write-gd-to-stream (stream &key image)

Writes image IMAGE to stream STREAM as GD. STREAM
must be a character stream or a binary stream of element type (UNSIGNED-BYTE 8). If STREAM is a character stream, the user of this function has to make sure the external format yields faithful output of all 8-bit characters.

Package

cl-gd.

Source

images.lisp.

Function: write-gd2-to-stream (stream &key image)

Writes image IMAGE to stream STREAM as GD2. STREAM
must be a character stream or a binary stream of element type (UNSIGNED-BYTE 8). If STREAM is a character stream, the user of this function has to make sure the external format yields faithful output of all 8-bit characters.

Package

cl-gd.

Source

images.lisp.

Function: write-gif-to-stream (stream &key image)

Writes image IMAGE to stream STREAM as GIF. STREAM
must be a character stream or a binary stream of element type (UNSIGNED-BYTE 8). If STREAM is a character stream, the user of this function has to make sure the external format yields faithful output of all 8-bit characters.

Package

cl-gd.

Source

images.lisp.

Function: write-image-to-file (file-name &rest rest &key type if-exists &allow-other-keys)

Writes image to the file specified by FILE-NAME (a pathname or a string). The TYPE argument is interpreted as in WRITE-IMAGE-TO-STREAM. If it is not provided it is guessed from the PATHNAME-TYPE of FILE-NAME. The IF-EXISTS keyword argument is given to OPEN. Other keyword argument like QUALITY or COMPRESSION-LEVEL can be provided depending on the images’s type.

Package

cl-gd.

Source

images.lisp.

Function: write-image-to-stream (stream type &rest rest &key &allow-other-keys)

Writes image to STREAM. The type of the image is determined by TYPE which must be one of :JPG, :JPEG, :PNG, :WBMP, :GD, or :GD2. STREAM must be a character stream or a binary stream of element type (UNSIGNED-BYTE 8). If STREAM is a character stream, the user of this function has to make sure the external format yields faithful output of all 8-bit characters.

Package

cl-gd.

Source

images.lisp.

Function: write-jpeg-to-stream (stream &key quality image)

Writes image IMAGE to stream STREAM as JPEG. If
QUALITY is not specified, the default IJG JPEG quality value is used. Otherwise, for practical purposes, quality should be a value in the range 0-95. STREAM must be a character stream or a binary stream of element type (UNSIGNED-BYTE 8). If STREAM is a character stream, the user of this function has to make sure the external format is yields faithful output of all 8-bit characters.

Package

cl-gd.

Source

images.lisp.

Function: write-png-to-stream (stream &key compression-level image)

Writes image IMAGE to stream STREAM as PNG. If
COMPRESSION-LEVEL is not specified, the default compression level at the time zlib was compiled on your system will be used. Otherwise, a compression level of 0 means ’no compression’, a compression level of 1 means ’compressed, but as quickly as possible’, a compression level of 9 means ’compressed as much as possible to produce the smallest possible file.’ STREAM must be a character stream or a binary stream of element type (UNSIGNED-BYTE 8). If STREAM is a character stream, the user of this function has to make sure the external format yields faithful output of all 8-bit characters.

Package

cl-gd.

Source

images.lisp.

Function: write-wbmp-to-stream (stream &key foreground image)

Writes image IMAGE to stream STREAM as WBMP. STREAM
must be a character stream or a binary stream of element type (UNSIGNED-BYTE 8). If STREAM is a character stream, the user of this function has to make sure the external format yields faithful output of all 8-bit characters. WBMP file support is black and white only. The color index specified by the FOREGOUND argument is the "foreground," and only pixels of this color will be set in the WBMP file

Package

cl-gd.

Source

images.lisp.


5.1.5 Generic functions

Generic Function: draw-polygon (vertices &key filled start end color image)

Draws a polygon with the VERTICES (at least three)
specified as a list (x1 y1 x2 y2 ...) or as a vector #(x1 y1 x2 y2 ...). If FILLED is true the polygon will be filled with COLOR, otherwise it will be outlined. If START and/or END are specified then only the corresponding part of VERTICES is used as input.

Package

cl-gd.

Source

drawing.lisp.

Methods
Method: draw-polygon ((vertices list) &key filled start end color image)
Method: draw-polygon ((vertices vector) &key filled start end color image)
Generic Function: set-pixels (points &key color image)

Draws a list (X1 Y1 X2 Y2 ...) or vector #(X1 Y1 X2 Y2 ...) of pixels.

Package

cl-gd.

Source

drawing.lisp.

Methods
Method: set-pixels ((points vector) &key color image)
Method: set-pixels ((points list) &key color image)

5.1.6 Standalone methods

Method: print-object ((image image) stream)
Source

images.lisp.


5.2 Internals


5.2.1 Constants

Constant: +anti-aliased+

Special ’color’ for anti-aliased lines.

Package

cl-gd.

Source

specials.lisp.

Constant: +brushed+

Special ’color’ for lines drawn with brush.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-chord+

Used internally by GD-FILLED-ARC

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-background+

Background color is different.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-color+

Image colors differ.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-image+

Images will appear different when displayed.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-interlace+

Interlace settings are different.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-num-colors+

Number of colors in palette differ.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-size-x+

Image widths differ.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-size-y+

Image heights differ.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-transparent+

Transparent color is different.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-cmp-true-color+

One image is a true-color image, the other one is palette-based.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-disposal-none+
Package

cl-gd.

Source

specials.lisp.

Constant: +gd-disposal-restore-background+
Package

cl-gd.

Source

specials.lisp.

Constant: +gd-disposal-restore-previous+
Package

cl-gd.

Source

specials.lisp.

Constant: +gd-disposal-unknown+
Package

cl-gd.

Source

specials.lisp.

Constant: +gd-edged+

Used internally by GD-FILLED-ARC

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-ftex-linespace+

Indicate line-spacing for FreeType library.

Package

cl-gd.

Source

specials.lisp.

Constant: +gd-no-fill+

Used internally by GD-FILLED-ARC

Package

cl-gd.

Source

specials.lisp.

Constant: +most-positive-unsigned-byte-32+

Name says it all...

Package

cl-gd.

Source

specials.lisp.

Constant: +radians-to-degree-factor+

Factor to convert from radians to degrees.

Package

cl-gd.

Source

specials.lisp.

Constant: +styled+

Special ’color’ for styled lines.

Package

cl-gd.

Source

specials.lisp.

Constant: +styled-brushed+

Special ’color’ for lines drawn with styled brush.

Package

cl-gd.

Source

specials.lisp.

Constant: +tiled+

Special fill ’color’ used for tiles.

Package

cl-gd.

Source

specials.lisp.

Constant: +transparent+

Special ’color’ used in GD function ’gdImageSetStyle’ for transparent color.

Package

cl-gd.

Source

specials.lisp.


5.2.2 Special variables

Special Variable: *current-animation*
Package

cl-gd.

Source

animated-gif.lisp.

Special Variable: *gd-supporting-libraries*

The libraries which are needed by cl-gd-glues.so (and GD itself). Only needed for Python-based Lisps like CMUCL, SBCL, or SCL.

Package

cl-gd.

Source

specials.lisp.

Special Variable: *hyperdoc-base-uri*
Package

cl-gd.

Source

specials.lisp.

Special Variable: *null-image*

A ’null’ image which might be useful for DRAW-FREETYPE-STRING.

Package

cl-gd.

Source

specials.lisp.

Special Variable: *shared-library-directories*

A list of directories where UFFI tries to find cl-gd-glue.so

Package

cl-gd.

Source

specials.lisp.

Special Variable: *shared-library-drive-letters*

The list of drive letters (used by Wintendo) used when looking for cl-gd-glue.dll.

Package

cl-gd.

Source

specials.lisp.

Special Variable: *shared-library-types*

The list of types a shared library can have. Used when looking for cl-gd-glue.so

Package

cl-gd.

Source

specials.lisp.

Special Variable: *transformers*

Stack of currently active transformer objects.

Package

cl-gd.

Source

specials.lisp.


5.2.3 Macros

Macro: make-stream-fn (name signature gd-call type-checks docstring)

Internal macro used to generate WRITE-JPEG-TO-STREAM and friends.

Package

cl-gd.

Source

images.lisp.

Macro: with-animated-gif ((filename &key background-image global-color-map-p loop-count animation default-delay) &body body)
Package

cl-gd.

Source

animated-gif.lisp.

Macro: with-color-argument (&body body)

Internal macro used to give correct color arguments to enclosed foreign functions. Assumes fixed names COLOR and IMAGE.

Package

cl-gd.

Source

colors-aux.lisp.

Macro: with-rebinding (bindings &body body)

REBINDING ( { var | (var prefix) }* ) form*

Evaluates a series of forms in the lexical environment that is formed by adding the binding of each VAR to a fresh, uninterned symbol, and the binding of that fresh, uninterned symbol to VAR’s original value, i.e., its value in the current lexical environment.

The uninterned symbol is created as if by a call to GENSYM with the string denoted by PREFIX - or, if PREFIX is not supplied, the string denoted by VAR - as argument.

The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).

Package

cl-gd.

Source

util.lisp.

Macro: with-safe-alloc ((var alloc free) &rest body)
Package

cl-gd.

Source

util.lisp.

Macro: with-transformed-alternative ((&rest transformations) &body body)

Internal macro used to make functions transformation-aware. TRANSFORMATION is a list of (EXPR TRANSFORMATION) pairs where each EXPR will be replaced by the transformation denoted by TRANSFORMATION.

Package

cl-gd.

Source

transform.lisp.

Macro: with-unique-names ((&rest bindings) &body body)

Syntax: WITH-UNIQUE-NAMES ( { var | (var x) }* ) declaration* form*

Executes a series of forms with each VAR bound to a fresh, uninterned symbol. The uninterned symbol is as if returned by a call to GENSYM with the string denoted by X - or, if X is not supplied, the string denoted by VAR - as argument.

The variable bindings created are lexical unless special declarations are specified. The scopes of the name bindings and declarations do not include the Xs.

The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).

Package

cl-gd.

Source

util.lisp.


5.2.4 Ordinary functions

Function: %make-anti-aliased (color do-not-blend)
Package

cl-gd.

Source

specials.lisp.

Function: %make-brush (img)
Package

cl-gd.

Source

specials.lisp.

Function: %make-tile (img)
Package

cl-gd.

Source

specials.lisp.

Function: add-image-to-animation (image &key local-color-map-p left-offset top-offset delay disposal last-image animation)
Package

cl-gd.

Source

animated-gif.lisp.

Function: anti-aliased-color-p (object)
Package

cl-gd.

Source

specials.lisp.

Function: brush-img (instance)
Package

cl-gd.

Source

specials.lisp.

Function: (setf brush-img) (instance)
Package

cl-gd.

Source

specials.lisp.

Function: brush-p (object)
Package

cl-gd.

Source

specials.lisp.

Reader: color (instance)
Writer: (setf color) (instance)
Package

cl-gd.

Source

specials.lisp.

Target Slot

color.

Function: convert-to-char-references (string)

Returns a string where all characters of STRING with CHAR-CODE greater than 127 are converted to XML character entities.

Package

cl-gd.

Source

util.lisp.

Function: current-brush (&optional image)

Returns the GD image which is the current brush of IMAGE (or NIL if there is no current brush).

Package

cl-gd.

Source

colors-aux.lisp.

Function: (setf current-brush) (&optional image)

Sets BRUSH (which must be a GD image) to be the current brush for IMAGE.

Package

cl-gd.

Source

colors-aux.lisp.

Function: current-style (&optional image)

Returns the current style of IMAGE as a list.

Package

cl-gd.

Source

colors-aux.lisp.

Function: current-style* (&key image)

Returns the current style of IMAGE as an array.

Package

cl-gd.

Source

colors-aux.lisp.

Function: current-tile (&optional image)

Returns the GD image which is the current tile of IMAGE (or NIL if there is no current tile).

Package

cl-gd.

Source

colors-aux.lisp.

Function: (setf current-tile) (&optional image)

Sets TILE (which must be a GD image) to be the current tile for IMAGE.

Package

cl-gd.

Source

colors-aux.lisp.

Reader: do-not-blend (instance)
Writer: (setf do-not-blend) (instance)
Package

cl-gd.

Source

specials.lisp.

Target Slot

do-not-blend.

Function: gd-free (ptr)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-alpha-blending (im blending)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-arc (im cx cy w h s e color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-bounds-safe (im x y)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-char (im f x y c color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-char-up (im f x y c color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-allocate (im r g b)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-allocate-alpha (im r g b a)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-closest (im r g b)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-closest-alpha (im r g b a)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-closest-hwb (im r g b)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-deallocate (im color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-exact (im r g b)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-resolve (im r g b)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-resolve-alpha (im r g b a)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-color-transparent (im color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-compare (im1 im2)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-copy (dst src dest-x dest-y src-x src-y w h)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-copy-merge (dst src dest-x dest-y src-x src-y w h percent)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-copy-merge-gray (dst src dest-x dest-y src-x src-y w h percent)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-copy-resampled (dst src dst-x dst-y src-x src-y dest-w dest-h src-w src-h)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-copy-resized (dst src dst-x dst-y src-x src-y dest-w dest-h src-w src-h)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-copy-rotated (dst src dst-x dst-y src-x src-y src-w src-h angle)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create (sx sy)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-gd-file (filename err)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-gd2-file (filename err)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-gd2-part-file (filename err src-x src-y w h)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-gif-file (filename err)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-jpeg-file (filename err)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-png-file (filename err)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-xbm-file (filename err)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-from-xpm (filename)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-create-true-color (sx sy)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-destroy (im)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-fill (im x y color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-fill-to-border (im x y border color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-filled-arc (im cx cy w h s e color style)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-filled-ellipse (im cx cy w h color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-filled-polygon (im points points-total color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-filled-rectangle (im x1 y1 x2 y2 color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-gd-ptr (im size)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-gd2-ptr (im size)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-alpha (im color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-blue (im color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-clip (im x1p y1p x2p y2p)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-colors-total (im)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-green (im color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-interlaced (im)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-pixel (im x y)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-red (im color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-sx (im)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-sy (im)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-get-transparent (im)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-gif-anim-add (im out local-cm left-ofs top-ofs delay disposal previm)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-gif-anim-begin-wrap (im filename global-cm loops)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-gif-anim-end-wrap (out)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-gif-ptr (im size)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-interlace (im interlace)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-jpeg-ptr (im size quality)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-line (im x1 y1 x2 y2 color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-palette-copy (dst src)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-png-ptr (im size)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-png-ptr-ex (im size level)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-polygon (im points points-total color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-rectangle (im x1 y1 x2 y2 color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-save-alpha (im save-flag)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-anti-aliased (im c)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-anti-aliased-do-not-blend (im c dont-blend)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-brush (im brush)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-clip (im x1 y1 x2 y2)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-pixel (im x y color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-style (im style style-length)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-thickness (im thickness)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-set-tile (im tile)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-string (im f x y s color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-string-ft (im brect fg fontname ptsize angle x y string)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-string-ft-ex (im brect fg fontname ptsize angle x y string strex)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-string-up (im f x y s color)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-true-color-to-palette (im dither colors-wanted)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: gd-image-wbmp-ptr (im size fg)
Package

cl-gd.

Source

gd-uffi.lisp.

Function: hyperdoc-lookup (symbol type)
Package

cl-gd.

Source

specials.lisp.

Function: image-p (object)
Package

cl-gd.

Source

specials.lisp.

Reader: img (instance)
Writer: (setf img) (instance)
Package

cl-gd.

Source

specials.lisp.

Target Slot

img.

Function: load-gd-glue ()

Load the little glue library we have to create for the image input functions.

Package

cl-gd.

Source

init.lisp.

Function: make-image (img)
Package

cl-gd.

Source

specials.lisp.

Function: resolve-c-color (color image)

Accepts a CL-GD ’color’ COLOR and returns the corresponding argument for GD, modifying internal slots of IMAGE if needed.

Package

cl-gd.

Source

colors-aux.lisp.

Function: round-to-signed-byte-32 (x)

Like ROUND but make sure result isn’t longer than 32 bits.

Package

cl-gd.

Source

transform.lisp.

Function: sans (plist &rest keys)

Returns PLIST with keyword arguments from KEYS removed.

Package

cl-gd.

Source

util.lisp.

Function: set-anti-aliased (color do-not-blend &optional image)

Set COLOR to be the current anti-aliased color of IMAGE. DO-NOT-BLEND (if provided) is the background color anti-aliased lines stand out against clearly.

Package

cl-gd.

Source

colors-aux.lisp.

Function: tile-img (instance)
Package

cl-gd.

Source

specials.lisp.

Function: (setf tile-img) (instance)
Package

cl-gd.

Source

specials.lisp.

Function: tile-p (object)
Package

cl-gd.

Source

specials.lisp.


5.2.5 Generic functions

Generic Reader: angle-transformer (object)
Package

cl-gd.

Methods
Reader Method: angle-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

angle-transformer.

Generic Function: (setf current-style) (&optional image)

Sets STYLE to be the current drawing style for
IMAGE. STYLE can be a LIST or a VECTOR. Each element of STYLE is either a color or NIL (for transparent pixels).

Package

cl-gd.

Source

colors-aux.lisp.

Methods
Method: (setf current-style) (&optional image)
Method: (setf current-style) (&optional image)
Generic Reader: h-inv-transformer (object)
Package

cl-gd.

Methods
Reader Method: h-inv-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

h-inv-transformer.

Generic Reader: h-transformer (object)
Package

cl-gd.

Methods
Reader Method: h-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

h-transformer.

Generic Reader: image (object)
Package

cl-gd.

Methods
Reader Method: image ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

image.

Generic Reader: w-inv-transformer (object)
Package

cl-gd.

Methods
Reader Method: w-inv-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

w-inv-transformer.

Generic Reader: w-transformer (object)
Package

cl-gd.

Methods
Reader Method: w-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

w-transformer.

Generic Reader: x-inv-transformer (object)
Package

cl-gd.

Methods
Reader Method: x-inv-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

x-inv-transformer.

Generic Reader: x-transformer (object)
Package

cl-gd.

Methods
Reader Method: x-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

x-transformer.

Generic Reader: y-inv-transformer (object)
Package

cl-gd.

Methods
Reader Method: y-inv-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

y-inv-transformer.

Generic Reader: y-transformer (object)
Package

cl-gd.

Methods
Reader Method: y-transformer ((transformer transformer))

automatically generated reader method

Source

transform.lisp.

Target Slot

y-transformer.


5.2.6 Structures

Structure: anti-aliased-color
Package

cl-gd.

Source

specials.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: color
Readers

color.

Writers

(setf color).

Slot: do-not-blend
Readers

do-not-blend.

Writers

(setf do-not-blend).

Structure: brush
Package

cl-gd.

Source

specials.lisp.

Direct superclasses

image.

Structure: image
Package

cl-gd.

Source

specials.lisp.

Direct superclasses

structure-object.

Direct subclasses
Direct methods

print-object.

Direct slots
Slot: img
Readers

img.

Writers

(setf img).

Structure: tile
Package

cl-gd.

Source

specials.lisp.

Direct superclasses

image.


5.2.7 Classes

Class: transformer

Class used internally for WITH-TRANSFORMATION macro.

Package

cl-gd.

Source

transform.lisp.

Direct methods
Direct slots
Slot: image
Initargs

:image

Readers

image.

Writers

This slot is read-only.

Slot: w-transformer
Type

function

Initargs

:w-transformer

Readers

w-transformer.

Writers

This slot is read-only.

Slot: h-transformer
Type

function

Initargs

:h-transformer

Readers

h-transformer.

Writers

This slot is read-only.

Slot: x-transformer
Type

function

Initargs

:x-transformer

Readers

x-transformer.

Writers

This slot is read-only.

Slot: y-transformer
Type

function

Initargs

:y-transformer

Readers

y-transformer.

Writers

This slot is read-only.

Slot: w-inv-transformer
Type

function

Initargs

:w-inv-transformer

Readers

w-inv-transformer.

Writers

This slot is read-only.

Slot: h-inv-transformer
Type

function

Initargs

:h-inv-transformer

Readers

h-inv-transformer.

Writers

This slot is read-only.

Slot: x-inv-transformer
Type

function

Initargs

:x-inv-transformer

Readers

x-inv-transformer.

Writers

This slot is read-only.

Slot: y-inv-transformer
Type

function

Initargs

:y-inv-transformer

Readers

y-inv-transformer.

Writers

This slot is read-only.

Slot: angle-transformer
Type

function

Initargs

:angle-transformer

Readers

angle-transformer.

Writers

This slot is read-only.


5.2.8 Types

Type: pixels-array ()
Package

cl-gd.

Source

gd-uffi.lisp.

Type: pixels-row ()
Package

cl-gd.

Source

gd-uffi.lisp.

Type: t-pixels-array ()
Package

cl-gd.

Source

gd-uffi.lisp.

Type: t-pixels-row ()
Package

cl-gd.

Source

gd-uffi.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   F   G   H   I   L   M   N   P   R   S   T   W   X   Y  
Index Entry  Section

%
%make-anti-aliased: Private ordinary functions
%make-brush: Private ordinary functions
%make-tile: Private ordinary functions

(
(setf alpha-blending-p): Public ordinary functions
(setf brush-img): Private ordinary functions
(setf clipping-rectangle): Public ordinary functions
(setf color): Private ordinary functions
(setf current-brush): Private ordinary functions
(setf current-style): Private generic functions
(setf current-style): Private generic functions
(setf current-style): Private generic functions
(setf current-tile): Private ordinary functions
(setf do-not-blend): Private ordinary functions
(setf img): Private ordinary functions
(setf interlacedp): Public ordinary functions
(setf save-alpha-p): Public ordinary functions
(setf thickness): Public ordinary functions
(setf tile-img): Private ordinary functions
(setf transparent-color): Public ordinary functions

A
add-image-to-animation: Private ordinary functions
allocate-color: Public ordinary functions
alpha-blending-p: Public ordinary functions
angle-transformer: Private generic functions
angle-transformer: Private generic functions
anti-aliased-color-p: Private ordinary functions

B
brush-img: Private ordinary functions
brush-p: Private ordinary functions

C
clipping-rectangle: Public ordinary functions
clipping-rectangle*: Public ordinary functions
color: Private ordinary functions
color-component: Public ordinary functions
color-components: Public ordinary functions
convert-to-char-references: Private ordinary functions
copy-image: Public ordinary functions
copy-palette: Public ordinary functions
create-image: Public ordinary functions
create-image-from-file: Public ordinary functions
create-image-from-gd2-part: Public ordinary functions
current-brush: Private ordinary functions
current-style: Private ordinary functions
current-style*: Private ordinary functions
current-tile: Private ordinary functions

D
deallocate-color: Public ordinary functions
destroy-image: Public ordinary functions
differentp: Public ordinary functions
do-not-blend: Private ordinary functions
do-pixels: Public macros
do-rows: Public macros
draw-arc: Public ordinary functions
draw-character: Public ordinary functions
draw-filled-circle: Public ordinary functions
draw-filled-ellipse: Public ordinary functions
draw-freetype-string: Public ordinary functions
draw-line: Public ordinary functions
draw-polygon: Public generic functions
draw-polygon: Public generic functions
draw-polygon: Public generic functions
draw-rectangle: Public ordinary functions
draw-rectangle*: Public ordinary functions
draw-string: Public ordinary functions

F
fill-image: Public ordinary functions
find-color: Public ordinary functions
find-color-from-image: Public ordinary functions
Function, %make-anti-aliased: Private ordinary functions
Function, %make-brush: Private ordinary functions
Function, %make-tile: Private ordinary functions
Function, (setf alpha-blending-p): Public ordinary functions
Function, (setf brush-img): Private ordinary functions
Function, (setf clipping-rectangle): Public ordinary functions
Function, (setf color): Private ordinary functions
Function, (setf current-brush): Private ordinary functions
Function, (setf current-tile): Private ordinary functions
Function, (setf do-not-blend): Private ordinary functions
Function, (setf img): Private ordinary functions
Function, (setf interlacedp): Public ordinary functions
Function, (setf save-alpha-p): Public ordinary functions
Function, (setf thickness): Public ordinary functions
Function, (setf tile-img): Private ordinary functions
Function, (setf transparent-color): Public ordinary functions
Function, add-image-to-animation: Private ordinary functions
Function, allocate-color: Public ordinary functions
Function, alpha-blending-p: Public ordinary functions
Function, anti-aliased-color-p: Private ordinary functions
Function, brush-img: Private ordinary functions
Function, brush-p: Private ordinary functions
Function, clipping-rectangle: Public ordinary functions
Function, clipping-rectangle*: Public ordinary functions
Function, color: Private ordinary functions
Function, color-component: Public ordinary functions
Function, color-components: Public ordinary functions
Function, convert-to-char-references: Private ordinary functions
Function, copy-image: Public ordinary functions
Function, copy-palette: Public ordinary functions
Function, create-image: Public ordinary functions
Function, create-image-from-file: Public ordinary functions
Function, create-image-from-gd2-part: Public ordinary functions
Function, current-brush: Private ordinary functions
Function, current-style: Private ordinary functions
Function, current-style*: Private ordinary functions
Function, current-tile: Private ordinary functions
Function, deallocate-color: Public ordinary functions
Function, destroy-image: Public ordinary functions
Function, differentp: Public ordinary functions
Function, do-not-blend: Private ordinary functions
Function, draw-arc: Public ordinary functions
Function, draw-character: Public ordinary functions
Function, draw-filled-circle: Public ordinary functions
Function, draw-filled-ellipse: Public ordinary functions
Function, draw-freetype-string: Public ordinary functions
Function, draw-line: Public ordinary functions
Function, draw-rectangle: Public ordinary functions
Function, draw-rectangle*: Public ordinary functions
Function, draw-string: Public ordinary functions
Function, fill-image: Public ordinary functions
Function, find-color: Public ordinary functions
Function, find-color-from-image: Public ordinary functions
Function, gd-free: Private ordinary functions
Function, gd-image-alpha-blending: Private ordinary functions
Function, gd-image-arc: Private ordinary functions
Function, gd-image-bounds-safe: Private ordinary functions
Function, gd-image-char: Private ordinary functions
Function, gd-image-char-up: Private ordinary functions
Function, gd-image-color-allocate: Private ordinary functions
Function, gd-image-color-allocate-alpha: Private ordinary functions
Function, gd-image-color-closest: Private ordinary functions
Function, gd-image-color-closest-alpha: Private ordinary functions
Function, gd-image-color-closest-hwb: Private ordinary functions
Function, gd-image-color-deallocate: Private ordinary functions
Function, gd-image-color-exact: Private ordinary functions
Function, gd-image-color-resolve: Private ordinary functions
Function, gd-image-color-resolve-alpha: Private ordinary functions
Function, gd-image-color-transparent: Private ordinary functions
Function, gd-image-compare: Private ordinary functions
Function, gd-image-copy: Private ordinary functions
Function, gd-image-copy-merge: Private ordinary functions
Function, gd-image-copy-merge-gray: Private ordinary functions
Function, gd-image-copy-resampled: Private ordinary functions
Function, gd-image-copy-resized: Private ordinary functions
Function, gd-image-copy-rotated: Private ordinary functions
Function, gd-image-create: Private ordinary functions
Function, gd-image-create-from-gd-file: Private ordinary functions
Function, gd-image-create-from-gd2-file: Private ordinary functions
Function, gd-image-create-from-gd2-part-file: Private ordinary functions
Function, gd-image-create-from-gif-file: Private ordinary functions
Function, gd-image-create-from-jpeg-file: Private ordinary functions
Function, gd-image-create-from-png-file: Private ordinary functions
Function, gd-image-create-from-xbm-file: Private ordinary functions
Function, gd-image-create-from-xpm: Private ordinary functions
Function, gd-image-create-true-color: Private ordinary functions
Function, gd-image-destroy: Private ordinary functions
Function, gd-image-fill: Private ordinary functions
Function, gd-image-fill-to-border: Private ordinary functions
Function, gd-image-filled-arc: Private ordinary functions
Function, gd-image-filled-ellipse: Private ordinary functions
Function, gd-image-filled-polygon: Private ordinary functions
Function, gd-image-filled-rectangle: Private ordinary functions
Function, gd-image-gd-ptr: Private ordinary functions
Function, gd-image-gd2-ptr: Private ordinary functions
Function, gd-image-get-alpha: Private ordinary functions
Function, gd-image-get-blue: Private ordinary functions
Function, gd-image-get-clip: Private ordinary functions
Function, gd-image-get-colors-total: Private ordinary functions
Function, gd-image-get-green: Private ordinary functions
Function, gd-image-get-interlaced: Private ordinary functions
Function, gd-image-get-pixel: Private ordinary functions
Function, gd-image-get-red: Private ordinary functions
Function, gd-image-get-sx: Private ordinary functions
Function, gd-image-get-sy: Private ordinary functions
Function, gd-image-get-transparent: Private ordinary functions
Function, gd-image-gif-anim-add: Private ordinary functions
Function, gd-image-gif-anim-begin-wrap: Private ordinary functions
Function, gd-image-gif-anim-end-wrap: Private ordinary functions
Function, gd-image-gif-ptr: Private ordinary functions
Function, gd-image-interlace: Private ordinary functions
Function, gd-image-jpeg-ptr: Private ordinary functions
Function, gd-image-line: Private ordinary functions
Function, gd-image-palette-copy: Private ordinary functions
Function, gd-image-png-ptr: Private ordinary functions
Function, gd-image-png-ptr-ex: Private ordinary functions
Function, gd-image-polygon: Private ordinary functions
Function, gd-image-rectangle: Private ordinary functions
Function, gd-image-save-alpha: Private ordinary functions
Function, gd-image-set-anti-aliased: Private ordinary functions
Function, gd-image-set-anti-aliased-do-not-blend: Private ordinary functions
Function, gd-image-set-brush: Private ordinary functions
Function, gd-image-set-clip: Private ordinary functions
Function, gd-image-set-pixel: Private ordinary functions
Function, gd-image-set-style: Private ordinary functions
Function, gd-image-set-thickness: Private ordinary functions
Function, gd-image-set-tile: Private ordinary functions
Function, gd-image-string: Private ordinary functions
Function, gd-image-string-ft: Private ordinary functions
Function, gd-image-string-ft-ex: Private ordinary functions
Function, gd-image-string-up: Private ordinary functions
Function, gd-image-true-color-to-palette: Private ordinary functions
Function, gd-image-wbmp-ptr: Private ordinary functions
Function, get-pixel: Public ordinary functions
Function, hyperdoc-lookup: Private ordinary functions
Function, image-height: Public ordinary functions
Function, image-p: Private ordinary functions
Function, image-size: Public ordinary functions
Function, image-width: Public ordinary functions
Function, img: Private ordinary functions
Function, interlacedp: Public ordinary functions
Function, load-gd-glue: Private ordinary functions
Function, make-anti-aliased: Public ordinary functions
Function, make-brush: Public ordinary functions
Function, make-image: Private ordinary functions
Function, make-tile: Public ordinary functions
Function, number-of-colors: Public ordinary functions
Function, resolve-c-color: Private ordinary functions
Function, round-to-signed-byte-32: Private ordinary functions
Function, sans: Private ordinary functions
Function, save-alpha-p: Public ordinary functions
Function, set-anti-aliased: Private ordinary functions
Function, set-clipping-rectangle*: Public ordinary functions
Function, set-pixel: Public ordinary functions
Function, thickness: Public ordinary functions
Function, tile-img: Private ordinary functions
Function, tile-p: Private ordinary functions
Function, transparent-color: Public ordinary functions
Function, true-color-p: Public ordinary functions
Function, true-color-to-palette: Public ordinary functions
Function, write-gd-to-stream: Public ordinary functions
Function, write-gd2-to-stream: Public ordinary functions
Function, write-gif-to-stream: Public ordinary functions
Function, write-image-to-file: Public ordinary functions
Function, write-image-to-stream: Public ordinary functions
Function, write-jpeg-to-stream: Public ordinary functions
Function, write-png-to-stream: Public ordinary functions
Function, write-wbmp-to-stream: Public ordinary functions

G
gd-free: Private ordinary functions
gd-image-alpha-blending: Private ordinary functions
gd-image-arc: Private ordinary functions
gd-image-bounds-safe: Private ordinary functions
gd-image-char: Private ordinary functions
gd-image-char-up: Private ordinary functions
gd-image-color-allocate: Private ordinary functions
gd-image-color-allocate-alpha: Private ordinary functions
gd-image-color-closest: Private ordinary functions
gd-image-color-closest-alpha: Private ordinary functions
gd-image-color-closest-hwb: Private ordinary functions
gd-image-color-deallocate: Private ordinary functions
gd-image-color-exact: Private ordinary functions
gd-image-color-resolve: Private ordinary functions
gd-image-color-resolve-alpha: Private ordinary functions
gd-image-color-transparent: Private ordinary functions
gd-image-compare: Private ordinary functions
gd-image-copy: Private ordinary functions
gd-image-copy-merge: Private ordinary functions
gd-image-copy-merge-gray: Private ordinary functions
gd-image-copy-resampled: Private ordinary functions
gd-image-copy-resized: Private ordinary functions
gd-image-copy-rotated: Private ordinary functions
gd-image-create: Private ordinary functions
gd-image-create-from-gd-file: Private ordinary functions
gd-image-create-from-gd2-file: Private ordinary functions
gd-image-create-from-gd2-part-file: Private ordinary functions
gd-image-create-from-gif-file: Private ordinary functions
gd-image-create-from-jpeg-file: Private ordinary functions
gd-image-create-from-png-file: Private ordinary functions
gd-image-create-from-xbm-file: Private ordinary functions
gd-image-create-from-xpm: Private ordinary functions
gd-image-create-true-color: Private ordinary functions
gd-image-destroy: Private ordinary functions
gd-image-fill: Private ordinary functions
gd-image-fill-to-border: Private ordinary functions
gd-image-filled-arc: Private ordinary functions
gd-image-filled-ellipse: Private ordinary functions
gd-image-filled-polygon: Private ordinary functions
gd-image-filled-rectangle: Private ordinary functions
gd-image-gd-ptr: Private ordinary functions
gd-image-gd2-ptr: Private ordinary functions
gd-image-get-alpha: Private ordinary functions
gd-image-get-blue: Private ordinary functions
gd-image-get-clip: Private ordinary functions
gd-image-get-colors-total: Private ordinary functions
gd-image-get-green: Private ordinary functions
gd-image-get-interlaced: Private ordinary functions
gd-image-get-pixel: Private ordinary functions
gd-image-get-red: Private ordinary functions
gd-image-get-sx: Private ordinary functions
gd-image-get-sy: Private ordinary functions
gd-image-get-transparent: Private ordinary functions
gd-image-gif-anim-add: Private ordinary functions
gd-image-gif-anim-begin-wrap: Private ordinary functions
gd-image-gif-anim-end-wrap: Private ordinary functions
gd-image-gif-ptr: Private ordinary functions
gd-image-interlace: Private ordinary functions
gd-image-jpeg-ptr: Private ordinary functions
gd-image-line: Private ordinary functions
gd-image-palette-copy: Private ordinary functions
gd-image-png-ptr: Private ordinary functions
gd-image-png-ptr-ex: Private ordinary functions
gd-image-polygon: Private ordinary functions
gd-image-rectangle: Private ordinary functions
gd-image-save-alpha: Private ordinary functions
gd-image-set-anti-aliased: Private ordinary functions
gd-image-set-anti-aliased-do-not-blend: Private ordinary functions
gd-image-set-brush: Private ordinary functions
gd-image-set-clip: Private ordinary functions
gd-image-set-pixel: Private ordinary functions
gd-image-set-style: Private ordinary functions
gd-image-set-thickness: Private ordinary functions
gd-image-set-tile: Private ordinary functions
gd-image-string: Private ordinary functions
gd-image-string-ft: Private ordinary functions
gd-image-string-ft-ex: Private ordinary functions
gd-image-string-up: Private ordinary functions
gd-image-true-color-to-palette: Private ordinary functions
gd-image-wbmp-ptr: Private ordinary functions
Generic Function, (setf current-style): Private generic functions
Generic Function, angle-transformer: Private generic functions
Generic Function, draw-polygon: Public generic functions
Generic Function, h-inv-transformer: Private generic functions
Generic Function, h-transformer: Private generic functions
Generic Function, image: Private generic functions
Generic Function, set-pixels: Public generic functions
Generic Function, w-inv-transformer: Private generic functions
Generic Function, w-transformer: Private generic functions
Generic Function, x-inv-transformer: Private generic functions
Generic Function, x-transformer: Private generic functions
Generic Function, y-inv-transformer: Private generic functions
Generic Function, y-transformer: Private generic functions
get-pixel: Public ordinary functions

H
h-inv-transformer: Private generic functions
h-inv-transformer: Private generic functions
h-transformer: Private generic functions
h-transformer: Private generic functions
hyperdoc-lookup: Private ordinary functions

I
image: Private generic functions
image: Private generic functions
image-height: Public ordinary functions
image-p: Private ordinary functions
image-size: Public ordinary functions
image-width: Public ordinary functions
img: Private ordinary functions
interlacedp: Public ordinary functions

L
load-gd-glue: Private ordinary functions

M
Macro, do-pixels: Public macros
Macro, do-rows: Public macros
Macro, make-stream-fn: Private macros
Macro, with-animated-gif: Private macros
Macro, with-clipping-rectangle: Public macros
Macro, with-clipping-rectangle*: Public macros
Macro, with-color-argument: Private macros
Macro, with-default-color: Public macros
Macro, with-default-font: Public macros
Macro, with-default-image: Public macros
Macro, with-image: Public macros
Macro, with-image*: Public macros
Macro, with-image-from-file: Public macros
Macro, with-image-from-file*: Public macros
Macro, with-image-from-gd2-part: Public macros
Macro, with-image-from-gd2-part*: Public macros
Macro, with-rebinding: Private macros
Macro, with-safe-alloc: Private macros
Macro, with-thickness: Public macros
Macro, with-transformation: Public macros
Macro, with-transformed-alternative: Private macros
Macro, with-unique-names: Private macros
Macro, without-transformations: Public macros
make-anti-aliased: Public ordinary functions
make-brush: Public ordinary functions
make-image: Private ordinary functions
make-stream-fn: Private macros
make-tile: Public ordinary functions
Method, (setf current-style): Private generic functions
Method, (setf current-style): Private generic functions
Method, angle-transformer: Private generic functions
Method, draw-polygon: Public generic functions
Method, draw-polygon: Public generic functions
Method, h-inv-transformer: Private generic functions
Method, h-transformer: Private generic functions
Method, image: Private generic functions
Method, print-object: Public standalone methods
Method, set-pixels: Public generic functions
Method, set-pixels: Public generic functions
Method, w-inv-transformer: Private generic functions
Method, w-transformer: Private generic functions
Method, x-inv-transformer: Private generic functions
Method, x-transformer: Private generic functions
Method, y-inv-transformer: Private generic functions
Method, y-transformer: Private generic functions

N
number-of-colors: Public ordinary functions

P
print-object: Public standalone methods

R
resolve-c-color: Private ordinary functions
round-to-signed-byte-32: Private ordinary functions

S
sans: Private ordinary functions
save-alpha-p: Public ordinary functions
set-anti-aliased: Private ordinary functions
set-clipping-rectangle*: Public ordinary functions
set-pixel: Public ordinary functions
set-pixels: Public generic functions
set-pixels: Public generic functions
set-pixels: Public generic functions

T
thickness: Public ordinary functions
tile-img: Private ordinary functions
tile-p: Private ordinary functions
transparent-color: Public ordinary functions
true-color-p: Public ordinary functions
true-color-to-palette: Public ordinary functions

W
w-inv-transformer: Private generic functions
w-inv-transformer: Private generic functions
w-transformer: Private generic functions
w-transformer: Private generic functions
with-animated-gif: Private macros
with-clipping-rectangle: Public macros
with-clipping-rectangle*: Public macros
with-color-argument: Private macros
with-default-color: Public macros
with-default-font: Public macros
with-default-image: Public macros
with-image: Public macros
with-image*: Public macros
with-image-from-file: Public macros
with-image-from-file*: Public macros
with-image-from-gd2-part: Public macros
with-image-from-gd2-part*: Public macros
with-rebinding: Private macros
with-safe-alloc: Private macros
with-thickness: Public macros
with-transformation: Public macros
with-transformed-alternative: Private macros
with-unique-names: Private macros
without-transformations: Public macros
write-gd-to-stream: Public ordinary functions
write-gd2-to-stream: Public ordinary functions
write-gif-to-stream: Public ordinary functions
write-image-to-file: Public ordinary functions
write-image-to-stream: Public ordinary functions
write-jpeg-to-stream: Public ordinary functions
write-png-to-stream: Public ordinary functions
write-wbmp-to-stream: Public ordinary functions

X
x-inv-transformer: Private generic functions
x-inv-transformer: Private generic functions
x-transformer: Private generic functions
x-transformer: Private generic functions

Y
y-inv-transformer: Private generic functions
y-inv-transformer: Private generic functions
y-transformer: Private generic functions
y-transformer: Private generic functions


A.3 Variables

Jump to:   *   +  
A   C   D   H   I   S   W   X   Y  
Index Entry  Section

*
*cl-gd-directory*: Public special variables
*current-animation*: Private special variables
*default-color*: Public special variables
*default-font*: Public special variables
*default-image*: Public special variables
*gd-supporting-libraries*: Private special variables
*hyperdoc-base-uri*: Private special variables
*null-image*: Private special variables
*shared-library-directories*: Private special variables
*shared-library-drive-letters*: Private special variables
*shared-library-types*: Private special variables
*transformers*: Private special variables

+
+anti-aliased+: Private constants
+brushed+: Private constants
+gd-chord+: Private constants
+gd-cmp-background+: Private constants
+gd-cmp-color+: Private constants
+gd-cmp-image+: Private constants
+gd-cmp-interlace+: Private constants
+gd-cmp-num-colors+: Private constants
+gd-cmp-size-x+: Private constants
+gd-cmp-size-y+: Private constants
+gd-cmp-transparent+: Private constants
+gd-cmp-true-color+: Private constants
+gd-disposal-none+: Private constants
+gd-disposal-restore-background+: Private constants
+gd-disposal-restore-previous+: Private constants
+gd-disposal-unknown+: Private constants
+gd-edged+: Private constants
+gd-ftex-linespace+: Private constants
+gd-no-fill+: Private constants
+max-colors+: Public constants
+most-positive-unsigned-byte-32+: Private constants
+radians-to-degree-factor+: Private constants
+styled+: Private constants
+styled-brushed+: Private constants
+tiled+: Private constants
+transparent+: Private constants

A
angle-transformer: Private classes

C
color: Private structures
Constant, +anti-aliased+: Private constants
Constant, +brushed+: Private constants
Constant, +gd-chord+: Private constants
Constant, +gd-cmp-background+: Private constants
Constant, +gd-cmp-color+: Private constants
Constant, +gd-cmp-image+: Private constants
Constant, +gd-cmp-interlace+: Private constants
Constant, +gd-cmp-num-colors+: Private constants
Constant, +gd-cmp-size-x+: Private constants
Constant, +gd-cmp-size-y+: Private constants
Constant, +gd-cmp-transparent+: Private constants
Constant, +gd-cmp-true-color+: Private constants
Constant, +gd-disposal-none+: Private constants
Constant, +gd-disposal-restore-background+: Private constants
Constant, +gd-disposal-restore-previous+: Private constants
Constant, +gd-disposal-unknown+: Private constants
Constant, +gd-edged+: Private constants
Constant, +gd-ftex-linespace+: Private constants
Constant, +gd-no-fill+: Private constants
Constant, +max-colors+: Public constants
Constant, +most-positive-unsigned-byte-32+: Private constants
Constant, +radians-to-degree-factor+: Private constants
Constant, +styled+: Private constants
Constant, +styled-brushed+: Private constants
Constant, +tiled+: Private constants
Constant, +transparent+: Private constants

D
do-not-blend: Private structures

H
h-inv-transformer: Private classes
h-transformer: Private classes

I
image: Private classes
img: Private structures

S
Slot, angle-transformer: Private classes
Slot, color: Private structures
Slot, do-not-blend: Private structures
Slot, h-inv-transformer: Private classes
Slot, h-transformer: Private classes
Slot, image: Private classes
Slot, img: Private structures
Slot, w-inv-transformer: Private classes
Slot, w-transformer: Private classes
Slot, x-inv-transformer: Private classes
Slot, x-transformer: Private classes
Slot, y-inv-transformer: Private classes
Slot, y-transformer: Private classes
Special Variable, *cl-gd-directory*: Public special variables
Special Variable, *current-animation*: Private special variables
Special Variable, *default-color*: Public special variables
Special Variable, *default-font*: Public special variables
Special Variable, *default-image*: Public special variables
Special Variable, *gd-supporting-libraries*: Private special variables
Special Variable, *hyperdoc-base-uri*: Private special variables
Special Variable, *null-image*: Private special variables
Special Variable, *shared-library-directories*: Private special variables
Special Variable, *shared-library-drive-letters*: Private special variables
Special Variable, *shared-library-types*: Private special variables
Special Variable, *transformers*: Private special variables

W
w-inv-transformer: Private classes
w-transformer: Private classes

X
x-inv-transformer: Private classes
x-transformer: Private classes

Y
y-inv-transformer: Private classes
y-transformer: Private classes


A.4 Data types

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

A
animated-gif.lisp: The cl-gd/animated-gif․lisp file
anti-aliased-color: Private structures

B
brush: Private structures

C
cl-gd: The cl-gd system
cl-gd: The cl-gd package
cl-gd.asd: The cl-gd/cl-gd․asd file
cl-gd.system: The cl-gd․system package
Class, transformer: Private classes
colors-aux.lisp: The cl-gd/colors-aux․lisp file
colors.lisp: The cl-gd/colors․lisp file

D
drawing.lisp: The cl-gd/drawing․lisp file

F
File, animated-gif.lisp: The cl-gd/animated-gif․lisp file
File, cl-gd.asd: The cl-gd/cl-gd․asd file
File, colors-aux.lisp: The cl-gd/colors-aux․lisp file
File, colors.lisp: The cl-gd/colors․lisp file
File, drawing.lisp: The cl-gd/drawing․lisp file
File, gd-uffi.lisp: The cl-gd/gd-uffi․lisp file
File, images.lisp: The cl-gd/images․lisp file
File, init.lisp: The cl-gd/init․lisp file
File, misc.lisp: The cl-gd/misc․lisp file
File, packages.lisp: The cl-gd/packages․lisp file
File, specials.lisp: The cl-gd/specials․lisp file
File, strings.lisp: The cl-gd/strings․lisp file
File, transform.lisp: The cl-gd/transform․lisp file
File, util.lisp: The cl-gd/util․lisp file

G
gd-uffi.lisp: The cl-gd/gd-uffi․lisp file

I
image: Private structures
images.lisp: The cl-gd/images․lisp file
init.lisp: The cl-gd/init․lisp file

M
misc.lisp: The cl-gd/misc․lisp file

P
Package, cl-gd: The cl-gd package
Package, cl-gd.system: The cl-gd․system package
packages.lisp: The cl-gd/packages․lisp file
pixels-array: Private types
pixels-row: Private types

S
specials.lisp: The cl-gd/specials․lisp file
strings.lisp: The cl-gd/strings․lisp file
Structure, anti-aliased-color: Private structures
Structure, brush: Private structures
Structure, image: Private structures
Structure, tile: Private structures
System, cl-gd: The cl-gd system

T
t-pixels-array: Private types
t-pixels-row: Private types
tile: Private structures
transform.lisp: The cl-gd/transform․lisp file
transformer: Private classes
Type, pixels-array: Private types
Type, pixels-row: Private types
Type, t-pixels-array: Private types
Type, t-pixels-row: Private types

U
util.lisp: The cl-gd/util․lisp file