UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateTextHighlightRunRenderer.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
9
10class FPaintArgs;
12struct FTextBlockStyle;
13
15{
16public:
17
19
21
22 SLATE_API virtual int32 OnPaint( const FPaintArgs& Args, const FTextLayout::FLineView& Line, const TSharedRef< ISlateRun >& Run, const TSharedRef< ILayoutBlock >& Block, const FTextBlockStyle& DefaultStyle, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled ) const override;
23
24private:
25
27
28};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition PaintArgs.h:23
Definition SlateRect.h:26
Definition SlateTextHighlightRunRenderer.h:15
virtual ~FSlateTextHighlightRunRenderer()
Definition SlateTextHighlightRunRenderer.h:20
static SLATE_API TSharedRef< FSlateTextHighlightRunRenderer > Create()
Definition SlateTextHighlightRunRenderer.cpp:42
virtual SLATE_API int32 OnPaint(const FPaintArgs &Args, const FTextLayout::FLineView &Line, const TSharedRef< ISlateRun > &Run, const TSharedRef< ILayoutBlock > &Block, const FTextBlockStyle &DefaultStyle, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const override
Definition SlateTextHighlightRunRenderer.cpp:12
Definition DrawElements.h:220
Definition WidgetStyle.h:15
Definition ISlateRunRenderer.h:15
Definition SharedPointer.h:153
Definition Geometry.h:40
Definition SlateTypes.h:326
Definition TextLayout.h:328