On Tuesday, 17 March 2020 at 09:31:21 UTC, Виталий Фадеев wrote:
Main goal is: get content "xywh" from given rect and padding.
Of course content.x is dynamic.
//
import core.sys.windows.windows;
import std.stdio;
class Base
{
RECT rect= { 0, 0, 500, 400 };
RECT padding = { 10, 10,
Main goal is: get content "xywh" from given rect and padding.
Of course content.x is dynamic.
//
import core.sys.windows.windows;
import std.stdio;
class Base
{
RECT rect= { 0, 0, 500, 400 };
RECT padding = { 10, 10, 10, 10 };
// ...content...
??? content
{
@pro