beautypg.com

Sx16_ioc_set_caption_scale, Sx16_ioc_set_caption_color – Sensoray 616 Linux User Manual

Page 15

background image

15

Parameters

y_start

Position of upper edge of window. Default value is 0.

Return values

None.

Notes

Sets upper caption window position.

SX16_IOC_SET_CAPTION_SCALE

ioctl( handle, SX16_IOC_SET_CAPTION_SCALE, scale );

Parameters

scale

Font scale. Must be one of the following:

OVL_SCALE_X1

scale = 1:1.

OVL_SCALE_X2

scale = 2:1.

OVL_SCALE_X2V

scale = 2:1 (only vertical).

OVL_SCALE_X4

scale = 4:1.

Return values

None.

Notes

Sets caption font scale.

SX16_IOC_SET_CAPTION_COLOR

ioctl( handle, SX16_IOC_SET_CAPTION_COLOR, color );

Parameters

color

Caption color. Must be one of the following:

OVL_WHITE white.
OVL_BLACK black.

OVL_RED

red.

OVL_GREEN green.

OVL_BLUE blue.

OVL_YELLOW

yellow.

OVL_CYAN cyan.
OVL_MAGENTA

magenta.

Return values

None.

Notes

Sets caption color.

This manual is related to the following products: