Searched refs:SP_SCALE24_FROM_FLOAT (Results 1 - 6 of 6) sorted by relevance

/inkscape/src/
H A Ddesktop-style.cpp653 style_res->fill_opacity.value = SP_SCALE24_FROM_FLOAT (c[3]);
655 style_res->stroke_opacity.value = SP_SCALE24_FROM_FLOAT (c[3]);
722 style_res->opacity.value = SP_SCALE24_FROM_FLOAT(opacity_sum);
H A Dstyle-internal.h257 #define SP_SCALE24_FROM_FLOAT(v) unsigned(((v) * SP_SCALE24_MAX) + .5) macro
H A Dgradient-drag.cpp189 style->fill_opacity.value = SP_SCALE24_FROM_FLOAT (cf[3]);
191 style->stroke_opacity.value = SP_SCALE24_FROM_FLOAT (cf[3]);
194 style->opacity.value = SP_SCALE24_FROM_FLOAT (cf[3]);
H A Dstyle-internal.cpp153 value = SP_SCALE24_FROM_FLOAT( value_in );
/inkscape/src/ui/dialog/
H A Dobjects.cpp1485 item->style->opacity.value = SP_SCALE24_FROM_FLOAT(_opacity_adjustment->get_value() / _opacity_adjustment->get_upper());
1487 item->style->opacity.value = SP_SCALE24_FROM_FLOAT(_opacity_adjustment.get_value() / _opacity_adjustment.get_upper());
/inkscape/src/ui/tools/
H A Dtweak-tool.cpp740 style_opacity->value = SP_SCALE24_FROM_FLOAT(opacity);

Completed in 147 milliseconds