Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kpkale

    Filling Shapes with Pattern using Line command

    And... I am done... Got excellent results for hatching... ONly thing is that i did not use getcliprgn but used pathtoregion function to convert path to region and then used ptinregion to find out the points inside the region... got the starting and ending co-ordinates of each line to be drawing...
  2. kpkale

    Filling Shapes with Pattern using Line command

    I did the following: beginpath draw the glyphs end path pathtoregion and make a region And in the rectagle for every pixel check if the pixel is in the region... find the first and last point of every line of hatch... the draw the hatch. I have still not finished it, but expect to complete it...
  3. kpkale

    Filling Shapes with Pattern using Line command

    Hi All of you I could solve this problem using Regions and Path functionality of GDI. but your tips very valuable in solving this. Thanks for all your advice.
  4. kpkale

    Filling Shapes with Pattern using Line command

    Any way that you know where I could get the logic for hatching and still get the co-ordinates so that i could drive my pen? Logically, I feel that I will have to execute the rastering or font filling algorithm that is used by windows to fill fonts. I plan to write some code.. will post it as...
  5. kpkale

    Filling Shapes with Pattern using Line command

    That was indeed a great code. Thanks for that. However, I was wondering if it would solve my problem. Will I get the co-ordinates of the hatch lines as well as the text drawn by using getpath API Call?
  6. kpkale

    Filling Shapes with Pattern using Line command

    Though Line and Pset is not the best way of drawing on a picturebox, they are at present giving me the flexibility of drawing the TTF Fonts on screen. The Filling i require is mainly for filling of fonts. When using FillStyle, it does not differentiate between the holes that are not to be filled...
  7. kpkale

    Filling Shapes with Pattern using Line command

    Yes, The link I indicated does not do filling of shapes. I know of this FillStyle method verywell. However, that is not useful as I using only Line and PSet Commands to draw the characters in the Font. And in the same way for drawing various shapes, I am using only Line and Pset Commands.
  8. kpkale

    Filling Shapes with Pattern using Line command

    I am at present successful in reading a TTF File and getting the glyph points for characters and then drawing them on a picturebox using .line method of the picturebox. I can rotate them, or make them appear circular.. Attached bitmap No.1 will show the output at present. and the attached bitmap...
  9. kpkale

    Filling Shapes with Pattern using Line command

    I am trying to draw hatch patterns inside outline text (TTF) just as you do in a CAD program. Can anyone help to do this effectively.

Part and Inventory Search

Back
Top