Results 1 to 5 of 5

Thread: Printer again :o)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    23

    Printer again :o)

    Hi everyone,

    I have some printer questions, hope someone can help me.

    I want to draw at circle in a picture box, I also want to justify (make the circle bigger or smaller) by clicking or point the mouse in the picture.

    After drawing the circle I want to print the picture but only the part there is inside the circle.

    Thanks in advance.
    Regards

  2. #2
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049

    Re: Printer again :o)

    Welcome to the forums hop

    Well what you are asking isn't easily done. It's doable though.

    For the circle just draw it using the standard shape control - no need to go all specialist on that. For the radius change, well.. on mouse_down detect changes in the X or Y and change the radius according to that. It might require a bit of fine-tuning though.

    Then the funny part..., actually only printing the part within the circle, this requires a BitBlt mask of which you can then take a sorta snapshot of which you draw in a new picturebox or just a image handle and print that.

    If no one posts any code till tonight I'll give it a go if you need an example

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    23

    Re: Printer again :o)

    Thank you for the quick answer and for welcome me to the forum.

    It will be nice if someone posts me an example.

    Regards HOP

  4. #4
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049

    Re: Printer again :o)

    I'll see what I can do tonight if no one beats me to it

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    23

    Re: Printer again :o)

    Is there somebody there can help me regarding this problem?

    It’s very importing for me to find a solution so I can print an image but only that inside a circle.

Posting Permissions

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



Click Here to Expand Forum to Full Width