shithub: libnate

ref: 812d84e15bf64b6bdad838401acd8c8bbf25342b
dir: /n_image.h/

View raw version
extern char* NImage_Type;

typedef struct NImage NImage;
struct NImage {
	Nelem;
	DECL_ACCESSOR_OneParam(NImage, Image, Image*);
	DECL_ACCESSOR_OneParam(NImage, Offset, Point);
	DECL_ACCESSOR_OneParam(NImage, AutoSize, int);
	
	// private members
	Image *image;
	Point offset;
	int autosize;
};

NImage* New_Image(char*);