Searched refs:scale (Results 26 - 50 of 135) sorted by relevance

123456

/haiku/src/preferences/screensaver/
H A DUtility.h26 scale(int x, int y,BRect area) function
33 scale(int x1, int x2, int y1, int y2,BRect area) function
/haiku/src/add-ons/screen_savers/flurry/
H A DShared.h58 #define RandBell(scale) (scale * (1.0f - (rand() + rand() + rand()) / ((float) RAND_MAX * 1.5f)))
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/
H A DColorProperty.cpp150 ColorProperty::InterpolateTo(const Property* other, float scale) argument
156 a.red = a.red + (uint8)floorf((b.red - a.red) * scale + 0.5);
157 a.green = a.green + (uint8)floorf((b.green - a.green) * scale + 0.5);
158 a.blue = a.blue + (uint8)floorf((b.blue - a.blue) * scale + 0.5);
159 a.alpha = a.alpha + (uint8)floorf((b.alpha - a.alpha) * scale + 0.5);
H A DColorProperty.h40 float scale);
/haiku/src/kits/interface/layouter/
H A DSimpleLayouter.cpp288 // sum up the floating point weight, so we get a scale
289 double scale = 0; local
292 scale += info->weight;
297 if (scale == 0) {
305 // We scale the weights so that their sum is about 100000. This should
306 // give us ample resolution. If possible make the scale integer, so that
308 if (scale >= 1 && scale <= 100000)
309 scale = lround(100000 / scale);
[all...]
/haiku/src/add-ons/screen_savers/leaves/
H A DLeaves.cpp222 float scale = fLeafSize / kLeafWidth / (kMaximumLeafSize * 2); local
223 scale *= view->Bounds().Width();
224 scale += scale * drand48() * fSizeVariation / 100.;
232 transform.ScaleBy(scale);
236 BPoint gradientOffset = BPoint(60 * scale, 80 * scale);
/haiku/src/apps/mediaplayer/interface/
H A DDurationView.cpp111 DurationView::SetSymbolScale(float scale) argument
113 if (scale != 1.0f) {
115 font.SetSize(font.Size() * scale * 1.2);
H A DSymbolButton.cpp88 float scale = fBorders != 0 ? 2.5f : 1.0f; local
91 size.width = ceilf(fSymbol->Bounds().Width() * scale);
92 size.height = ceilf(fSymbol->Bounds().Height() * scale);
H A DSeekSlider.h36 void SetSymbolScale(float scale);
H A DDurationView.h39 void SetSymbolScale(float scale);
H A DSeekSlider.cpp191 SeekSlider::SetSymbolScale(float scale) argument
193 if (scale == fScale)
196 fScale = scale;
/haiku/src/libs/icon/shape/
H A DReferenceImage.h59 virtual bool Visible(float scale) const
H A DShape.h120 void SetGlobalScale(double scale);
126 virtual bool Visible(float scale) const = 0;
/haiku/headers/os/interface/
H A DAffineTransform.h64 static BAffineTransform AffineScaling(double scale);
106 inline const BAffineTransform& ScaleBy(double scale);
108 double scale);
112 const BAffineTransform& ScaleBy(const BPoint& scale);
114 const BPoint& scale);
118 BAffineTransform ScaleByCopy(double scale) const;
120 double scale) const;
124 BAffineTransform ScaleByCopy(const BPoint& scale) const;
126 const BPoint& scale) const;
128 const BAffineTransform& SetScale(double scale);
[all...]
/haiku/src/apps/icon-o-matic/generic/property/
H A DProperty.cpp78 Property::InterpolateTo(const Property* other, float scale) argument
199 IntProperty::InterpolateTo(const Property* other, float scale) argument
204 - fValue) * scale + 0.5));
334 FloatProperty::InterpolateTo(const Property* other, float scale) argument
338 return SetValue(fValue + (f->Value() - fValue) * scale);
453 UInt8Property::InterpolateTo(const Property* other, float scale) argument
458 - fValue) * scale + 0.5));
578 BoolProperty::InterpolateTo(const Property* other, float scale) argument
582 if (scale >= 0.5)
H A DProperty.h43 float scale);
82 float scale);
125 float scale);
166 float scale);
201 float scale);
/haiku/headers/libs/agg/
H A Dagg_path_storage_integer.h49 double scale=1.0) const
51 *x_ = dx + (double(x >> 1) / coord_scale) * scale;
52 *y_ = dy + (double(y >> 1) / coord_scale) * scale;
229 double dx, double dy, double scale=1.0)
236 m_scale = scale;
228 init(const int8u* data, unsigned size, double dx, double dy, double scale=1.0) argument
H A Dagg_trans_affine.h50 // * scale X to 2.0,
51 // * scale Y to 1.5,
158 const trans_affine& scale(double s);
159 const trans_affine& scale(double x, double y);
174 // there's no check for validity. If you set scale to 0 and
270 // Get the average scale (by X and Y).
273 double scale() const;
319 inline double trans_affine::scale() const function in class:agg::trans_affine
352 inline const trans_affine& trans_affine::scale(double x, double y) function in class:agg::trans_affine
366 inline const trans_affine& trans_affine::scale(doubl function in class:agg::trans_affine
[all...]
/haiku/src/apps/haikudepot/ui/
H A DPackageListView.cpp863 float scale = be_plain_font->Size() / 12.f; local
867 150 * scale, 50 * scale, 300 * scale,
870 80 * scale, 50 * scale, 100 * scale,
873 300 * scale, 80 * scale, 1000 * scale,
[all...]
/haiku/src/libs/print/libprint/
H A DPrintJobReader.cpp228 float scale = 1.0; local
229 fJobSettings.FindFloat("scale", &scale);
230 return scale;
/haiku/src/libs/icon/transformer/
H A DContourTransformer.cpp114 double scale = fSource->ApproximationScale(); local
117 scale *= factor;
118 return scale;
/haiku/src/apps/debuganalyzer/gui/chart/
H A DLegendChartAxis.cpp52 float totalSize, double scale)
54 float position = (value - fRange.min) * scale - legendSize / 2;
87 double scale = (double)totalSize / rangeSize; local
98 (float)totalSize, scale);;
105 (float)totalSize, scale);;
280 double scale = (double)totalSize / rangeSize; local
307 float position = (info->value - fRange.min) * scale;
324 (float)totalSize, scale);;
51 _LegendPosition(double value, float legendSize, float totalSize, double scale) argument
H A DLegendChartAxis.h40 float totalSize, double scale);
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.h45 int utils_parse_size(const char *value, s64 *size, BOOL scale);
46 int utils_parse_range(const char *string, s64 *start, s64 *finish, BOOL scale);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_fp.c181 MPN_VAR(scale);
223 hi = mpn_divmod (tmp, frac, fracsize, scale, scalesize);
447 scale = (mp_limb_t *) alloca (bignum_size);
516 cy = __mpn_mul (tmp, scale, scalesize,
528 MPN_ASSIGN (scale, tmp);
529 count_leading_zeros (cnt, scale[scalesize - 1]);
547 for (i = 0; scale[i] == 0 && frac[i] == 0; i++)
551 count_leading_zeros (cnt_h, scale[scalesize - 1]);
559 MPN_COPY_INCR (scale, scale
[all...]

Completed in 83 milliseconds

123456