Einzelnen Beitrag anzeigen

Virchov

Registriert seit: 15. Mär 2004
Ort: Bäärlin
109 Beiträge
 
#3

Re: Memeber Acces Operators in Delph

  Alt 23. Mär 2004, 17:15
Delphi-Quellcode:

 implementation
procedure GetRGB(
  prgb: pRGBTRIPLE;          //Pointer   to the pixel
  R,G,B: pBYTE); //Output:   R, G and B

  begin
  R^:=prgb.rgbtRed;
  G^:=prgb.rgbtGreen;
  B^:=prgb.rgbtBlue;
end;
Oder vielleicht So?
  Mit Zitat antworten Zitat