Ejemplo n.º 1
0
func NewRect(left, top, right, bottom int) *Rect {
	var newRect Rect
	w32.SetRectEmpty(&newRect.rect)
	newRect.Set(left, top, right, bottom)

	return &newRect
}
Ejemplo n.º 2
0
func NewEmptyRect() *Rect {
	var newRect Rect
	w32.SetRectEmpty(&newRect.rect)

	return &newRect
}
Ejemplo n.º 3
0
func NewEmptyRect() *Rect {
	var newRect Rect
	w32.SetRectEmpty((*w32.RECT)(&newRect))

	return &newRect
}