Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved C#
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hkjghkj1
    wrote on last edited by
    #1

    [Message Deleted]

    0 1 Reply Last reply
    0
    • H hkjghkj1

      [Message Deleted]

      0 Offline
      0 Offline
      0x3c0
      wrote on last edited by
      #2

      Take a copy of where the inside rectangle should go. That'll give you the image in the centre. Draw the outside rectangle with the fill colour. Draw the copy of the image at the original co-ordinates of the inside rectangle. I don't really know how to explain this better without going into a fairly terse explanation, but that's the basic idea

      L 1 Reply Last reply
      0
      • 0 0x3c0

        Take a copy of where the inside rectangle should go. That'll give you the image in the centre. Draw the outside rectangle with the fill colour. Draw the copy of the image at the original co-ordinates of the inside rectangle. I don't really know how to explain this better without going into a fairly terse explanation, but that's the basic idea

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        or fill four rectangles, one for each side of the overall rectangle. or paint one rectangular outline with a wide pen. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups