Пример #1
0
Pixel::Pixel (const BRect& b)
{
  Math::Vector2 c = b.center ();
  center = Math::Vector2 (c.x, c.y);

  Math::Vector2 s = b.size ();

  size = s.x;
  if (s.y > size) size = s.y;
}