/haiku/src/preferences/screensaver/ |
H A D | Utility.h | 26 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 D | Shared.h | 58 #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 D | ColorProperty.cpp | 150 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 D | ColorProperty.h | 40 float scale);
|
/haiku/src/kits/interface/layouter/ |
H A D | SimpleLayouter.cpp | 288 // 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 D | Leaves.cpp | 222 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 D | DurationView.cpp | 111 DurationView::SetSymbolScale(float scale) argument 113 if (scale != 1.0f) { 115 font.SetSize(font.Size() * scale * 1.2);
|
H A D | SymbolButton.cpp | 88 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 D | SeekSlider.h | 36 void SetSymbolScale(float scale);
|
H A D | DurationView.h | 39 void SetSymbolScale(float scale);
|
H A D | SeekSlider.cpp | 191 SeekSlider::SetSymbolScale(float scale) argument 193 if (scale == fScale) 196 fScale = scale;
|
/haiku/src/libs/icon/shape/ |
H A D | ReferenceImage.h | 59 virtual bool Visible(float scale) const
|
H A D | Shape.h | 120 void SetGlobalScale(double scale); 126 virtual bool Visible(float scale) const = 0;
|
/haiku/headers/os/interface/ |
H A D | AffineTransform.h | 64 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 D | Property.cpp | 78 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 D | Property.h | 43 float scale); 82 float scale); 125 float scale); 166 float scale); 201 float scale);
|
/haiku/headers/libs/agg/ |
H A D | agg_path_storage_integer.h | 49 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 D | agg_trans_affine.h | 50 // * 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 D | PackageListView.cpp | 863 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 D | PrintJobReader.cpp | 228 float scale = 1.0; local 229 fJobSettings.FindFloat("scale", &scale); 230 return scale;
|
/haiku/src/libs/icon/transformer/ |
H A D | ContourTransformer.cpp | 114 double scale = fSource->ApproximationScale(); local 117 scale *= factor; 118 return scale;
|
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | LegendChartAxis.cpp | 52 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 D | LegendChartAxis.h | 40 float totalSize, double scale);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.h | 45 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 D | printf_fp.c | 181 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...] |