Module polystrip::pixel[][src]

Methods for converting between screen space and pixel coordinates

This module defines the PixelTranslator type, which is created from a WindowTarget and translates coordinates based on the most recently given size (See WindowTarget::resize())

Structs

PixelTranslator

When constructed from a WindowTarget, tracks the window’s size and provides methods which convert between pixel space and screen space for that window.