MCPcopy Create free account

hub / github.com/CreativeInquiry/PEmbroider / functions

Functions408 in github.com/CreativeInquiry/PEmbroider

↓ 1,334 callersMethodget
get the direction vector at given coordinate @param x x coordinate of the sample point @param y y coordinate of the sample point
src/processing/embroider/PEmbroiderGraphics.java:4869
↓ 172 callersMethodwriteInt8
(int value)
src/processing/embroider/PEmbroiderWriter.java:310
↓ 124 callersMethodwrite
(String filename, ArrayList<ArrayList<PVector>> polylines, ArrayList<Integer> colors, int width, int height)
src/processing/embroider/PEmbroiderWriter.java:2323
↓ 88 callersMethodwriteInt16LE
(int value)
src/processing/embroider/PEmbroiderWriter.java:653
↓ 68 callersMethodset
(int x, int y, int v)
src/processing/embroider/PEmbroiderHatchSatin.java:69
↓ 42 callersMethodwriteInt32LE
(int value)
src/processing/embroider/PEmbroiderWriter.java:664
↓ 38 callersMethodendShape
End drawing a polygon. at this moment the polygon will be actually drawn to the design @param close whether or not to close the polyline (forming po
src/processing/embroider/PEmbroiderGraphics.java:4207
↓ 35 callersMethodvertex
Add vertex to the current polygon/polyline. This must be preceded by beginShape() @param x x coordinate of the vertex @param y y coordinate of t
src/processing/embroider/PEmbroiderGraphics.java:4038
↓ 32 callersMethodclear
Clear all current drawings.
src/processing/embroider/PEmbroiderGraphics.java:232
↓ 29 callersMethodbeginShape
Begin drawing a polygon/polyline. use vertex() to add vertices to it.
src/processing/embroider/PEmbroiderGraphics.java:4025
↓ 29 callersMethodendDraw
Save the drawing to file
src/processing/embroider/PEmbroiderGraphics.java:4508
↓ 28 callersMethodbeginDraw
Supposed to initialize something, but as we currently don't need to, this is a NOP
src/processing/embroider/PEmbroiderGraphics.java:4501
↓ 24 callersMethodfill
Change fill color @param r red value, 0-255 @param g green value, 0-255 @param b blue value, 0-255 @see stroke
src/processing/embroider/PEmbroiderGraphics.java:246
↓ 23 callersMethodbit
(int b)
src/processing/embroider/PEmbroiderWriter.java:52
↓ 21 callersMethodstroke
Change stroke color @param r red value, 0-255 @param g green value, 0-255 @param b blue value, 0-255 @see fill
src/processing/embroider/PEmbroiderGraphics.java:271
↓ 21 callersMethodwriteInt32BE
(int value)
src/processing/embroider/PEmbroiderWriter.java:319
↓ 19 callersMethodtell
()
src/processing/embroider/PEmbroiderWriter.java:374
↓ 18 callersMethodfindContours
(int[] F, int w, int h)
src/processing/embroider/PEmbroiderTrace.java:233
↓ 18 callersMethodisOn
(int x, int y)
src/processing/embroider/PEmbroiderHatchSatin.java:63
↓ 18 callersMethodstrokeWeight
Change width of stroke @param d the stroke weight to use
src/processing/embroider/PEmbroiderGraphics.java:293
↓ 17 callersMethodapproxPolyDP
(ArrayList<PVector> polyline, float epsilon)
src/processing/embroider/PEmbroiderTrace.java:369
↓ 15 callersMethodpushPolyline
Add a polyline to the global array of all polylines drawn Applying transformation matrices and resampling All shape drawing routines go through this
src/processing/embroider/PEmbroiderGraphics.java:1077
↓ 15 callersMethodwriteInt16BE
(int value)
src/processing/embroider/PEmbroiderWriter.java:314
↓ 14 callersMethodnoStroke
Disable outlining shapes
src/processing/embroider/PEmbroiderGraphics.java:286
↓ 14 callersMethodwrite
(String string)
src/processing/embroider/PEmbroiderWriter.java:361
↓ 11 callersMethodspace_holder
(int skip)
src/processing/embroider/PEmbroiderWriter.java:365
↓ 10 callersMethodhiPt
(Im im)
src/processing/embroider/PEmbroiderHatchSatin.java:88
↓ 10 callersMethodtranslate
Translate subsequent drawing calls @param x x offset to translate @param y y offset to translate
src/processing/embroider/PEmbroiderGraphics.java:4374
↓ 9 callersMethodimage
Draw an image @param im a PImage, PGraphics also qualify @param x left @param y top @param w width @param h height
src/processing/embroider/PEmbroiderGraphics.java:4760
↓ 9 callersMethodoperator
(int mode)
src/processing/embroider/PEmbroiderBooleanShapeGraphics.java:23
↓ 9 callersMethodpop
()
src/processing/embroider/PEmbroiderWriter.java:333
↓ 9 callersMethodsegmentIntersect3D
Intersect two segments in 3D, returns lerp params instead of actual points, because the latter can cheaply be derived from the former; more expensive
src/processing/embroider/PEmbroiderGraphics.java:618
↓ 9 callersMethodwritePesString8
(String string)
src/processing/embroider/PEmbroiderWriter.java:955
↓ 8 callersMethodfloodfillQ
(Im prev, Im src, Im dst, Pt p0, int[] areaOut)
src/processing/embroider/PEmbroiderHatchSatin.java:136
↓ 8 callersMethodloPt
(Im im)
src/processing/embroider/PEmbroiderHatchSatin.java:99
↓ 8 callersMethodmergeImpl
merge ith fragment of second chunk to first chunk @param c0 fragments from first chunk @param c1 fragments from second chunk @param i index of
distribution/PEmbroider/examples/PEmbroider_trace_skeleton/TraceSkeleton.java:90
↓ 8 callersMethodmergeImpl
merge ith fragment of second chunk to first chunk @param c0 fragments from first chunk @param c1 fragments from second chunk @param i index of
distribution/PEmbroider/examples/PEmbroider_oneliner/TraceSkeleton.java:90
↓ 8 callersMethodmergeImpl
merge ith fragment of second chunk to first chunk @param c0 fragments from first chunk @param c1 fragments from second chunk @param i index of
examples/PEmbroider_trace_skeleton/TraceSkeleton.java:90
↓ 8 callersMethodmergeImpl
merge ith fragment of second chunk to first chunk @param c0 fragments from first chunk @param c1 fragments from second chunk @param i index of
examples/PEmbroider_oneliner/TraceSkeleton.java:90
↓ 8 callersMethodnoFill
Disable filling shapes
src/processing/embroider/PEmbroiderGraphics.java:261
↓ 8 callersMethodstrokeJoin
Change stroke join (turning point) style @param j Same as Processing strokeJoin, this can be ROUND, MITER, BEVEL etc. @see strokeCap
src/processing/embroider/PEmbroiderGraphics.java:301
↓ 6 callersMethod_stroke
draws stroke (outline) for (a) poly(gon/line)(s) using current global settings by the user. returns nothing, because it draws to the design directly.
src/processing/embroider/PEmbroiderGraphics.java:2298
↓ 6 callersMethodcalcAxisAngleForParallel
Hatch a polygon with global user settings (using vector math). Returns nothing because the result is directly pushed to the design. @param poly the
src/processing/embroider/PEmbroiderGraphics.java:3685
↓ 6 callersMethodencode_long_form
(int value)
src/processing/embroider/PEmbroiderWriter.java:879
↓ 6 callersMethodpolygonOrientation
Check the winding orientation of polygon, clockwise or anti-clockwise @param poly a polygon @return whether the polygon is positively oriented
src/processing/embroider/PEmbroiderGraphics.java:1215
↓ 5 callersMethodbeginContour
Begin a contour within the current polygon, if this contour has negative winding and is inside the current polygon or another contour defined between
src/processing/embroider/PEmbroiderGraphics.java:4335
↓ 5 callersMethodcenterpoint
Averages a bunch of points @param poly a bunch of points @return a vector holding the average value
src/processing/embroider/PEmbroiderGraphics.java:645
↓ 5 callersMethodendContour
Done with adding a contour
src/processing/embroider/PEmbroiderGraphics.java:4342
↓ 5 callersMethodfind_color
(int color)
src/processing/embroider/PEmbroiderWriter.java:742
↓ 5 callersMethodget
(int x, int y)
src/processing/embroider/PEmbroiderHatchSatin.java:54
↓ 5 callersMethodinsetPolygon
Inset a polygon (making it slightly smaller fitting in the original polygon) Inverse of offsetPolygon, alias for offsetPolygon(poly, -d); @param pol
src/processing/embroider/PEmbroiderGraphics.java:1332
↓ 5 callersMethodline
Draw a line @param x0 x coordinate of first endpoint @param y0 y coordinate of first endpoint @param x1 x coordinate of second endpoint @param
src/processing/embroider/PEmbroiderGraphics.java:3969
↓ 5 callersMethodpointInPolygon
Check if a point is inside a polygon. @param p the point in question @param poly the polygon @param trials try a couple times to be sure, otherwis
src/processing/embroider/PEmbroiderGraphics.java:884
↓ 5 callersMethodpopMatrix
Restore previous state of transformatino
src/processing/embroider/PEmbroiderGraphics.java:4366
↓ 5 callersMethodpushMatrix
Save the current state of transformation
src/processing/embroider/PEmbroiderGraphics.java:4360
↓ 5 callersMethodrect
Draw a rectangle @param a the first parameter, the meaning of which depends on rectMode @param b the second parameter, the meaning of which depe
src/processing/embroider/PEmbroiderGraphics.java:3931
↓ 5 callersMethodwrite_pec
()
src/processing/embroider/PEmbroiderWriter.java:728
↓ 4 callersMethod_arc
(float cx, float cy, float rx, float ry, float start, float stop, int mode)
src/processing/embroider/PEmbroiderGraphics.java:3593
↓ 4 callersMethod_ellipse
Draw an ellipse using global settings. The unambigous backend for user-facing ellipse(), the ambigous one which can be affected by ellipseMode(). Re
src/processing/embroider/PEmbroiderGraphics.java:3580
↓ 4 callersMethod_rect
Draw a rectangle using global settings. The unambigous backend for user-facing rect(), the ambigous one which can be affected by rectMode(). Returns
src/processing/embroider/PEmbroiderGraphics.java:3622
↓ 4 callersMethod_roundedRect
(float x, float y, float w, float h, float tl, float tr, float br, float bl)
src/processing/embroider/PEmbroiderGraphics.java:3632
↓ 4 callersMethodcurveVertex
(float x, float y)
src/processing/embroider/PEmbroiderGraphics.java:4187
↓ 4 callersMethoddata
(int x)
src/processing/embroider/PEmbroiderFont.java:311
↓ 4 callersMethodencodeRecord
(byte[] command, int x, int y, int flags)
src/processing/embroider/PEmbroiderWriter.java:56
↓ 4 callersMethodhatchParallelRaster
Hatch an image using PARALLEL fill (with raster algorithms) @param mask a binary image/graphics, white means on, black means off @param ang
src/processing/embroider/PEmbroiderGraphics.java:4932
↓ 4 callersMethodhighBezierVertex
Add a higher-order bezier vertex to the current polygon/polyline. This must be preceded by beginShape() and at least a vertex() @param poly control
src/processing/embroider/PEmbroiderGraphics.java:4169
↓ 4 callersMethodlog
(String x)
src/processing/embroider/PEmbroiderTSP.java:40
↓ 4 callersMethodnotEmpty
(boolean[] im, int W, int H, int x, int y, int w, int h)
distribution/PEmbroider/examples/PEmbroider_trace_skeleton/TraceSkeleton.java:68
↓ 4 callersMethodnotEmpty
(boolean[] im, int W, int H, int x, int y, int w, int h)
distribution/PEmbroider/examples/PEmbroider_oneliner/TraceSkeleton.java:68
↓ 4 callersMethodnotEmpty
(boolean[] im, int W, int H, int x, int y, int w, int h)
examples/PEmbroider_trace_skeleton/TraceSkeleton.java:68
↓ 4 callersMethodnotEmpty
(boolean[] im, int W, int H, int x, int y, int w, int h)
examples/PEmbroider_oneliner/TraceSkeleton.java:68
↓ 4 callersMethodresample
Resample a polyline to make it stitchable @param poly the polyline @param minLen minimum length of each segment, segment
src/processing/embroider/PEmbroiderGraphics.java:3106
↓ 4 callersMethodresampleDouble
Double the number of vertices in the polyline by spliting every segment by half @param poly the polyline @return the resampled polyline
src/processing/embroider/PEmbroiderGraphics.java:4522
↓ 4 callersMethodsegmentIntersectPolygon
Find intersection between a segment and a polygon. Intersections returned are sorted from one endpoint of the segment to the other endpoint @param p
src/processing/embroider/PEmbroiderGraphics.java:814
↓ 4 callersMethodvp3_write_string_16
(String string)
src/processing/embroider/PEmbroiderWriter.java:356
↓ 4 callersMethodwriteSpaceHolder32BE
(int value)
src/processing/embroider/PEmbroiderWriter.java:343
↓ 4 callersMethodwriteSpaceHolder32LE
(int value)
src/processing/embroider/PEmbroiderWriter.java:700
↓ 4 callersMethodwrite_hoop_edge_distance
(int x_hoop_edge, int y_hoop_edge)
src/processing/embroider/PEmbroiderWriter.java:2016
↓ 4 callersMethodwrite_pec_graphics
()
src/processing/embroider/PEmbroiderWriter.java:836
↓ 3 callersMethodEDT_f
(float x, float i, float g_i)
src/processing/embroider/PEmbroiderTrace.java:18
↓ 3 callersMethodcalcPolygonTilt
(ArrayList<PVector> poly)
src/processing/embroider/PEmbroiderGraphics.java:947
↓ 3 callersMethodcatmullromSplineGetT
(float t, PVector p0, PVector p1, float alpha)
src/processing/embroider/PEmbroiderGraphics.java:3850
↓ 3 callersMethodcustomField
Hatch an image using custom vector field fill @param mask a binary image/graphics, white means on, black means off @param d spacing
src/processing/embroider/PEmbroiderGraphics.java:4880
↓ 3 callersMethoddilate5
(boolean[] im, int w, int h)
src/processing/embroider/PEmbroiderTrace.java:492
↓ 3 callersMethodgetCurrentScale
(float ang)
src/processing/embroider/PEmbroiderGraphics.java:5636
↓ 3 callersMethodgetName
Return the name of this custom tag.
resources/code/ExampleTaglet.java:67
↓ 3 callersMethodhatchParallel
Hatch a polygon with PARALLEL mode (using vector math) @param poly the polygon @param ang the angle of hatch lines @param d hatch s
src/processing/embroider/PEmbroiderGraphics.java:2931
↓ 3 callersMethodhatchParallelComplex
Hatch a complex polygon (with holes) with PARALLEL mode (using vector math) @param polys a set of polygons, those inside another will be considere
src/processing/embroider/PEmbroiderGraphics.java:2984
↓ 3 callersMethodoffsetPolygon
Offset a polygon (making it slightly smaller fitting in the original polygon, or slightly bigger wrapping the original polygon) @param poly the poly
src/processing/embroider/PEmbroiderGraphics.java:1341
↓ 3 callersMethodpointDistanceToSegment
Calculate distance between point and a segment (when projection is not on the line, the distance becomes that to one of the endpoints) @param p the
src/processing/embroider/PEmbroiderGraphics.java:1292
↓ 3 callersMethodrandomPointInPolygon
Generate a random point that is inside a polygon @param poly the polygon @param trials number of times we try before giving up @return either null
src/processing/embroider/PEmbroiderGraphics.java:916
↓ 3 callersMethodresampleN
Resample a polyline to make it have N vertices. Can be an upsample or a downsample. Each resultant segment will be the same length, +/- floating poin
src/processing/embroider/PEmbroiderGraphics.java:3216
↓ 3 callersMethodstrokeCap
Change stroke cap (end point) style @param j Same as Processing strokeCap, this can be ROUND, SQUARE, PROJECT etc. @see strokejoin
src/processing/embroider/PEmbroiderGraphics.java:309
↓ 3 callersMethodthinning
(boolean[] im, int w, int h)
src/processing/embroider/PEmbroiderTrace.java:445
↓ 3 callersMethodvp3_write_string_8
(String string)
src/processing/embroider/PEmbroiderWriter.java:351
↓ 3 callersMethodwrite_file
()
src/processing/embroider/PEmbroiderWriter.java:377
↓ 3 callersMethodwrite_pes_header_v6
(int distinctBlockObjects)
src/processing/embroider/PEmbroiderWriter.java:1114
↓ 2 callersMethodchunkToFrags
recursive bottom: turn chunk into polyline fragments; look around on 4 edges of the chunk, and identify the "outgoing" pixels; add segments connecting
distribution/PEmbroider/examples/PEmbroider_trace_skeleton/TraceSkeleton.java:177
↓ 2 callersMethodchunkToFrags
recursive bottom: turn chunk into polyline fragments; look around on 4 edges of the chunk, and identify the "outgoing" pixels; add segments connecting
distribution/PEmbroider/examples/PEmbroider_oneliner/TraceSkeleton.java:177
↓ 2 callersMethodchunkToFrags
recursive bottom: turn chunk into polyline fragments; look around on 4 edges of the chunk, and identify the "outgoing" pixels; add segments connecting
examples/PEmbroider_trace_skeleton/TraceSkeleton.java:177
next →1–100 of 408, ranked by callers