Create point32.bm
This commit is contained in:
parent
81be6f0fd0
commit
3ad84fccde
1 changed files with 13 additions and 0 deletions
13
point32.bm
Normal file
13
point32.bm
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
$if Point32 = undefined then
|
||||
$let Point32 = defined
|
||||
function Point32~& (x as long, y as long)
|
||||
select case _pixelsize
|
||||
case 1
|
||||
Point32 = _palettecolor(point(x,y), _source)
|
||||
case 4
|
||||
Point32 = point(x, y)
|
||||
case else
|
||||
Point32 = 0
|
||||
end select
|
||||
end function
|
||||
$end if
|
||||
Loading…
Add table
Add a link
Reference in a new issue