MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / FontBaseLineDebugHelper

Method FontBaseLineDebugHelper

LuaSTGPlus/AppFrame.cpp:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 void OnGlyphCalcuCoord(f2dGraphics2DVertex pVerts[]) { }
47public:
48 FontBaseLineDebugHelper(f2dGraphics2D* G, f2dGeometryRenderer* GR, fcyRect BaseRect)
49 : m_pGraph2D(G), m_pGRenderer(GR)
50 {
51 m_pGRenderer->SetPenColor(0, fcyColor(0xFFFF0000));
52 m_pGRenderer->SetPenColor(1, fcyColor(0xFFFF0000));
53 m_pGRenderer->SetPenColor(2, fcyColor(0xFFFF0000));
54 m_pGRenderer->SetPenColor(3, fcyColor(0xFFFF0000));
55 m_pGRenderer->SetPenSize(2.f);
56 m_pGRenderer->DrawRectangle(G, BaseRect);
57 }
58};
59#endif
60

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected