Searched refs:scaleFactor (Results 1 - 4 of 4) sorted by relevance
/haiku/src/apps/cortex/ValControl/ |
H A D | NumericValControl.cpp | 238 // digitSegment->scaleFactor(), 244 // digitSegment->scaleFactor())); 272 double scaleFactor = pow(10, fFractionalDigits); local 274 int64 fixed = (int64)(value * scaleFactor); 275 double junk = (value * scaleFactor) - (double)fixed; 281 if (junk * scaleFactor < 0.5) 284 if (junk * scaleFactor >= 0.5) 288 value = (double)fixed / scaleFactor; 379 int64 segmentFactor = (int64)pow(10, fFractionalDigits + segment->scaleFactor()); 571 // digitSegment->scaleFactor(), [all...] |
H A D | ValControlDigitSegment.h | 63 // scaleFactor is the power of ten corresponding to the 70 int16 scaleFactor, 76 int16 scaleFactor() const;
|
H A D | ValControlDigitSegment.cpp | 62 int16 scaleFactor, 71 m_scaleFactor(scaleFactor), 85 int16 ValControlDigitSegment::scaleFactor() const { function in class:ValControlDigitSegment 378 err = pArchive->FindInt16("scaleFactor", &m_scaleFactor); 387 pArchive->AddInt16("scaleFactor", m_scaleFactor); 60 ValControlDigitSegment( uint16 digitCount, int16 scaleFactor, bool negativeVisible, display_flags flags) argument
|
/haiku/src/servers/app/decorator/ |
H A D | TabDecorator.cpp | 239 const float scaleFactor = max_c(fDrawState.Font().Size() / 12.0f, 1.0f); local 265 fBorderWidth = int32(fBorderWidth * scaleFactor); 266 fResizeKnobSize = kResizeKnobSize * scaleFactor; 267 fBorderResizeLength = kBorderResizeLength * scaleFactor;
|
Completed in 48 milliseconds