TVideoGrabber.GetPixelsDistance

Prev

Next

TVideoGrabber

Methods

 




































































































Returns the distance between 2 pixels


Declaration
function GetPixelsDistance (x1: LongInt; y1: LongInt; x2: LongInt; y2: LongInt): Double;


double __fastcall GetPixelsDistance(int x1, int y1, int x2, int y2);


Function GetPixelsDistance(x1 As Long, y1 As Long, x2 as Long, y2 as Long) As Double

Description

Used to retrieve the distance, in pixels, between a pixel located at the (x1,y1) coordinate and a pixel located at the (x2,y2) coordinate


See Also
Image overlays GetRGBPixelAt ImageOverlay_AlphaBlend ImageOverlay_AlphaBlendValue ImageOverlay_Height ImageOverlay_LeftLocation ImageOverlay_TopLocation ImageOverlay_Transparent ImageOverlay_TransparentColorValue ImageOverlay_UseTransparentColor ImageOverlay_Width ImageOverlayEnabled ImageOverlaySelector SetImageOverlay_AlphaBlend SetImageOverlay_AlphaBlendValue SetImageOverlay_ChromaKey SetImageOverlay_ChromaKeyLeewayPercent SetImageOverlay_ChromaKeyRGBColor SetImageOverlay_Enabled SetImageOverlay_Height SetImageOverlay_LeftLocation SetImageOverlay_RotationAngle SetImageOverlay_StretchToVideoSize SetImageOverlay_TargetDisplay SetImageOverlay_TopLocation SetImageOverlay_Transparent SetImageOverlay_TransparentColorValue SetImageOverlay_UseTransparentColor SetImageOverlay_Width SetImageOverlayFromBMPFile SetImageOverlayFromHBitmap SetImageOverlayFromHBitmap2 SetImageOverlayFromImageFile SetImageOverlayFromImageFile2 SetImageOverlayFromJPEGFile SetImageOverlayFromTBitmap SetImageOverlayFromTBitmap2 SetImageOverlayFromTImage SetImageOverlayFromTImage2