LoadImageSvg() has been removed
This commit is contained in:
parent
cb6615f05b
commit
05860b8650
2 changed files with 0 additions and 20 deletions
|
@ -103,17 +103,6 @@ func LoadImageRaw(fileName string, width, height int32, format PixelFormat, head
|
|||
return v
|
||||
}
|
||||
|
||||
// LoadImageSvg - Load image from SVG file data or string with specified size
|
||||
func LoadImageSvg(fileNameOrString string, width, height int32) *Image {
|
||||
cfileNameOrString := C.CString(fileNameOrString)
|
||||
defer C.free(unsafe.Pointer(cfileNameOrString))
|
||||
cwidth := (C.int)(width)
|
||||
cheight := (C.int)(height)
|
||||
ret := C.LoadImageSvg(cfileNameOrString, cwidth, cheight)
|
||||
v := newImageFromPointer(unsafe.Pointer(&ret))
|
||||
return v
|
||||
}
|
||||
|
||||
// LoadImageAnim - Load image sequence from file (frames appended to image.data)
|
||||
func LoadImageAnim(fileName string, frames *int32) *Image {
|
||||
cfileName := C.CString(fileName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue