sand ~master (2021-12-15T14:16:04.7301544)
Dub
Repo
Device
sand
api
Undocumented in source.
@
system
class
Device {
string
name
;
string
vendor
;
string
model
;
string
type
;
SANE_Device
*
device
;
bool
scanning
;
this
(SANE_Device* device);
string
toString
();
auto
options
[@property getter];
Parameters
parameters
[@property getter];
ubyte
[]
readImage
();
void
readImageAsync
(ubyte[] data, int bytesRead);
}
Constructors
this
this
(SANE_Device* device)
Undocumented in source.
Members
Functions
readImage
ubyte
[]
readImage
()
Undocumented in source. Be warned that the author may not have intended to support it.
readImageAsync
void
readImageAsync
(ubyte[] data, int bytesRead)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
options
auto
options
[@property getter]
Get options
parameters
Parameters
parameters
[@property getter]
Get current scan parameters
Variables
device
SANE_Device
*
device
;
Undocumented in source.
model
string
model
;
Undocumented in source.
name
string
name
;
Undocumented in source.
scanning
bool
scanning
;
Undocumented in source.
type
string
type
;
Undocumented in source.
vendor
string
vendor
;
Undocumented in source.
Meta
Source
See Implementation
sand
api
classes
Device
Option
Sane
enums
ConstraintType
Format
ValueType
structs
Parameters