canvas

  1. PracticalBot

    B4X FEED Print text, rectangle and image in PDFDocumet don't works.

    I try to create a PDF document using this library, based in the example of the post. It is a profile form, with a title in a rectangle and an image, The title with the rectangle is printing, but the image don't. What could be happen? How can I fix this? The code is below and the example is...
  2. practicalsoft

    B4X FEED Mouse Position on Canvas

    How do you get the mouse position relative to the corner of a Canvas? I may move the app around and I need the mouse position to be relative to what is drawn on the canvas. Or do I have to deduct the form position from the mouse position? Any ideas or code examples of this being done? Thanks...
  3. practicalsoft

    B4X FEED Filled Triangle: Which lib/ How to?

    I want to draw a filled triangle. DrawPath should do it My layout has a 'Canvas', referenced as a canvas. If I add B4X: Dim p1 as Path I get an error telling me that Path doesn't exist, and I cant find a library I can include that makes the error go away. I tried referencing my Canvas as a...
  4. practicalsoft

    B4X FEED Draw Canvas Lines (Angles) with Angle Numbers Each End

    Hi All, My app draws two lines (shaded rectangles) to represent two Airport Runways exactly to the angles that the user entered. I just need to place the runway markers at each end to represent the angle each runway is pointing to. I start off with drawing a shaded long and thin rectangle and...
عقب
بالا