Framebuffer
Interface
constructor
parent
name
blt
copyrect
fill
get_
buffer
get_
height
get_
local_
format
get_
remote_
format
get_
rowstride
get_
width
perfect_
format_
match
rgb24_
blt
set_
color_
map
set_
pixel_
at
GJS API Reference
GVnc-1.0
GVnc
FramebufferInterface
Class FramebufferInterface
Hierarchy
FramebufferInterface
Index
Constructors
constructor
Properties
parent
name
Methods
blt
copyrect
fill
get_
buffer
get_
height
get_
local_
format
get_
remote_
format
get_
rowstride
get_
width
perfect_
format_
match
rgb24_
blt
set_
color_
map
set_
pixel_
at
Constructors
constructor
new
Framebuffer
Interface
(
)
:
FramebufferInterface
Returns
FramebufferInterface
Properties
parent
parent
:
TypeInterface
Static
name
name
:
string
Methods
blt
blt
(
fb
:
GVnc
.
Framebuffer
, src
:
number
, rowstride
:
number
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
fb:
GVnc
.
Framebuffer
src:
number
rowstride:
number
x:
number
y:
number
width:
number
height:
number
Returns
void
copyrect
copyrect
(
fb
:
GVnc
.
Framebuffer
, srcx
:
number
, srcy
:
number
, dstx
:
number
, dsty
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
fb:
GVnc
.
Framebuffer
srcx:
number
srcy:
number
dstx:
number
dsty:
number
width:
number
height:
number
Returns
void
fill
fill
(
fb
:
GVnc
.
Framebuffer
, src
:
Uint8Array
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
fb:
GVnc
.
Framebuffer
src:
Uint8Array
x:
number
y:
number
width:
number
height:
number
Returns
void
get_
buffer
get_
buffer
(
fb
:
GVnc
.
Framebuffer
)
:
number
Parameters
fb:
GVnc
.
Framebuffer
Returns
number
get_
height
get_
height
(
fb
:
GVnc
.
Framebuffer
)
:
number
Parameters
fb:
GVnc
.
Framebuffer
Returns
number
get_
local_
format
get_
local_
format
(
fb
:
GVnc
.
Framebuffer
)
:
GVnc
.
PixelFormat
Parameters
fb:
GVnc
.
Framebuffer
Returns
GVnc
.
PixelFormat
get_
remote_
format
get_
remote_
format
(
fb
:
GVnc
.
Framebuffer
)
:
GVnc
.
PixelFormat
Parameters
fb:
GVnc
.
Framebuffer
Returns
GVnc
.
PixelFormat
get_
rowstride
get_
rowstride
(
fb
:
GVnc
.
Framebuffer
)
:
number
Parameters
fb:
GVnc
.
Framebuffer
Returns
number
get_
width
get_
width
(
fb
:
GVnc
.
Framebuffer
)
:
number
Parameters
fb:
GVnc
.
Framebuffer
Returns
number
perfect_
format_
match
perfect_
format_
match
(
fb
:
GVnc
.
Framebuffer
)
:
boolean
Parameters
fb:
GVnc
.
Framebuffer
Returns
boolean
rgb24_
blt
rgb24_
blt
(
fb
:
GVnc
.
Framebuffer
, src
:
Uint8Array
, rowstride
:
number
, x
:
number
, y
:
number
, width
:
number
, height
:
number
)
:
void
Parameters
fb:
GVnc
.
Framebuffer
src:
Uint8Array
rowstride:
number
x:
number
y:
number
width:
number
height:
number
Returns
void
set_
color_
map
set_
color_
map
(
fb
:
GVnc
.
Framebuffer
, map
:
ColorMap
)
:
void
Parameters
fb:
GVnc
.
Framebuffer
map:
ColorMap
Returns
void
set_
pixel_
at
set_
pixel_
at
(
fb
:
GVnc
.
Framebuffer
, src
:
Uint8Array
, x
:
number
, y
:
number
)
:
void
Parameters
fb:
GVnc
.
Framebuffer
src:
Uint8Array
x:
number
y:
number
Returns
void
Framebuffer
Interface
constructor
parent
name
blt
copyrect
fill
get_
buffer
get_
height
get_
local_
format
get_
remote_
format
get_
rowstride
get_
width
perfect_
format_
match
rgb24_
blt
set_
color_
map
set_
pixel_
at
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHVm5jXzFfMC5HVm5jLkZyYW1lYnVmZmVySW50ZXJmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W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