Searched refs:scale (Results 1 - 25 of 135) sorted by relevance

123456

/haiku/src/apps/glteapot/
H A Dteapot.h8 void auxSolidTeapot(GLdouble scale);
9 void auxWireTeapot(GLdouble scale);
H A DObjectView.cpp252 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.c10 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.c10 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 Dexp2.c23 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 Dexp.c25 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 Dpow.c118 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 DPathSourceShape.cpp60 // 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 DPathSourceShape.h61 void SetMinVisibilityScale(float scale);
64 void SetMaxVisibilityScale(float scale);
68 virtual bool Visible(float scale) const;
/haiku/src/libs/glut/
H A Dglut_teapot.c148 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 Dmain.cpp55 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 DGraphicsDriver.cpp243 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 DPrintUtils.cpp40 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 Dasm-syntax.h52 #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 DInt64Property.cpp71 Int64Property::InterpolateTo(const Property* other, float scale) argument
76 - fValue) * scale + 0.5));
H A DInt64Property.h32 float scale);
/haiku/src/add-ons/media/media-add-ons/radeon/
H A Dyuv_converter.h36 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 DPathSource.cpp83 PathSource::SetGlobalScale(double scale) argument
85 fGlobalScale = scale;
H A DPathSource.h43 void SetGlobalScale(double scale);
/haiku/src/kits/shared/
H A DStripeView.cpp34 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 DAffineTransform.cpp164 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 DDiskView.cpp354 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 Dagg_ellipse.h48 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 DBitmapView.cpp44 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 DPageSetupWindow.cpp181 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...]

Completed in 358 milliseconds

123456