Results 1 to 3 of 3

Thread: how to get teh gripper for images in OpenGL

  1. #1
    Member Contributor
    Join Date
    Jun 2009

    how to get teh gripper for images in OpenGL

    Hello there,

    I am able to load an image file in the GLCanvas. And am also able to move it.. But i need to display a gripper ( some thing that is displayed at the four corners of the image when selected) .. Once this gripper get displayed, then it should be possible for me to scale, rotate or move depending on what tool on the gripper is used.

    Like for example, once i select an image, it should display four tools at four different corners, one corner to scale, one to rotate, one to move and another again to scale/rotate/move..

    How do i get this thing to work..?? i just want that, once i click on any of the image, it should first display gripper, and then it should allow me to perform various transformations...

    Thanks in advance

  2. #2
    Member Newbie
    Join Date
    Apr 2006

    Re: how to get teh gripper for images in OpenGL

    i don't think this is gl related but you could look at an existing ui to see how they handle it (no pun intended).

  3. #3
    Senior Member Regular Contributor
    Join Date
    Jun 2009
    FL , USA

    Re: how to get teh gripper for images in OpenGL

    I do not know whether this would help. So basically you want to display some mark at corners that represents your holder or gripper.

    If so , then just increase the corner vertex size using glPointSize();

Similar Threads

  1. Convert 2D images into Stereoscopic images
    By myk45 in forum OpenGL: General
    Replies: 1
    Last Post: 03-31-2013, 08:44 AM
  2. OpenGL Problem, images..
    By Makoy in forum OpenGL: Windows
    Replies: 2
    Last Post: 11-15-2004, 08:46 AM
  3. OpenGl and Images!!
    By pran1 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-26-2004, 04:52 AM
  4. big images with OpenGL
    By kamkam in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 03-13-2003, 07:54 AM
  5. images and OpenGl
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-13-2000, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean