RetroArch
Public Attributes | List of all members
DWRITE_OVERHANG_METRICS Struct Reference

The DWRITE_OVERHANG_METRICS structure holds how much any visible pixels (in DIPs) overshoot each side of the layout or inline objects. More...

#include <dwrite.h>

Public Attributes

FLOAT left
 The distance from the left-most visible DIP to its left alignment edge. More...
 
FLOAT top
 The distance from the top-most visible DIP to its top alignment edge. More...
 
FLOAT right
 The distance from the right-most visible DIP to its right alignment edge. More...
 
FLOAT bottom
 The distance from the bottom-most visible DIP to its bottom alignment edge. More...
 

Detailed Description

The DWRITE_OVERHANG_METRICS structure holds how much any visible pixels (in DIPs) overshoot each side of the layout or inline objects.

Positive overhangs indicate that the visible area extends outside the layout box or inline object, while negative values mean there is whitespace inside. The returned values are unaffected by rendering transforms or pixel snapping. Additionally, they may not exactly match final target's pixel bounds after applying grid fitting and hinting.

Member Data Documentation

◆ bottom

FLOAT DWRITE_OVERHANG_METRICS::bottom

The distance from the bottom-most visible DIP to its bottom alignment edge.

◆ left

FLOAT DWRITE_OVERHANG_METRICS::left

The distance from the left-most visible DIP to its left alignment edge.

◆ right

FLOAT DWRITE_OVERHANG_METRICS::right

The distance from the right-most visible DIP to its right alignment edge.

◆ top

FLOAT DWRITE_OVERHANG_METRICS::top

The distance from the top-most visible DIP to its top alignment edge.


The documentation for this struct was generated from the following file: