|
|
@ -135,7 +135,6 @@ struct AxisRecord |
|
|
|
return_trace (c->check_struct (this)); |
|
|
|
return_trace (c->check_struct (this)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
void get_coordinates (float &min, float &default_, float &max) const |
|
|
|
void get_coordinates (float &min, float &default_, float &max) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
default_ = defaultValue / 65536.f; |
|
|
|
default_ = defaultValue / 65536.f; |
|
|
@ -144,6 +143,11 @@ struct AxisRecord |
|
|
|
max = hb_max (default_, maxValue / 65536.f); |
|
|
|
max = hb_max (default_, maxValue / 65536.f); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float get_default () const |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return defaultValue / 65536.f; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public: |
|
|
|
public: |
|
|
|
Tag axisTag; /* Tag identifying the design variation for the axis. */ |
|
|
|
Tag axisTag; /* Tag identifying the design variation for the axis. */ |
|
|
|
protected: |
|
|
|
protected: |
|
|
|