MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Draw

Method Draw

IntelPresentMon/Core/source/gfx/prim/TextPrimitive.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void TextPrimitive::Draw(Graphics& gfx) const
65 {
66 Context(gfx).DrawTextLayout(d2d::Vec2{ *position }, pLayout.Get(), pBrush.Get(), D2D1_DRAW_TEXT_OPTIONS_NONE);
67 }
68}

Callers

nothing calls this directly

Calls 2

ContextClass · 0.50
GetMethod · 0.45

Tested by

no test coverage detected