libxputty  0.1
A damn tiny abstraction Layer to create X11 window/widgets with cairo surfaces
Resize_t Struct Reference

Resize_t - struct used to resize child widgets. More...

#include <xwidget.h>

Data Fields

Gravity gravity
 
int init_x
 
int init_y
 
int init_width
 
int init_height
 
float scale_x
 
float scale_y
 
float cscale_x
 
float cscale_y
 
float rcscale_x
 
float rcscale_y
 
float ascale
 

Detailed Description

Resize_t - struct used to resize child widgets.

Parameters
init_x- initial x position on Parent
init_y- initial y position on Parent
init_width- initial width
init_height- initial height
scale_x- scalling size of the x axsis
scale_y- scalling size of the y axsis
cscale_x- scalling factor of the x axsis
cscale_y- scalling factor of the y axsis
ascale- scalling factor for aspect scalling

Definition at line 190 of file xwidget.h.

Field Documentation

◆ ascale

float Resize_t::ascale

scalling factor for aspect scalling

Definition at line 214 of file xwidget.h.

◆ cscale_x

float Resize_t::cscale_x

scalling factor of the x axsis

Definition at line 206 of file xwidget.h.

◆ cscale_y

float Resize_t::cscale_y

scalling factor of the y axsis

Definition at line 208 of file xwidget.h.

◆ gravity

Gravity Resize_t::gravity

indicate how the widget wish to be resized

Definition at line 192 of file xwidget.h.

◆ init_height

int Resize_t::init_height

initial height

Definition at line 200 of file xwidget.h.

◆ init_width

int Resize_t::init_width

initial width

Definition at line 198 of file xwidget.h.

◆ init_x

int Resize_t::init_x

initial x position on Parent

Definition at line 194 of file xwidget.h.

◆ init_y

int Resize_t::init_y

initial y position on Parent

Definition at line 196 of file xwidget.h.

◆ rcscale_x

float Resize_t::rcscale_x

rescalling factor of the x axsis

Definition at line 210 of file xwidget.h.

◆ rcscale_y

float Resize_t::rcscale_y

rescalling factor of the y axsis

Definition at line 212 of file xwidget.h.

◆ scale_x

float Resize_t::scale_x

scalling size of the x axsis

Definition at line 202 of file xwidget.h.

◆ scale_y

float Resize_t::scale_y

scalling size of the y axsis

Definition at line 204 of file xwidget.h.


The documentation for this struct was generated from the following file: