All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

port-drawing-mode-quality-p Generic Function

Summary

Tests whether a port does quality drawing.

Package

graphics-ports

Signature

port-drawing-mode-quality-p port => result

Arguments
port
A graphics port.
Values
result
A boolean.
Description

The generic function port-drawing-mode-quality-p returns true if the graphics port port does quality drawing.

A port does quality drawing if both:

  1. It was not made with drawing-mode :compatible.
  2. The underlying library supports quality drawing.

Microsoft Windows and Cocoa always support quality drawing, GTK+ supports it from version 2.8 and greater, but Motif never supports it.

Examples
(example-edit-file "capi/graphics/images-with-alpha")
See also

13.2.1 The drawing mode and anti-aliasing.


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15