///|
/// https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement
#cfg(target="js")
type SVGGraphicsElement
///|
#cfg(target="js")
pub impl IsEventTarget for SVGGraphicsElement
///|
#cfg(target="js")
pub impl IsNode for SVGGraphicsElement
///|
#cfg(target="js")
pub impl IsElement for SVGGraphicsElement
///|
#cfg(target="js")
pub impl IsSVGElement for SVGGraphicsElement
///|
#cfg(target="js")
pub impl IsSVGGraphicsElement for SVGGraphicsElement
///|
#cfg(target="js")
pub trait IsSVGGraphicsElement: IsSVGElement {
fn as_svg_graphics_element(Self) -> SVGGraphicsElement = _
fn get_required_extensions(Self) -> String = _
fn get_system_language(Self) -> SVGStringList = _
fn get_transform(Self) -> SVGAnimatedTransformList = _
fn get_bbox(Self) -> DOMRect = _
fn get_ctm(Self) -> DOMMatrix = _
fn get_screen_ctm(Self) -> DOMMatrix = _
}
///|
#cfg(target="js")
pub impl @js.Cast for SVGGraphicsElement with fn into(value) {
value |> ffi_to_svg_graphics_element |> y => { y.to_option() }
}
///|
#cfg(target="js")
pub impl @js.Cast for SVGGraphicsElement with fn from(value) {
value |> js_identity
}
///|
#cfg(target="js")
type SVGStringList
///|
#cfg(target="js")
type SVGAnimatedTransformList
///|
#cfg(target="js")
type DOMMatrix
///|
#cfg(target="js")
impl IsSVGGraphicsElement with fn as_svg_graphics_element(s) {
s |> js_identity
}
///|
#cfg(target="js")
impl IsSVGGraphicsElement with fn get_required_extensions(s) {
s |> js_identity |> ffi_get_required_extensions
}
///|
#cfg(target="js")
impl IsSVGGraphicsElement with fn get_system_language(s) {
s |> js_identity |> ffi_get_system_language
}
///|
#cfg(target="js")
impl IsSVGGraphicsElement with fn get_transform(s) {
s |> js_identity |> ffi_get_transform
}
///|
#cfg(target="js")
impl IsSVGGraphicsElement with fn get_bbox(s) {
s |> js_identity |> ffi_get_bbox
}
///|
#cfg(target="js")
impl IsSVGGraphicsElement with fn get_ctm(s) {
s |> js_identity |> ffi_get_ctm
}
///|
#cfg(target="js")
impl IsSVGGraphicsElement with fn get_screen_ctm(s) {
s |> js_identity |> ffi_get_screen_ctm
}
///|
#cfg(target="js")
extern "js" fn ffi_get_required_extensions(s : @js.Value) -> String = "(self) => self.requiredExtensions"
///|
#cfg(target="js")
extern "js" fn ffi_get_system_language(s : @js.Value) -> SVGStringList = "(self) => self.systemLanguage"
///|
#cfg(target="js")
extern "js" fn ffi_get_transform(s : @js.Value) -> SVGAnimatedTransformList = "(self) => self.transform"
///|
#cfg(target="js")
extern "js" fn ffi_get_bbox(s : @js.Value) -> DOMRect = "(self) => self.getBBox()"
///|
#cfg(target="js")
extern "js" fn ffi_get_ctm(s : @js.Value) -> DOMMatrix = "(self) => self.getCTM()"
///|
#cfg(target="js")
extern "js" fn ffi_get_screen_ctm(s : @js.Value) -> DOMMatrix = "(self) => self.getScreenCTM()"