• Robert M. Münch

    I just played around with using Block2D interactively. The short video shows how 500 random lines are drawn from the click-point.

    Block2D drawing 500 lines (dropbox)

    posted in General Discussion read more
  • Robert M. Münch

    1st screenshot of LuaJIT using Block2D to draw into a bitmap (bmp.data) and showing it in a window.

    This is a proof of concept that the binding etc. works pretty nice. However, there are still quite some things to do. Mainly to create a high-level C API for Block2D which can be used simply from LuaJIT.

    After this, my goal is to create a GUI library on top of this. We have done this for the Rebol language several years ago and have a lot of experience how to do this. Our main product is built this way.

    Screenshot 2017-10-14 19.07.03.PNG

    posted in General Discussion read more
  • Robert M. Münch

    I don't understand how/where a repaint (window content update) is triggered in NW on Windows.

    I assume that a WM_PAINT message is somewhen generated and that this will BitBlt a pre-pared bitmap. But where does the trigger for the WM_PAINT message happen and where is the actual BitBlt done?

    posted in General Discussion read more
  • Robert M. Münch

    It's not yet available but here are some infos: https://blend2d.com/

    posted in General Discussion read more
  • Robert M. Münch

    I get a "double free" assertion and don't have a clue why. What I actually do is:

    app = nw:app()
    win = app:window()
    win:show()
    app:run(my_func)

    my_func()
    bmp = win:bitmap()
    pixelinterface = bmp:pixel_interface()
    for
    ... using setpixel
    win:invalidate()
    end

    And the app ends after the for loop terminated.

    .\winapi\dibitmap.lua:82: double free
    stack traceback:
    [C]: in function 'error'
    .\glue.lua:391: in function 'assert'
    .\winapi\dibitmap.lua:82: in function 'free'
    .\nw_winapi.lua:1338: in function '_free_bitmap'
    .\nw_winapi.lua:227: in function 'handler'
    .\winapi\basewindowclass.lua:470: in function <.\winapi\basewindowclass.lua:457>
    [C]: in function 'xpcall'
    .\winapi\basewindowclass.lua:81: in function <.\winapi\basewindowclass.lua:80>
    [C]: in function 'DestroyWindow'
    .\winapi\window.lua:118: in function <.\winapi\window.lua:116>

    Any idea what this could be? Robert

    posted in General Discussion read more
  • Robert M. Münch

    Ok, great to hear. I'm going to bind a special 2D renderer that should be very fast, much faster than cairo. We will see.

    posted in General Discussion read more
  • Robert M. Münch

    Hi, what's the status of luapower? Is it dormant? Is it abandoned? Will there be any activity in the near future?

    posted in General Discussion read more
Internal error.

Oops! Looks like something went wrong!