Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
pango-matrix.h File Reference
#include <glib.h>
#include <glib-object.h>
#include <pango/pango-types.h>

Go to the source code of this file.

Data Structures

struct  _PangoMatrix
 

Macros

#define PANGO_TYPE_MATRIX   (pango_matrix_get_type ())
 
#define PANGO_MATRIX_INIT   { 1., 0., 0., 1., 0., 0. }
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _PangoMatrix PangoMatrix
 

Functions

PANGO_AVAILABLE_IN_1_6 GType pango_matrix_get_type (void) G_GNUC_CONST
 
PANGO_AVAILABLE_IN_1_6 PangoMatrixpango_matrix_copy (const PangoMatrix *matrix)
 
PANGO_AVAILABLE_IN_1_6 void pango_matrix_free (PangoMatrix *matrix)
 
PANGO_AVAILABLE_IN_1_6 void pango_matrix_translate (PangoMatrix *matrix, double tx, double ty)
 
PANGO_AVAILABLE_IN_1_6 void pango_matrix_scale (PangoMatrix *matrix, double scale_x, double scale_y)
 
PANGO_AVAILABLE_IN_1_6 void pango_matrix_rotate (PangoMatrix *matrix, double degrees)
 
PANGO_AVAILABLE_IN_1_6 void pango_matrix_concat (PangoMatrix *matrix, const PangoMatrix *new_matrix)
 
PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_point (const PangoMatrix *matrix, double *x, double *y)
 
PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_distance (const PangoMatrix *matrix, double *dx, double *dy)
 
PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_rectangle (const PangoMatrix *matrix, PangoRectangle *rect)
 
PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix, PangoRectangle *rect)
 
PANGO_AVAILABLE_IN_1_12 double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) G_GNUC_PURE
 
PANGO_AVAILABLE_IN_1_38 void pango_matrix_get_font_scale_factors (const PangoMatrix *matrix, double *xscale, double *yscale)
 
PANGO_AVAILABLE_IN_1_50 double pango_matrix_get_slant_ratio (const PangoMatrix *matrix) G_GNUC_PURE
 

Macro Definition Documentation

◆ PANGO_MATRIX_INIT

#define PANGO_MATRIX_INIT   { 1., 0., 0., 1., 0., 0. }

PANGO_MATRIX_INIT:

Constant that can be used to initialize a PangoMatrix to the identity transform.

pango_matrix_rotate (&matrix, 45.);
typedefG_BEGIN_DECLS struct _PangoMatrix PangoMatrix
PANGO_AVAILABLE_IN_1_6 void pango_matrix_rotate(PangoMatrix *matrix, double degrees)
#define PANGO_MATRIX_INIT

Since: 1.6

Definition at line 78 of file pango-matrix.h.

◆ PANGO_TYPE_MATRIX

#define PANGO_TYPE_MATRIX   (pango_matrix_get_type ())

Definition at line 63 of file pango-matrix.h.

Typedef Documentation

◆ PangoMatrix

typedef typedefG_BEGIN_DECLS struct _PangoMatrix PangoMatrix

Definition at line 30 of file pango-matrix.h.

Function Documentation

◆ pango_matrix_concat()

PANGO_AVAILABLE_IN_1_6 void pango_matrix_concat ( PangoMatrix * matrix,
const PangoMatrix * new_matrix )

◆ pango_matrix_copy()

PANGO_AVAILABLE_IN_1_6 PangoMatrix * pango_matrix_copy ( const PangoMatrix * matrix)

◆ pango_matrix_free()

PANGO_AVAILABLE_IN_1_6 void pango_matrix_free ( PangoMatrix * matrix)

◆ pango_matrix_get_font_scale_factor()

PANGO_AVAILABLE_IN_1_12 double pango_matrix_get_font_scale_factor ( const PangoMatrix * matrix)

◆ pango_matrix_get_font_scale_factors()

PANGO_AVAILABLE_IN_1_38 void pango_matrix_get_font_scale_factors ( const PangoMatrix * matrix,
double * xscale,
double * yscale )

◆ pango_matrix_get_slant_ratio()

PANGO_AVAILABLE_IN_1_50 double pango_matrix_get_slant_ratio ( const PangoMatrix * matrix)

◆ pango_matrix_get_type()

PANGO_AVAILABLE_IN_1_6 GType pango_matrix_get_type ( void )

◆ pango_matrix_rotate()

PANGO_AVAILABLE_IN_1_6 void pango_matrix_rotate ( PangoMatrix * matrix,
double degrees )

◆ pango_matrix_scale()

PANGO_AVAILABLE_IN_1_6 void pango_matrix_scale ( PangoMatrix * matrix,
double scale_x,
double scale_y )

◆ pango_matrix_transform_distance()

PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_distance ( const PangoMatrix * matrix,
double * dx,
double * dy )

◆ pango_matrix_transform_pixel_rectangle()

PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_pixel_rectangle ( const PangoMatrix * matrix,
PangoRectangle * rect )

◆ pango_matrix_transform_point()

PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_point ( const PangoMatrix * matrix,
double * x,
double * y )

◆ pango_matrix_transform_rectangle()

PANGO_AVAILABLE_IN_1_16 void pango_matrix_transform_rectangle ( const PangoMatrix * matrix,
PangoRectangle * rect )

◆ pango_matrix_translate()

PANGO_AVAILABLE_IN_1_6 void pango_matrix_translate ( PangoMatrix * matrix,
double tx,
double ty )