FastUIDraw
Public Types | List of all members
fastuidraw::PathEnums Class Reference

Class to encapsulate enumerations used by Path and PathContour. More...

#include <path_enums.hpp>

Inheritance diagram for fastuidraw::PathEnums:
Inheritance graph
[legend]

Public Types

enum  edge_type_t { starts_new_edge, continues_edge }
 
enum  path_geometry_inflation_index_t {
  pixel_space_distance = 0, item_space_distance, pixel_space_distance_miter_joins, item_space_distance_miter_joins,
  path_geometry_inflation_index_count
}
 

Detailed Description

Class to encapsulate enumerations used by Path and PathContour.

Definition at line 33 of file path_enums.hpp.

Member Enumeration Documentation

◆ edge_type_t

A type_t specifies if an interpolator_base is to be viewed as starting a new edge or continuing a previous edge.

Enumerator
starts_new_edge 

Indicates the start of a new edge, thus the meeting place between the edges is given a join whose style how to be drawn is controllable.

continues_edge 

Indicates that the edge is a continuation of the previous edge.

Definition at line 41 of file path_enums.hpp.

◆ path_geometry_inflation_index_t

Enumeration to specify indexes into a c_array on how much a path's geometry is inflated by stroking.

Enumerator
pixel_space_distance 

Index into c_array to indicate how much the path geometry is inflated in pixels after its inflation in in item coordinates and having the current transformation matrix applied.

item_space_distance 

Index into c_array to indicate how much the path geometry is inflated in path cordinates before the transformation matrix applied or the inflation by pixel_space_distance is applied

pixel_space_distance_miter_joins 

Index into c_array to indicate how much the bounding box for taking miter-joins is inflated in pixels after its inflation in in item coordinates and having the current transformation matrix applied.

item_space_distance_miter_joins 

Index into c_array to indicate how much the bounding box for taking miter-joins is inflated in path cordinates before the transformation matrix applied or the inflation by pixel_space_distance_miter_joins is applied

Definition at line 61 of file path_enums.hpp.


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