int error = hw_ChangeRootDisplaySize(APTR handle, int width, int height, struct hwTagList *tags);
HWSATOP_RESIZE
operation for your satellite's dispatcher. It is
assumed that the satellite has already been resized when it calls this function. Calling
hw_ChangeRootDisplaySize()
, however, will trigger a satellite refresh so your dispatcher will
get some drawing events like HWSATOP_BLTBITMAP
.
Additionally, you can specify a taglist in the second parameter. The following tags are currently recognized:
HWCRDSTAG_SCALEWIDTH:
width
parameter
but the automatically calculated size could be a little bit of from your desired size
because of floating point inaccuracies. So if you want to enforce a specific scale width,
just set it in the iData
member of this tag. (V8.0)
HWCRDSTAG_SCALEHEIGHT:
height
parameter
but the automatically calculated size could be a little bit of from your desired size
because of floating point inaccuracies. So if you want to enforce a specific scale height,
just set it in the iData
member of this tag. (V8.0)
See hw_AttachDisplaySatellite for details.
NULL