#include <framebuffer.h>
Public Member Functions | |
| BoxSize () | |
| BoxSize (int x, int y) | |
| int | nPixels () const |
| bool | operator== (const BoxSize &b) const |
| BoxSize objects comparation. Same meaning of operator as for built-in types. | |
| bool | operator!= (const BoxSize &b) const |
| Negated BoxSize objects comparation. Same meaning of operator as for built-in types. | |
Public Attributes | |
| int | width |
| Object width. | |
| int | height |
| Object height. | |
Definition at line 25 of file framebuffer.h.
| BoxSize::BoxSize | ( | ) | [inline] |
Construct BoxSize with zero size.
Definition at line 32 of file framebuffer.h.
| BoxSize::BoxSize | ( | int | x, | |
| int | y | |||
| ) | [inline] |
Construct BoxSize with given size.
| x | Object width. | |
| y | Object height. |
Definition at line 39 of file framebuffer.h.
| int BoxSize::nPixels | ( | ) | const [inline] |
| bool BoxSize::operator== | ( | const BoxSize & | b | ) | const [inline] |
BoxSize objects comparation. Same meaning of operator as for built-in types.
Definition at line 47 of file framebuffer.h.
Referenced by operator!=().
| bool BoxSize::operator!= | ( | const BoxSize & | b | ) | const [inline] |
Negated BoxSize objects comparation. Same meaning of operator as for built-in types.
Definition at line 54 of file framebuffer.h.
References operator==().
| int BoxSize::width |
Object width.
Definition at line 26 of file framebuffer.h.
Referenced by nPixels(), operator==(), FrameBuffer::operator[](), and MyFl_Image::uncache().
| int BoxSize::height |
Object height.
Definition at line 27 of file framebuffer.h.
Referenced by nPixels(), operator==(), and MyFl_Image::uncache().
1.5.2