/haiku/src/apps/drivesetup/ |
H A D | DiskView.cpp | 354 double scale = (double)size / parentSize; local 364 PartitionView* view = new PartitionView(name.String(), scale, offset, 369 layout->AddView(_FindInsertIndex(view, layout), view, scale); local 416 double scale = (double)size / parentSize; local 420 B_TRANSLATE("Empty space"), scale, offset, 425 layout->AddView(_FindInsertIndex(view, layout), view, scale); local 478 float scale = 1.0; local 479 view = new PartitionView("Disk", scale, 0, 0, -1); 480 layout->AddView(view, scale); 484 scale [all...] |
/haiku/src/servers/app/font/ |
H A D | FontCacheEntry.cpp | 355 double scale) 374 pathAdapter.init(glyph->data, glyph->data_size, x, y, scale); 352 InitAdaptors(const GlyphCache* glyph, double x, double y, GlyphMonoAdapter& monoAdapter, GlyphGray8Adapter& gray8Adapter, GlyphPathAdapter& pathAdapter, double scale) argument
|
/haiku/src/kits/tracker/ |
H A D | PoseView.cpp | 2231 int32 scale; local 2234 } else if (message->FindInt32("scale", &scale) == B_OK 2236 if (scale == 0 && (int32)UnscaledIconSizeInt() != 32) { 2244 } else if (scale == 1 && (int32)UnscaledIconSizeInt() != 128) {
|
/haiku/src/servers/app/ |
H A D | ServerWindow.cpp | 1589 float scale; local 1590 if (link.Read<float>(&scale) != B_OK) 1594 "View: %s -> scale: %.2f\n", Title(), fCurrentView->Name(), 1595 scale)); 1597 fCurrentView->SetScale(scale); 1603 float scale = fCurrentView->CurrentState()->Scale(); local 1606 "View: %s -> scale: %.2f\n", 1607 Title(), fCurrentView->Name(), scale)); 1610 fLink.Attach<float>(scale); 2232 // NOTE: looks like this call is NOT affected by origin and scale 2788 float scale = fCurrentView->CurrentState()->CombinedScale(); local 3323 float scale; local [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/icon/transformer/ |
H A D | StrokeTransformer.cpp | 125 double scale = fSource->ApproximationScale(); local 128 scale *= factor; 129 return scale;
|
H A D | PerspectiveTransformer.cpp | 165 return fSource->ApproximationScale() * scale();
|
H A D | ContourTransformer.cpp | 114 double scale = fSource->ApproximationScale(); local 117 scale *= factor; 118 return scale;
|
H A D | AffineTransformer.cpp | 96 return fabs(fSource->ApproximationScale() * scale()); 141 // scale
|
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/apps/glteapot/ |
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/libs/icon/shape/ |
H A D | VectorPath.cpp | 498 float scale = (distIn + distOut) / distIn; local 499 v.x *= scale; 500 v.y *= scale; 535 float scale = (distIn + distOut) / distOut; local 536 v.x *= scale; 537 v.y *= scale; 706 VectorPath::FindBezierScale(int32 index, BPoint point, double* scale) const 708 if (index >= 0 && index < fPointCount && scale) { 714 *scale = 0.0; 727 *scale [all...] |
H A D | Shape.h | 120 void SetGlobalScale(double scale); 126 virtual bool Visible(float scale) const = 0;
|
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;
|
H A D | Shape.cpp | 474 Shape::SetGlobalScale(double scale) argument 476 fPathSource.SetGlobalScale(scale);
|
H A D | ReferenceImage.h | 59 virtual bool Visible(float scale) const
|
/haiku/src/apps/icon-o-matic/shape/ |
H A D | PathManipulator.cpp | 1242 scale_point(BPoint a, BPoint b, float scale) argument 1244 return BPoint(a.x + (b.x - a.x) * scale, 1245 a.y + (b.y - a.y) * scale); 1252 double scale; local 1263 if (fPath->FindBezierScale(index - 1, where, &scale) 1264 && scale >= 0.0 && scale <= 1.0 1265 && fPath->GetPoint(index - 1, scale, point)) { 1272 where = scale_point(previousOut, nextIn, scale); 1274 previousOut = scale_point(previous, previousOut, scale); [all...] |
/haiku/src/libs/icon/ |
H A D | IconRenderer.h | 66 void SetScale(double scale);
|
H A D | IconRenderer.cpp | 476 IconRenderer::SetScale(double scale) argument 479 fGlobalTransform.multiply(agg::trans_affine_scaling(scale)); 565 if (!shape->Visible(fGlobalTransform.scale())) { 607 // global scale 608 shape->SetGlobalScale(max_c(1.0, transform.scale()));
|
/haiku/headers/libs/agg/ |
H A D | agg_trans_perspective.h | 98 const trans_perspective& scale(double s); 99 const trans_perspective& scale(double x, double y); 221 double scale() const; 557 inline const trans_perspective& trans_perspective::scale(double s) function in class:agg::trans_perspective 564 inline const trans_perspective& trans_perspective::scale(double x, double y) function in class:agg::trans_perspective 680 inline double trans_perspective::scale() const function in class:agg::trans_perspective
|
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/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/apps/icon-o-matic/import_export/svg/ |
H A D | DocumentBuilder.cpp | 90 double scale = 64.0 / size; local 91 printf("scale: %f\n", scale); 95 transform.ScaleBy(B_ORIGIN, scale, scale); 300 // Finally, scale the gradient according to the global scaling to fit 339 stroke->width(stroke->width() * shape->scale());
|