|
// *********************************************************
// 線幅決定
// 戻り値 : true 成功, false 失敗
// *********************************************************
int LboxGd::SetLineWidth( int nWidth )
{
if ( this->lib == NULL ) {
this->SetLibLoadErrorMessage();
return false;
}
LPFUNC_gdImageSetThickness Dll_gdImageSetThickness;
Dll_gdImageSetThickness =
(LPFUNC_gdImageSetThickness)GetProcAddress(
lib, "gdImageSetThickness@8"
);
if ( Dll_gdImageSetThickness == NULL ) {
this->SetFuncLoadErrorMessage();
return false;
}
gdImagePtr im;
im = (gdImagePtr)(this->gd);
Dll_gdImageSetThickness(im, nWidth);
return true;
}
| |