All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

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.

Value

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 , and

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-file "capi/graphics/images-with-alpha")
See also

Section "Drawing mode and anti-aliasing" in the CAPI User Guide .


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex