---
name: "SetBrushOrgEx"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SetBrushOrgEx"
---

# SetBrushOrgEx(3w)

## NAME

**SetBrushOrgEx** (GDI32.@)

## SYNOPSIS

BOOL SetBrushOrgEx\
  (\
   HDC     *hdc*,\
   INT     *x*,\
   INT     *y*,\
   LPPOINT *oldorg*\
  )

## DESCRIPTION

Set the brush origin for a device context.

## PARAMS

*hdc* **\[In\]**  Device context to set the brush origin for.

*x* **\[In\]**  New *x* origin.

*y* **\[In\]**  New *y* origin.

*oldorg* **\[Out\]**  If non **NULL**, destination for previously set brush origin.

## RETURNS

**Success:** **TRUE**. The origin is set to (*x*,*y*), and *oldorg* is updated if given.

## IMPLEMENTATION

Declared in **"gdiplusenums.h"**.

Implemented in **"dlls/gdi32/brush.c"**.

Debug channel **"gdi"**.
