Sha256: 7b390c414864871e32ac4675ff19a010913b8bcfcbad628cf72d3a95648d1eef

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

#ifndef SASS_UNITS_H
#define SASS_UNITS_H

#include <string>

namespace Sass {
  using namespace std;
  enum Unit { IN, CM, PC, MM, PT, PX, DEG, GRAD, RAD, TURN, INCOMMENSURABLE };
  extern double conversion_factors[10][10];
  Unit string_to_unit(const string&);
  double conversion_factor(const string&, const string&);
  // double convert(double, const string&, const string&);
}

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sassc-1.1.2 ext/libsass/units.hpp
sassc-1.1.1 ext/libsass/units.hpp
sassc-1.1.0 ext/libsass/units.hpp
sassc-1.0.0 ext/libsass/units.hpp
sassc-0.0.11 ext/libsass/units.hpp
sassc-0.0.10 ext/libsass/units.hpp