LoadImageSvg() has been removed
This commit is contained in:
parent
cb6615f05b
commit
05860b8650
2 changed files with 0 additions and 20 deletions
|
@ -257,7 +257,6 @@ var checkCollisionPointLine func(point uintptr, p1 uintptr, p2 uintptr, threshol
|
|||
var getCollisionRec func(rec uintptr, rec1 uintptr, rec2 uintptr)
|
||||
var loadImage func(img uintptr, fileName string)
|
||||
var loadImageRaw func(img uintptr, fileName string, width int32, height int32, format int32, headerSize int32)
|
||||
var loadImageSvg func(img uintptr, fileNameOrString string, width int32, height int32)
|
||||
var loadImageAnim func(img uintptr, fileName string, frames []int32)
|
||||
var loadImageFromMemory func(img uintptr, fileType string, fileData []byte, dataSize int32)
|
||||
var loadImageFromTexture func(img uintptr, texture uintptr)
|
||||
|
@ -762,7 +761,6 @@ func init() {
|
|||
purego.RegisterLibFunc(&getCollisionRec, raylibDll, "GetCollisionRec")
|
||||
purego.RegisterLibFunc(&loadImage, raylibDll, "LoadImage")
|
||||
purego.RegisterLibFunc(&loadImageRaw, raylibDll, "LoadImageRaw")
|
||||
purego.RegisterLibFunc(&loadImageSvg, raylibDll, "LoadImageSvg")
|
||||
purego.RegisterLibFunc(&loadImageAnim, raylibDll, "LoadImageAnim")
|
||||
purego.RegisterLibFunc(&loadImageFromMemory, raylibDll, "LoadImageFromMemory")
|
||||
purego.RegisterLibFunc(&loadImageFromTexture, raylibDll, "LoadImageFromTexture")
|
||||
|
@ -2342,13 +2340,6 @@ func LoadImageRaw(fileName string, width int32, height int32, format PixelFormat
|
|||
return &img
|
||||
}
|
||||
|
||||
// LoadImageSvg - Load image from SVG file data or string with specified size
|
||||
func LoadImageSvg(fileNameOrString string, width int32, height int32) *Image {
|
||||
var img Image
|
||||
loadImageSvg(uintptr(unsafe.Pointer(&img)), fileNameOrString, width, height)
|
||||
return &img
|
||||
}
|
||||
|
||||
// LoadImageAnim - Load image sequence from file (frames appended to image.data)
|
||||
func LoadImageAnim(fileName string, frames []int32) *Image {
|
||||
var img Image
|
||||
|
|
|
@ -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