public void Render(Canvas canvas, Typeface font, float left, float right, float bottom, float top) { CLReLabelEntity l = lentities; for (; l != null; l = l.next) { l.Render(canvas, font, left, right, bottom, top); } this.ClearLabelEntities(); }
private void ClearLabelEntities() { CLReLabelEntity l = lentities; while (l != null) { l = l.next; lentities = null; lentities = l; } }
public static void AddToQueue(CLReLabelEntity lentity) { if (lentities == null) { lentities = lentity; return; } CLReLabelEntity l = lentities; while (l.next != null) { l = l.next; } l.next = lentity; }