EmbedPixmap
Embeds a pixmap in a visualisation scene.
Syntax
-
EmbedPixmap(pm, a, w[, h])
-
pm
is a pixmap -
a
is a 2D real vector -
w
is a positive real number -
h
is a positive real number
-
Description
EmbedPixmap(pm, a, w, h)
embeds pm
in the current diagram with its top-left corner at a
, width w
, and height h
. If omitted, h
is chosen so that the pixmap’s aspect ratio is preserved. A reference to the visual object is returned.
The AdjustVisual
function can be used to adjust the appearance of the object. See Visual settings for a list of applicable settings.