Scriptel ScripTouch ProScript C Library
This documentation contains information about the ScripTouch ProScript C Library.
Data Fields
scriptel_hid_feature_display_info Struct Reference

This structure contains static information about a device's display and capabilities. More...

#include <scriptel-hid-reports.h>

Data Fields

unsigned char report_id
 Report ID, should always be SCRIPTEL_FEATURE_DISPLAYINFO.
 
unsigned short width
 Width of the on board display in pixels. More...
 
unsigned short height
 Height of the on board display in pixels. More...
 
unsigned char color_depth
 The color depth of the display in bits: 1 for black and white, 4 for monochrome.
 
unsigned char text_width
 The width of a single character.
 
unsigned char text_height
 The height of a single character.
 
unsigned char region_count
 The number of regions this device supports.
 
unsigned char max_caption_length
 The maximum caption length supported on buttons.
 

Detailed Description

This structure contains static information about a device's display and capabilities.

Field Documentation

◆ height

unsigned short height

Height of the on board display in pixels.

This can be used along with width to determine the aspect ratio of the digitizer. This will also be set in devices without equipped displays for this purpose.

Examples
example-image-cairo.c, example-image-gdiplus.cpp, and example-reading.c.

◆ width

unsigned short width

Width of the on board display in pixels.

This can be used along with height to determine the aspect ratio of the digitizer. This will also be set in devices without equipped displays for this purpose.

Examples
example-image-cairo.c, example-image-gdiplus.cpp, and example-reading.c.

The documentation for this struct was generated from the following file: