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. Managed C++/CLI
  4. Multi layering

Multi layering

Scheduled Pinned Locked Moved Managed C++/CLI
graphicshelpquestion
2 Posts 2 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.
  • A Offline
    A Offline
    Andreoli Carlo
    wrote on last edited by
    #1

    I just need to know if my approach to the problem is good or if there is a better way: Poroblem: i need to make an application that have 3 layer: 1) first layer contains a background image 2) second layer contains text that goes over image in trasparent way 3) third layer cotains vector like arrow...ellipse and similar things that goes over image and string let's say like a painting multylayer application...whis is the best way to do this?? by now i'm thinking at making 3 bitmaps, and on the paint calling i draw them in sequence one after the other. Is this the right way or there are some other way to try?? :doh: thanks in advance

    L 1 Reply Last reply
    0
    • A Andreoli Carlo

      I just need to know if my approach to the problem is good or if there is a better way: Poroblem: i need to make an application that have 3 layer: 1) first layer contains a background image 2) second layer contains text that goes over image in trasparent way 3) third layer cotains vector like arrow...ellipse and similar things that goes over image and string let's say like a painting multylayer application...whis is the best way to do this?? by now i'm thinking at making 3 bitmaps, and on the paint calling i draw them in sequence one after the other. Is this the right way or there are some other way to try?? :doh: thanks in advance

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

      I tend to use only one canvas (I prefer a Panel for that) and paint all the objects on it, in the right order. Transparancy in GDI/GDI+ is a mess. :)

      Luc Pattyn


      I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


      Local announcement (Antwerp region): Lange Wapper? 59.24% waren verstandig genoeg om NEEN te stemmen; bye bye viaduct.


      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