shithub: libnate

ref: 228a7b0eeda3531eb0bf0efa2211e4532af69681
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*);