To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Image widget.
Dependency graph
val create :
?width:int ->
?height:int ->
?noscale:bool ->
?bg:Draw.color ->
?angle:float ->
string ->
t
create "image.jpg"
will load the image "image.jpg"
. The actual load occurs only once, on the first time the image widget is effectively displayed. The image is then stored in a texture. All Sdl_image image formats are supported.
The file "image.png" will be search in the current Theme directory. Absolute paths starting with "/" can also be used.
val create_from_svg :
?width:int ->
?height:int ->
?bg:Draw.color ->
string ->
t
Load an svg image. This requires the rsvg
or rsvg-convert
program.
Remark: With SDL_Image >= 2.0.2, one can use create
to load SVG files, but the size is not correctly handled (the image will be rendered at its 'internal SVG size', and then scaled, which may result in poor accuracy).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page