MCPcopy Create free account
hub / github.com/TraderOracle/ATAS / DrawString

Method DrawString

BuySell.cs:230–235  ·  view source on GitHub ↗
(RenderContext context, string renderText, int yPrice, Color color)

Source from the content-addressed store, hash-verified

228 #region RENDER CONTEXT
229
230 private void DrawString(RenderContext context, string renderText, int yPrice, Color color)
231 {
232 var textSize = context.MeasureString(renderText, new RenderFont("Arial", 9));
233 context.DrawString(renderText, new RenderFont("Arial", 9), color,
234 Container.Region.Right - textSize.Width - 5, yPrice - textSize.Height);
235 }
236
237 protected override void OnRender(RenderContext context, DrawingLayouts layout)
238 {

Callers 4

OnRenderMethod · 0.45
OnRenderMethod · 0.45
OnRenderMethod · 0.45
OnRenderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected