Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 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 Changed 10 years ago by anonymous

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 Changed 10 years ago by Melba23

  • Milestone set to 3.3.11.6
  • Owner set to Melba23
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [10120] in version: 3.3.11.6

comment:3 Changed 10 years ago by BrewManNH

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 Changed 10 years ago by anonymous

Fixed. Thanks.

M23

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Melba23.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.