---
name: "CL_GPoint"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_GPoint"
---

# CL\_GPoint(3)

## NAME

CL\_GPoint

## DESCRIPTION

/

## CLASS MEMBERS

- **CL\_GPoint**()

  - **CL\_GPoint**(

  ```
  int x_,
  int y_)
  ```

- CL\_GPoint& **operator+=**(

  ```
  const CL_GPoint& p)
  ```

- CL\_GPoint& **operator-=**(

  ```
  const CL_GPoint& p)
  ```

- **~CL\_GPoint**()

  - CL\_GPoint **operator+**(

  ```
  const CL_GPoint& q)
  ```

- CL\_GPoint **operator-**(

  ```
  const CL_GPoint& q)
  ```

- int **x**

  - int **y**

  ## MEMBERS WITH DESCRIPTIONS

- **CL\_GPoint**()

  ```
  Description:
  ```

  /

- **CL\_GPoint**(

  ```
  int x_,
  int y_)
  ```

  ```
  Description:
  ```

- CL\_GPoint& **operator+=**(

  ```
  const CL_GPoint& p)
  ```

  ```
  Description:
  ```

  /

- CL\_GPoint& **operator-=**(

  ```
  const CL_GPoint& p)
  ```

  ```
  Description:
  ```

  /

- **~CL\_GPoint**()

  ```
  Description:
  ```

  /

- CL\_GPoint **operator+**(

  ```
  const CL_GPoint& q)
  ```

  ```
  Description:
  ```

  /

- CL\_GPoint **operator-**(

  ```
  const CL_GPoint& q)
  ```

  ```
  Description:
  ```

  friend CL\_GPoint operator-(const CL\_GPoint& p, const CL\_GPoint& q) { return CL\_GPoint(p.x - q.x, p.y - q.y); } /

- int **x**

  ```
  Description:
  ```

  /

- int **y**

  ```
  Description:
  ```

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
