Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Zoom using Ptimagearea: (3 Items)
   
Zoom using Ptimagearea  
Hi everyone

I am try to zoom picture in directory using ptimagearea.

does anyone have an example program/ sample program, how to make zoom picture using ptimagearea??

thank you
Best Regards
Afif.
Re: Zoom using Ptimagearea  
Hi Afif,

you can use PtSetResource with Pt_ARG_IMAGEAREA_ZOOM. 
E.g. 
PtSetResource(ABW_Image_for_zoom, Pt_ARG_IMAGEAREA_ZOOM, zoom, 0 );

For more information please read:
http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.photon_widget_ref%2Fptimagearea.html&cp=
17_2_2_31

Best regards,
Fedor
Re: Zoom using Ptimagearea  
Hi

thank you for replying..

I don't understand 
"The zooming factor, expressed as a fixed-point 16.16 number." part..

can you explain to me about it? because I want to adjust the number of zoom using slider.

thank you
best regards
afif