/haiku/src/apps/glteapot/ |
H A D | teapot.h | 8 void auxSolidTeapot(GLdouble scale); 9 void auxWireTeapot(GLdouble scale);
|
H A D | ObjectView.cpp | 252 float scale = displayScale; local 253 glOrtho(-scale, scale, -scale, scale, -scale * depthOfView, 254 scale * depthOfView); 574 float scale = displayScale; local 580 glOrtho(-scale / fYxRatio, scale / fYxRati 612 float scale = displayScale; local [all...] |
/haiku/src/system/libroot/posix/musl/math/ |
H A D | __expo2.c | 10 double scale; local 12 /* note that k is odd and scale*scale overflows */ 13 INSERT_WORDS(scale, (uint32_t)(0x3ff + k/2) << 20, 0); 15 return exp(x - kln2) * scale * scale;
|
H A D | __expo2f.c | 10 float scale; local 12 /* note that k is odd and scale*scale overflows */ 13 SET_FLOAT_WORD(scale, (uint32_t)(0x7f + k/2) << 23); 15 return expf(x - kln2) * scale * scale;
|
H A D | exp2.c | 23 is scale*(1+TMP) without intermediate rounding. The bit representation of 24 scale is in SBITS, however it has a computed exponent that may have 27 adjustment of scale, positive k here means the result may overflow and 31 double_t scale, y; local 34 /* k > 0, the exponent of scale might have overflowed by 1. */ 36 scale = asdouble(sbits); 37 y = 2 * (scale + scale * tmp); 42 scale = asdouble(sbits); 43 y = scale 74 double_t kd, r, r2, scale, tail, tmp; local [all...] |
H A D | exp.c | 25 is scale*(1+TMP) without intermediate rounding. The bit representation of 26 scale is in SBITS, however it has a computed exponent that may have 29 adjustment of scale, positive k here means the result may overflow and 33 double_t scale, y; local 36 /* k > 0, the exponent of scale might have overflowed by <= 460. */ 38 scale = asdouble(sbits); 39 y = 0x1p1009 * (scale + scale * tmp); 44 scale = asdouble(sbits); 45 y = scale 76 double_t kd, z, r, r2, scale, tail, tmp; local [all...] |
H A D | pow.c | 118 is scale*(1+TMP) without intermediate rounding. The bit representation of 119 scale is in SBITS, however it has a computed exponent that may have 122 adjustment of scale, positive k here means the result may overflow and 126 double_t scale, y; local 129 /* k > 0, the exponent of scale might have overflowed by <= 460. */ 131 scale = asdouble(sbits); 132 y = 0x1p1009 * (scale + scale * tmp); 137 /* Note: sbits is signed scale. */ 138 scale 171 double_t kd, z, r, r2, scale, tail, tmp; local [all...] |
/haiku/src/libs/icon/shape/ |
H A D | PathSourceShape.cpp | 60 // min visibility scale 61 if (archive->FindFloat("min visibility scale", &fMinVisibilityScale) < B_OK) 64 // max visibility scale 65 if (archive->FindFloat("max visibility scale", &fMaxVisibilityScale) < B_OK) 87 // min visibility scale 89 ret = into->AddFloat("min visibility scale", fMinVisibilityScale); 91 // max visibility scale 93 ret = into->AddFloat("max visibility scale", fMaxVisibilityScale); 127 // min visibility scale 130 // max visibility scale 152 SetMinVisibilityScale(float scale) argument 163 SetMaxVisibilityScale(float scale) argument [all...] |
H A D | PathSourceShape.h | 61 void SetMinVisibilityScale(float scale); 64 void SetMaxVisibilityScale(float scale); 68 virtual bool Visible(float scale) const;
|
/haiku/src/libs/glut/ |
H A D | glut_teapot.c | 148 teapot(GLint grid, GLdouble scale, GLenum type) argument 160 glScalef(0.5 * scale, 0.5 * scale, 0.5 * scale); 208 glutSolidTeapot(GLdouble scale) argument 210 teapot(14, scale, GL_FILL); 214 glutWireTeapot(GLdouble scale) argument 216 teapot(10, scale, GL_LINE);
|
/haiku/src/tests/servers/app/font_spacing/ |
H A D | main.cpp | 55 float scale = Bounds().Width() / 400.0f; local 57 if (scale < 0.25f) 58 scale = 0.25f; 59 else if (scale > 3.0f) 60 scale = 3.0f; 62 SetScale(scale);
|
/haiku/src/libs/print/libprint/ |
H A D | GraphicsDriver.cpp | 243 BPoint scale; local 245 scale.x = scale.y = 1.0f; 249 scale.x = scale.y = 1.0f; 255 scale.x = height / 2.0f / width; 256 scale.y = width / height; 258 scale.x = height / width; 259 scale.y = width / 2.0f / height; 266 scale 324 GetOffset(int32 nup, int index, JobData::Orientation orientation, const BPoint* scale, BRect scaledPhysicalRect, BRect scaledPrintableRect, BRect physicalRect) argument 441 BPoint scale = GetScale(fOrgJobData->GetNup(), local [all...] |
H A D | PrintUtils.cpp | 40 ScaleRect(const BRect& rect, float scale) argument 44 scaleRect.left *= scale; 45 scaleRect.right *= scale; 46 scaleRect.top *= scale; 47 scaleRect.bottom *= scale;
|
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/ |
H A D | asm-syntax.h | 52 #define MEM_INDX1(base,idx,size_suffix,scale)R(base)@(R(idx):size_suffix:scale) 75 #define MEM_INDX1_(base,idx,size_suffix,scale)(R(base),R(idx##.##size_suffix*scale)) 76 #define MEM_INDX1(base,idx,size_suffix,scale)MEM_INDX1_(base,idx,size_suffix,scale) 79 #define MEM_INDX1(base,idx,size_suffix,scale)(R(base),R(idx).size_suffix*scale)
|
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | Int64Property.cpp | 71 Int64Property::InterpolateTo(const Property* other, float scale) argument 76 - fValue) * scale + 0.5));
|
H A D | Int64Property.h | 32 float scale);
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | yuv_converter.h | 36 static const int16 scale[5][4] = { variable 37 // Y pre-scale 61 // we need to substract 16 and scale to full range 176 "g" (c_offs), "g" (y_offs), "g" (masks), "g" (scale), "g" (masks_8bit),
|
/haiku/src/libs/icon/transformer/ |
H A D | PathSource.cpp | 83 PathSource::SetGlobalScale(double scale) argument 85 fGlobalScale = scale;
|
H A D | PathSource.h | 43 void SetGlobalScale(double scale);
|
/haiku/src/kits/shared/ |
H A D | StripeView.cpp | 34 int32 scale = icon_layout_scale(); local 35 fPreferredWidth = 18 * scale + fIcon.Bounds().Width(); 36 fPreferredHeight = 6 * scale + fIcon.Bounds().Height();
|
/haiku/src/kits/interface/ |
H A D | AffineTransform.cpp | 164 BAffineTransform::AffineScaling(double scale) argument 166 return BAffineTransform(scale, 0.0, 0.0, scale, 0.0, 0.0); 306 BAffineTransform::ScaleBy(const BPoint& center, double scale) argument 308 return ScaleBy(center, scale, scale); 322 BAffineTransform::ScaleBy(const BPoint& scale) argument 324 return ScaleBy(scale.x, scale.y); 329 BAffineTransform::ScaleBy(const BPoint& center, const BPoint& scale) argument 382 SetScale(double scale) argument [all...] |
/haiku/src/apps/drivesetup/ |
H A D | DiskView.cpp | 354 double scale = (double)size / parentSize; local 368 PartitionView* view = new PartitionView(name.String(), scale, offset, 373 layout->AddView(_FindInsertIndex(view, layout), view, scale); local 420 double scale = (double)size / parentSize; local 424 B_TRANSLATE("Empty space"), scale, offset, 429 layout->AddView(_FindInsertIndex(view, layout), view, scale); local 482 float scale = 1.0; local 483 view = new PartitionView("Disk", scale, 0, 0, -1); 484 layout->AddView(view, scale); 488 scale [all...] |
/haiku/headers/libs/agg/ |
H A D | agg_ellipse.h | 48 void approximation_scale(double scale); 80 inline void ellipse::approximation_scale(double scale) argument 82 m_scale = scale;
|
/haiku/src/apps/haikudepot/ui_generic/ |
H A D | BitmapView.cpp | 44 float scale = 1.0f; local 50 scale = std::min(hScale, vScale); 53 float width = bitmapBounds.Width() * scale; 54 float height = bitmapBounds.Height() * scale;
|
/haiku/src/add-ons/print/drivers/preview/ |
H A D | PageSetupWindow.cpp | 181 BString scale; local 182 if (fSetupMsg->FindFloat("scale", &scale0) == B_OK) 183 scale << (int)scale0; 185 scale = "100"; 187 fScaleControl = new BTextControl("scale", "Scale [%]:", 188 scale.String(), NULL); 252 float scale = atoi(fScaleControl->Text()); local 253 if (scale <= 0.0) scale = 100.0; 254 if (scale > 1000. [all...] |