Exemple #1
0
JXImage::JXImage
	(
	JXDisplay*	display,
	Drawable	source
	)
	:
	JImage(0,0, display->GetColormap())
{
	JXImageFromDrawable(display, source, JRect());
}
Exemple #2
0
JXImage::JXImage
	(
	JXDisplay*		display,
	Drawable		source,
	const JRect&	rect
	)
	:
	JImage(rect.width(), rect.height(), display->GetColormap())
{
	JXImageFromDrawable(display, source, rect);
}
Exemple #3
0
JXImage::JXImage
	(
	JXDisplay*	display,
	JXColormap*	colormap,
	Drawable	source
	)
	:
	JImage(0,0, colormap)
{
	JXImageFromDrawable(display, colormap, source, JRect());
}
Exemple #4
0
JXImage::JXImage
	(
	JXDisplay*		display,
	JXColormap*		colormap,
	Drawable		source,
	const JRect&	rect
	)
	:
	JImage(rect.width(), rect.height(), colormap)
{
	JXImageFromDrawable(display, colormap, source, rect);
}