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. Other Discussions
  3. IT & Infrastructure
  4. Can I ask questions about printer HP-GL/2 language here?

Can I ask questions about printer HP-GL/2 language here?

Scheduled Pinned Locked Moved IT & Infrastructure
helpcsharpgraphicsregexquestion
1 Posts 1 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.
  • D Offline
    D Offline
    Duong Tien Nam
    wrote on last edited by
    #1

    I am writing a PCL renderer library for my draw control and stuffed in some detail. I wonder that anyone here can help me solve them, or are there any forums talk about this? Because the .NET graphics supports some specical pattern fill in HatchBrush object, to render it in PCL, I need to use RF (user defined raster fill) command along with FT (fill type) command to fill my rectangle. The problem is the hatch brush support foreground and backgroud color for its fill, but the HP-GL only support black and white fill. I read in some document and below is what they says about the pattern's color: Pen Number - Represents a pixel in the pattern being defined and indicates its color (black or white). 0 - White >0 - Black but other document says: The pen_number parameters define pixel left to right, top to bottom. Each pixel takes on the color of the specified pen (negative numbers a treated as zero). It's seems that the first one is what I meet, so what should I do the get the second effect? Please help me, thanks alot.

    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