代码搜索:rectangle
找到约 10,000 项符合「rectangle」的源代码
代码结果 10,000
www.eeworm.com/read/456497/7347973
h rectangle.h
// Rectangle.h: interface for the Rectangle class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RECTANGLE_H__9E87233D_ED13_4D3B_9CF7_E33330E014DF__IN
www.eeworm.com/read/456467/7348894
cpp rectangle.cpp
#include "Rectangle.h"
Rectangle::Rectangle(float x,float y,float w,float h):Point(x,y)
{
W = w;
H = h;
}
float Rectangle::GetH()
{
return H;
}
float Rectangle::GetW()
{
re
www.eeworm.com/read/456467/7348909
obj rectangle.obj
www.eeworm.com/read/456467/7348913
h rectangle.h
#include "Point.h"
class Rectangle:public Point
{
public:
Rectangle(float x,float y,float w,float h);
float GetH() ;
float GetW() ;
private:
float W,H;//定义长和宽
};
www.eeworm.com/read/456187/7355752
class rectangle.class
www.eeworm.com/read/453729/7413697
class rectangle.class
www.eeworm.com/read/453727/7413729
class rectangle.class
www.eeworm.com/read/453046/7427835
java rectangle.java
package book.graphic.painter2D;
import java.awt.Color;
import java.awt.Graphics;
// 画矩形
public class Rectangle implements Shape {
// 矩形左上角位置的坐标,x、y值
private int x;
private int y;
//
www.eeworm.com/read/447511/7550018
h rectangle.h
class Rectangle
{
public:
void Init(double Initx,double Inity); //设定宽、高的初始值
double GetWidth(){return Width;} //得到宽度
double GetHeight(){return Height;} //得到高度
double Area(