示例#1
0
func (b *Bitmap) IsCompatible() bool {
	var v bool

	v = bool(C.al_is_compatible_bitmap((*C.ALLEGRO_BITMAP)(b)))

	return v
}
示例#2
0
文件: display.go 项目: beoran/algo
// Returns true of the bitmap is compatible with the currebt display, false if not.
func (bitmap *Bitmap) IsCompatibleBitmap() bool {
	return cb2b(C.al_is_compatible_bitmap(bitmap.handle))
}
示例#3
0
func (b *Bitmap) IsCompatible() bool {
	return bool(C.al_is_compatible_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b))))
}