Z
zhang214
Unregistered / Unconfirmed
GUEST, unregistred user!
constructor Create(stream: IStream; useEmbeddedColorManagement: BOOL = FALSE); reintroduce; overload;
这是创建gdi+的一个TGPImage又一个,他需要指定一个图片(文件或IStream),我估计是内存流只类的东西,但不会传过去....
{$EXTERNALSYM IStream}
IStream = interface(ISequentialStream)
ISequentialStream = interface(IUnknown)
['{0c733a30-2a1c-11ce-ade5-00aa0044773d}']
function Read(pv: Pointer; cb: Longint; pcbRead: PLongint): HResult;
stdcall;
function Write(pv: Pointer; cb: Longint; pcbWritten: PLongint): HResult;
stdcall;
end;
这是创建gdi+的一个TGPImage又一个,他需要指定一个图片(文件或IStream),我估计是内存流只类的东西,但不会传过去....
{$EXTERNALSYM IStream}
IStream = interface(ISequentialStream)
ISequentialStream = interface(IUnknown)
['{0c733a30-2a1c-11ce-ade5-00aa0044773d}']
function Read(pv: Pointer; cb: Longint; pcbRead: PLongint): HResult;
stdcall;
function Write(pv: Pointer; cb: Longint; pcbWritten: PLongint): HResult;
stdcall;
end;