|
수문장 님이 쓰신 글 :
: tcolor = (TColor32)tBitmap->Pixel[0][0];
:
: leo21c 님이 쓰신 글 :
: : 정말 당황스럽네요.
: : 당연히 될줄 알았는데 parameter가 많다며 에러가 나네요.
: :
: : TBitmap32 *tBitmap;
: : tBitmap->LoadFromFile(filename);
: : TColor32 tcolor;
: : tcolor = (TColor32)tBitmap->Pixel[0,0];
: :
: : 이렇게 간단히 만들어 봤는데
: :
: : tcolor = (TColor32)tBitmap->Pixel[0,0];
: :
: : 이곳에서 에러가 발생합니다.
: :
: : E3193 too few parameters in call to '_fastcall TBitamp32::GetPixel[int,int]'
: :
: : Help를 보면
: :
: : property Pixel[X, Y: Integer]: TColor32; default;
: : property PixelS[X, Y: Integer]: TColor32;
: : property PixelW[X, Y: Integer]: TColor32;
: : property PixelX[X, Y: TFixed]: TColor32;
: : property PixelXS[X, Y: TFixed]: TColor32;
: : property PixelXW[X, Y: TFixed]: TColor32;
: : property PixelF[X, Y: Single]: TColor32;
: : property PixelFS[X, Y: Single]: TColor32;
: : property PixelFW[X, Y: Single]: TColor32;
: :
: : 이렇게 되어 있습니다.
: :
: : 이유가 뭘까요?
: :
: : Include는 아래와 같이 했습니다.
: :
: : #include "GR32.hpp"
: : #include "GR32_Image.hpp"
: : #include "GR32_Layers.hpp"
: : #include "GR32_Transforms.hpp"
: : #include "GR32_Lowlevel.hpp"
: : #include "GR32_Resamplers.hpp"
: :
: : 혹시 Graphics32 사용해 보신분이 계시면 답변 부탁드립니다.
|