for (i = 0; i < page_layout->max_layers; i ++)
{
  with (page_layout->layer[i])
  {
    if ()
    {
      transact (->port,
                WM_RENDER,
                WM_RESET_ACCESS,
                &->parameters, (vb figures) {
                                              ...
                                            });
    }
  }
}
