コード例 #1
0
ファイル: graphics.go プロジェクト: bluepeppers/allegro
func GetTargetBitmap() *Bitmap {
	var b *Bitmap

	b = (*Bitmap)(C.al_get_target_bitmap())

	return b
}
コード例 #2
0
ファイル: display.go プロジェクト: beoran/algo
// Gets the target bitmap of allegro drawing
func TargetBitmap() *Bitmap {
	return wrapBitmapRaw(C.al_get_target_bitmap())
}
コード例 #3
0
ファイル: graphics.go プロジェクト: b1naryth1ef/allegro
func GetTargetBitmap() *Bitmap {
	return (*Bitmap)(unsafe.Pointer(C.al_get_target_bitmap()))
}