Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2715 closed Bug (Fixed)

mistake in helpfile

Reported by: rav_kr Owned by: Melba23
Milestone: 3.3.11.6 Component: Documentation
Version: 3.3.11.5 Severity: None
Keywords: Cc: rav_kr

Description

There is small mistake in comment in the example on page http://www.autoitscript.com/autoit3/docs/libfunctions/_GDIPlus_ImageScale.htm

Local Const $iW = @DesktopWidth / 4, $iH = @DesktopHeight / 4
Local $hHBmp = _ScreenCapture_Capture("", 0, 0, $iW, $iH) ;create a GDI bitmap by capturing 1/8 of desktop

it's not 1/8 but 1/16 of desktop (4*4=16 not 8)

Attachments (0)

Change History (4)

comment:1 by anonymous, 12 years ago

Local $hGUI = GUICreate("GDI+ test", $iW * $iScale, $iH * $iScale, -1, -1) ;create a test gui to display the rotated image
and another mistake in the same example... it should be display the resized image not display the rotated image

comment:2 by Melba23, 12 years ago

Milestone: 3.3.11.6
Owner: set to Melba23
Resolution: Fixed
Status: newclosed

Fixed by revision [10120] in version: 3.3.11.6

comment:3 by BrewManNH, 12 years ago

The first one is actually 1/4th of the desktop, not 1/8th or 1/16th. You're dividing the width and height by 4, not 8 or 16.

comment:4 by anonymous, 12 years ago

Fixed. Thanks.

M23

Modify Ticket

Action
as closed The owner will remain Melba23.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.