And ..
Code: Select all
#include once "fbgfx.bi"
sub ImageScale2X(byref buffer as FB.Image ptr)
'scale2x
' A --\ 1 2
'C P B --/ 3 4
' D
'1=P; 2=P; 3=P; 4=P;
'IF C==A AND C!=D AND A!=B => 1=A
'IF A==B AND A!=C AND B!=D => 2=B
'IF B==D AND B!=A AND D!=C => 4=D
'IF D==C AND D!=B AND C!=A => 3=C
dim as integer x,y
dim as uinteger A,B,C,D,P
imageinfo buffer,x,y
dim buffer2 as FB.Image ptr=imagecreate(x*2,y*2,,32)
Is this a depreciated command, or is it just something my help file neglects to include?
~Paul