Exemple #1
0
        protected BaseContext()
        {
            _ctx = new Nuklear.nk_context();
            Nuklear.nk_init_default(_ctx, null);

            _convertConfig = new Nuklear.nk_convert_config
            {
                vertex_alignment     = 4,
                global_alpha         = 1f,
                shape_AA             = Nuklear.NK_ANTI_ALIASING_ON,
                line_AA              = Nuklear.NK_ANTI_ALIASING_ON,
                circle_segment_count = 22,
                curve_segment_count  = 22,
                arc_segment_count    = 22
            };
        }