public PTextWriter(IGLContextLateUpdate context, Size area_size) { Positions = new List<PointF>(); Lines = new List<string>(); ColorBrushes = new List<Brush>(); TextBitmap = new Bitmap(area_size.Width, area_size.Height); // HACK FIXIE context.AddUpdateEventHandler(this, (sender, e) => { TextureID = CreateTexture(); return true; }); }
public PTextWriter(IGLContextLateUpdate context, Size area_size) { Positions = new List <PointF>(); Lines = new List <string>(); ColorBrushes = new List <Brush>(); TextBitmap = new Bitmap(area_size.Width, area_size.Height); // HACK FIXIE context.AddUpdateEventHandler(this, (sender, e) => { TextureID = CreateTexture(); return(true); }); }