Hi all,
    I am a new member of this forum. I am facing a big problem and I need that resolution badly. I am using vb6 and gflsdk latest version. My code of rotation is given below,
rotateAngle = angle * sldRotate.Value
Dim Color As GFL_COLOR 'Background color
        Color.Red = 0
        Color.Blue = 0
        Color.Green = 0
PtrBitmap2 = gflCloneBitmap(GflBitmap) 'Clone bitmap
If PtrBitmap2 <> &H0 Then
    extGetGflBitmapFromPtr PtrBitmap2, GflBitmap2 'Get data on GflBitmap2
    'Picture1.Cls
    Error = gflRotateFine(GflBitmap2, PtrBitmap2, rotateAngle, Color)
    If Error = 0 Then
        extGetGflBitmapFromPtr PtrBitmap2, GflBitmap2 'If no error get data on GflBitmap2
    End If
End If
extShowBitmapOnDc GflBitmap2, Picture1.hdc 'Display picture on the DC
Picture1.Refresh
Always I am getting Error=0, but the picture is not rotating. Please tell me how to solve this prolem.
			
			
									
						
										
						Rpoblem with gflRotateFine method
Discussions on GFL SDK, the graphic library for reading and writing graphic files
			
			
				Jump to
				
			
		
			
			
	
	- General
- ↳ Info & Forum
- ↳ XnView - FAQ
- ↳ Miscellaneous
- XnView MP
- ↳ MP - Announcements
- ↳ MP - General Support
- ↳ MP - Bug reports
- ↳ New
- ↳ Reproduced - TODO
- ↳ Fixed in next version
- ↳ Retest
- ↳ Postponed
- ↳ Closed/Resolved
- ↳ MP - Suggestions
- ↳ MP - General [Français]
- XnView Classic
- ↳ Classic - General Support
- ↳ Classic - Bug Reports
- ↳ Classic - Suggestions
- ↳ Classic - General [Français]
- XnView Family
- ↳ XnConvert
- ↳ XnResize
- ↳ XnRetro, XnSketch, ...
- ↳ NConvert
- ↳ XnView Shell Extension
- ↳ Android & iOS: XnPhotoFx, XnRetro, XnSketch, ...
- ↳ XnView Pocket
- ↳ GFL SDK
- Contribution
- ↳ Customization
- ↳ Documentation
- ↳ XnView MP - Translation
- ↳ XnView Classic - Translation
- ↳ Testing - Closed/Solved
- ↳ 1.96 Testing - Feedback
- Archive
- ↳ XnView Un*x
- ↳ XnView Mac OS X
- ↳ Classic - Resolved Bugs & Requests
- ↳ MP - Resolved Bugs & Requests
- ↳ MP – Beta Testing
- ↳ New