Searched refs:kLeafWidth (Results 1 - 2 of 2) sorted by relevance

/haiku/src/add-ons/screen_savers/leaves/
H A DLeaves.cpp50 static const float kLeafWidth = 372.f; variable
222 float scale = fLeafSize / kLeafWidth / (kMaximumLeafSize * 2);
227 transform.TranslateBy(-kLeafWidth / 2, -kLeafHeight / 2);
235 BPoint center = transform.Apply(BPoint(kLeafWidth / 2, kLeafHeight / 2));
/haiku/src/preferences/printers/
H A DTestPageView.cpp59 static const float kLeafWidth = 372.f; variable
81 float scale = Bounds().Width() / kLeafWidth;
85 // BGradientRadial gradient(BPoint(kLeafWidth * 0.75, kLeafHeight * 1.5),
86 // kLeafWidth * 2);
88 transform.Apply(BPoint(kLeafWidth, kLeafHeight)));

Completed in 79 milliseconds