Lines Matching refs:Rectangle
698 extracted values. As a small example, let's say we have a Rectangle class:
703 class Rectangle
709 Rectangle() : height(3), width(5) {}
710 Rectangle(int H) : height(H), width(H*2-1) {}
711 Rectangle(int H, int W) : height(H), width(W) {}
718 perimeter of Rectangle objects
720 To obtain this, we can simply attach a small Python script to the Rectangle
725 (lldb) type summary add -P Rectangle
737 (Rectangle) r1 = Area: 20, Perimeter: 18
738 (Rectangle) r2 = Area: 72, Perimeter: 36
739 (Rectangle) r3 = Area: 16, Perimeter: 16
788 …etChildMemberWithName('width').GetValueAsUnsigned(0); return 'Area: %d' % (height*width)" Rectangle