Re: draw grid lines over an image in Javascript




kaczm...@xxxxxxxxxxx wrote:
Thank you very much for the feedback and example.

The grid will be used so that users can align objects correctly on the
underlying image, so two requirements would be to turn the grid "on"
and "off", and set the spacing between the lines. Width and color of
the lines in the grid will stay constant.


Will you be 'snapping' the objects to the grid? i.e. once an object is
dragged within a couple pixels of a gridline, it is brought up against
it. That would be pretty cool.

.



Relevant Pages

  • Re: draw grid lines over an image in Javascript
    ... The grid will be used so that users can align objects correctly on the ... underlying image, so two requirements would be to turn the grid "on" ... create a grid overlay ... I can't use any server side 3rd party components, ...
    (comp.lang.javascript)
  • Re: what is the Nyuist rate of an image?
    ... of pixels at a 45 degree angle, then the pixels *are* further apart. ... Consider this set of pixels laid out on a square grid: ... Suppose we have a wavefront travelling in the direction from A to I, ... if you think of this as a bar pattern) forms a diagonal ...
    (sci.image.processing)
  • Re: Performance question
    ... by software if the hardware cannot, could find the correct "minimap" to ... I need all 8 bits of data for grid location in order to determine what ... Is there a faster way to draw individual pixels on screen other than ... You'd store the state of the grid as a BDD proposition. ...
    (microsoft.public.dotnet.languages.csharp)
  • Update control when property haschanged
    ... I finally found how to update the render of my custom control when one of its property value changed. ... private EventHandler HandlerColorChanged; ... /// Specifies how a Table draws grid lines between its rows and columns ... public enum GridLine ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Pixel Snapping?
    ... It's a default that PhotoShop doesn't "snap" to individual pixels. ... (Preferences>Guides, Grid and Slices) ... the rectangle tool, creating a shape. ...
    (alt.graphics.photoshop)

Loading