Blaze.DistanceCachePoint Struct Reference

Detailed Description

A glyph vector is broken down into a series of points on its outline. These points are added to a grid - the distance cache - and used for fast distance testing during SDF rendering.

Public Member Functions

 DistanceCachePoint (float x, float y)
 

Public Attributes

float X
 The x coordinate of this point in pixel space. More...
 
float Y
 The y coordinate of this point in pixel space. More...
 

Constructor & Destructor Documentation

Blaze.DistanceCachePoint.DistanceCachePoint ( float  x,
float  y 
)
inline

Member Data Documentation

float Blaze.DistanceCachePoint.X

The x coordinate of this point in pixel space.

float Blaze.DistanceCachePoint.Y

The y coordinate of this point in pixel space.