---
name: "al_horizontal_shear_transform"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_horizontal_shear_transform/3alleg5"
---

# al\_horizontal\_shear\_transform(3alleg5)

Allegro 5 API

## NAME

al\_horizontal\_shear\_transform - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_horizontal_shear_transform(ALLEGRO_TRANSFORM* trans, float theta)
  ```

## DESCRIPTION

Apply a horizontal shear to the transform

*Parameters:*

- •

  trans - Transformation to alter

- •

  theta - Rotation angle in radians

## SINCE

5\.1.7

## SEE ALSO

al\_vertical\_shear\_transform(3alleg5)
