---
name: "EMF_EMRSCALEWINDOWEXTEX"
section: "3"
platform: "linux"
package: "libemf-doc"
version: "1.0.13-8"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/EMF_EMRSCALEWINDOWEXTEX"
---

# EMF\_EMRSCALEWINDOWEXTEX(3)

EMF Scale Window Extents (ex)

## NAME

EMF::EMRSCALEWINDOWEXTEX - EMF Scale Window Extents (ex)

## SYNOPSIS

`#include <libemf.h>`

Inherits **EMF::METARECORD**, and EMRSCALEVIEWPORTEXTEX.

### Public Member Functions

**EMRSCALEWINDOWEXTEX** (LONG x\_num, LONG x\_den, LONG y\_num, LONG y\_den)\
 **EMRSCALEWINDOWEXTEX** (**DATASTREAM** &ds)\
 bool **serialize** (**DATASTREAM** ds)\
 int **size** (void) const\
 void **execute** (**METAFILEDEVICECONTEXT** \*source, HDC dc) const\

Public Member Functions inherited from **EMF::METARECORD** virtual **~METARECORD** ()\

## Detailed Description

EMF Scale Window Extents (ex)

The window extent is the logical coordinate size of the window. Scale the window extents by the ratios of the given values.

## Constructor & Destructor Documentation

### EMF::EMRSCALEWINDOWEXTEX::EMRSCALEWINDOWEXTEX (LONG x\_num, LONG x\_den, LONG y\_num, LONG y\_den)` [inline]`

**Parameters**

*x\_num* numerator of x scale \
 *x\_den* denominator of x scale \
 *y\_num* numerator of y scale \
 *y\_den* denominator of y scale

### EMF::EMRSCALEWINDOWEXTEX::EMRSCALEWINDOWEXTEX (DATASTREAM & ds)` [inline]`

Construct a ScaleWindowExtEx record from the input stream.

**Parameters**

*ds* Metafile datastream.

## Member Function Documentation

### void EMF::EMRSCALEWINDOWEXTEX::execute (METAFILEDEVICECONTEXT \* source, HDC dc) const` [inline]`, ` [virtual]`

Execute this record in the context of the given device context.

**Parameters**

*source* the device context from which this record is taken. \
 *dc* device context for execute.

Implements **EMF::METARECORD**.

### bool EMF::EMRSCALEWINDOWEXTEX::serialize (DATASTREAM ds)` [inline]`, ` [virtual]`

**Parameters**

*ds* Metafile datastream.

Implements **EMF::METARECORD**.

### int EMF::EMRSCALEWINDOWEXTEX::size (void) const` [inline]`, ` [virtual]`

Internally computed size of this record.

Implements **EMF::METARECORD**.

## Author

Generated automatically by Doxygen for libemf from the source code.
