TVideoGrabber.TextOverlay_CreateCustomFont

Prev

Next

TVideoGrabber

Methods

 




































































































Lets create a custom font for the current text overlay selected with TextOverlay_Selector


Declaration
function TextOverlay_CreateCustomFont(fHeight: LongInt; fWidth: LongInt; fEscapement: LongInt; fOrientation: LongInt; fWeight: LongInt; fItalic: Boolean; fUnderline: Boolean; fStrikeOut: Boolean; fCharSet: LongWord_; fOutputPrecision: LongWord_; fClipPrecision: LongWord_; fQuality: LongWord_; fPitchAndFamily: LongWord_; FontFacename: string): Boolean;


bool __fastcall TextOverlay_CreateCustomFont(int fHeight, int fWidth, int fEscapement, int fOrientation, int fWeight, bool fItalic, bool fUnderline, bool fStrikeOut, unsigned fCharSet, unsigned fOutputPrecision, unsigned fClipPrecision, unsigned fQuality, unsigned fPitchAndFamily, System::wchar_t *FontFacename)


Function TextOverlay_CreateCustomFont(fHeight as Long, fWidth as Long, fEscapement as Long, fOrientation as Long, fWeight as Long, fItalic as Boolean, fUnderline as Boolean, fStrikeOut as Boolean, fCharSet as Long, fOutputPrecision as Long, fClipPrecision as Long, fQuality as Long, fPitchAndFamily as Long, FontFacename as string) as Boolean

Description

Used to create a custom font used by the text overlay

E.g.:

VideoGrabber.TextOverlay_Selector = 4
VideoGrabber.TextOverlay_CreateCustomFont (16, 30, 0, 0, 200, true, false, false, 2, 0, 0, 0, 0, "Wingdings")
VideoGrabber.TextOverlay_Enabled = true


See Also
TCardinalDirection TOnFrameOverlayUsingDC TOnFrameOverlayUsingDIB TTextOverlayAlign AdjustOverlayAspectRatio DrawBitmapOverFrame GetFrameInfoString GetTextOverlay_AlphaBlend GetTextOverlay_AlphaBlendValue ImageOverlay_StretchToVideoSize MouseWheelEventEnabled OnFrameBitmap OnFrameBitmapEventSynchrone OnFrameOverlayUsingDC OnFrameOverlayUsingDIB OnFrameOverlayUsingVIDEOHDR OnMouseDown OnMouseMove OnMouseUp OnMouseWheel OverlayAfterTransform RefreshPlayerOverlays 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 SetTextOverlay_Align SetTextOverlay_AlphaBlend SetTextOverlay_AlphaBlendValue SetTextOverlay_BkColor SetTextOverlay_CustomVar SetTextOverlay_Enabled SetTextOverlay_Font SetTextOverlay_FontColor SetTextOverlay_GradientColor SetTextOverlay_GradientMode SetTextOverlay_HighResFont SetTextOverlay_Left SetTextOverlay_Right SetTextOverlay_Scrolling SetTextOverlay_ScrollingSpeed SetTextOverlay_Shadow SetTextOverlay_ShadowColor SetTextOverlay_ShadowDirection SetTextOverlay_String SetTextOverlay_TargetDisplay SetTextOverlay_Top SetTextOverlay_Transparent ShapeOverlay ShapeOverlayEnabled ShapeOverlayList TextOverlay_Align TextOverlay_BkColor TextOverlay_CreateCustomFont2 TextOverlay_Enabled TextOverlay_Font TextOverlay_FontColor TextOverlay_Left TextOverlay_Right TextOverlay_Scrolling TextOverlay_ScrollingSpeed TextOverlay_Selector TextOverlay_Shadow TextOverlay_ShadowColor TextOverlay_ShadowDirection TextOverlay_String TextOverlay_Top TextOverlay_Transparent TranslateMouseCoordinates