Not logged in

Declarative Markup Language

9. Hydra Graphics Engine
9.1 Introduction
9.2 Declarative Markup Language
9.3 Path Rendering
9.4 Linear Incremental Constraint Solver
9.5 SceneGraph

Introduction

The Hydra Declarative Markup Language (HDML) is a XML based markup that is used for storing and initializing structured objects and values.

<svg height="310" width="450"> <path d="M10 10 H 400 V 300 H 10 L 10 10" fill="transparent" stroke="black"/> <path d="M10 10 H 90 V 90 H 10 L 10 10"/> </svg>

HDML only defines a structure.

1. Widget

HDML defines a set of layout management classes that are used to describe how widgets are laid out in an application's user interface. These layouts automatically position and resize widgets when the amount of space available for them changes, ensuring that they are consistently arranged and that the user interface as a whole remains usable.

2. Layouts

The BoxLayout class lines up child widgets horizontally or vertically. BoxLayout takes the space it gets from its parent layout or from the parentWidget, divides it up into a row of boxes, and makes each managed widget fill one box.


Attachments: