Results 1 to 4 of 4

Thread: vgDrawImage leaving a rect around image?

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    5

    vgDrawImage leaving a rect around image?

    Hi,
    I am drawing a VGImage using vgDrawImage,after a scale and translate transformations.
    Now at some scale levels there is a filled area left besides the image, which is approx fills the area representing the difference in the original and scaled version of the image.
    Any hint why this is happening?
    Thanks in advance.

  2. #2
    Junior Member
    Join Date
    Feb 2005
    Posts
    5

    Re: vgDrawImage leaving a rect around image?

    Also to mention the problem I see is like this:
    The original image size is w:200, h:200 and after transformations it gets scaled to w:100, h:100. So the image gets drawn properly from 0,0 to 100,100, but there is a text color patch from 100,0 to 200,200 & one from 0,100 to 200,200. How to get rid of this patch? What am I doing wrong which makes this patch appear?

  3. #3
    Junior Member
    Join Date
    Feb 2005
    Posts
    5

    Re: vgDrawImage leaving a rect around image?

    Is there any relation between the vgSetColor and vgDrawImage? As the patch am seeing is of the color which is set by calling vgSetColor before the vgDrawImage is done.

  4. #4
    Senior Member
    Join Date
    Feb 2006
    Posts
    115

    Re: vgDrawImage leaving a rect around image?

    Don't think this should ever be happening - sounds like a bug somewhere (maybe in the driver). Try adding a small rotation (0.001 degrees type thing) and see if the problem goes away.

Similar Threads

  1. [need another set of eyes] update rect slanting image
    By ycavan in forum OpenGL ES general technical discussions
    Replies: 2
    Last Post: 10-19-2008, 06:42 PM
  2. vgDrawImage is not working please help!
    By deepakgarg in forum OpenVG and VGU
    Replies: 1
    Last Post: 08-06-2008, 02:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •