Closed bryphe closed 4 years ago
Issue: If no width or height are specified (ie, <Image src="some-image.png />), the image won't render.
<Image src="some-image.png />
Fix: When no width / height is set, use the image dimensions as the default.
This also wires up the Skia.Image.width / sk_image_get_width and Skia.Image.height/ sk_image_get_height APIs
Skia.Image.width
sk_image_get_width
Skia.Image.height
sk_image_get_height
Issue: If no width or height are specified (ie,
<Image src="some-image.png />
), the image won't render.Fix: When no width / height is set, use the image dimensions as the default.
This also wires up the
Skia.Image.width
/sk_image_get_width
andSkia.Image.height
/sk_image_get_height
APIs