Syntax |
GRAPHIC STRETCH hbmpSource???, id&,
(x1!, y1!)-(x2!, y2!) TO (x3!, y3!)-(x4!,y4!)
[, style%] |
Remarks |
You can copy a complete bitmap, or a portion of
it, to the selected graphic target, while resizing it to a larger or smaller
size. The expression hbmpSource???
specifies the
of the source bitmap, control, or
window. The
expression id& is the unique
control
in the range 1 to 65535, as assigned with the CONTROL
ADD GRAPHIC statement. id&
must be 0 for a GRAPHIC WINDOW
or a
GRAPHIC BITMAP. The destination
of the copy operation is the target specified by GRAPHIC
ATTACH. The
bitmap is automatically resized to fit the destination parameters. You
must use care that your parameters are valid for the specified bitmaps,
or results of the operation are undefined.
If style& is included, it is one of the
following values:
%mix_NotMergeSrc |
Pixel is the inverse of the MergeSrc color. |
%mix_NotCopySrc |
Pixel is the inverse of the source color. |
%mix_MaskSrcNot |
Pixel is a combination of the colors common
to both the source and the inverse of the pixel. |
%mix_XorSrc |
Pixel is a combination of the colors in
the source and the pixel, but not in both. |
%mix_MaskSrc |
Pixel is a combination of the colors common
to both the source and the pixel. |
%mix_MergeNotSrc |
Pixel is a combination of the pixel color
and the and the inverse of the source color. |
%mix_CopySrc |
Pixel is the source color (default). |
%mix_MergeSrc |
Pixel is a combination of the source color
and the pixel color. |
|