Skip to main content

MediaCoordinates

MediaCoordinates

Represents a point in media coordinate space (source image pixels). More…

#include <CoordinateTypes.hpp>

Public Functions

Name
MediaCoordinates() =default
MediaCoordinates(float x_coord, float y_coord)

Public Attributes

Name
float x
float y

Detailed Description

struct MediaCoordinates;

Represents a point in media coordinate space (source image pixels).

Media coordinates are the pixel coordinates in the original source image/video. These coordinates are independent of how the image is scaled or displayed.

Public Functions Documentation

function MediaCoordinates

MediaCoordinates() =default

function MediaCoordinates

inline MediaCoordinates(
    float x_coord,
    float y_coord
)

Public Attributes Documentation

variable x

float x {0.0f};

variable y

float y {0.0f};

Updated on 2026-11-13 at 20:25:39 +0000