Structs§
- _IO_
FILE - _IO_
codecvt - _IO_
marker - _IO_
wide_ data - msdfgen_
Bitmap - msdfgen_
Bitmap Const Ref - msdfgen_
Bitmap Ref - msdfgen_
Contour - A single closed contour of a shape.
- msdfgen_
Cubic Segment - A cubic Bezier curve.
- msdfgen_
Edge Holder - Container for a single edge of dynamic type.
- msdfgen_
Edge Segment - An abstract edge segment.
- msdfgen_
Edge Segment__ bindgen_ vtable - msdfgen_
Error Correction Config - The configuration of the MSDF error correction pass.
- msdfgen_
Generator Config - The configuration of the distance field generator algorithm.
- msdfgen_
Linear Segment - A line segment.
- msdfgen_
MSDF Generator Config - The configuration of the multi-channel distance field generator algorithm.
- msdfgen_
Projection - A transformation from shape coordinates to pixel coordinates.
- msdfgen_
Quadratic Segment - A quadratic Bezier curve.
- msdfgen_
Scanline - Represents a horizontal scanline intersecting a shape.
- msdfgen_
Scanline_ Intersection - An intersection with the scanline.
- msdfgen_
Shape - Vector shape representation.
- msdfgen_
Shape_ Bounds - msdfgen_
Signed Distance - Represents a signed distance and alignment, which together can be compared to uniquely determine the closest edge segment.
- msdfgen_
Vector2 - A 2-dimensional euclidean vector with double precision. Implementation based on the Vector2 template from Artery Engine. @author Viktor Chlumsky
- std_
allocator - std_
allocator_ rebind - std_
vector - std_
vector__ Temporary_ value
Constants§
- msdfgen_
Edge Color_ BLACK - msdfgen_
Edge Color_ BLUE - msdfgen_
Edge Color_ CYAN - msdfgen_
Edge Color_ GREEN - msdfgen_
Edge Color_ MAGENTA - msdfgen_
Edge Color_ RED - msdfgen_
Edge Color_ WHITE - msdfgen_
Edge Color_ YELLOW - msdfgen_
Error Correction Config_ Distance Check Mode_ ALWAYS_ CHECK_ DISTANCE - Computes and compares the exact shape distance for each suspected artifact.
- msdfgen_
Error Correction Config_ Distance Check Mode_ CHECK_ DISTANCE_ AT_ EDGE - Only computes exact shape distance at edges. Provides a good balance between speed and precision.
- msdfgen_
Error Correction Config_ Distance Check Mode_ DO_ NOT_ CHECK_ DISTANCE - Never computes exact shape distance.
- msdfgen_
Error Correction Config_ Mode_ DISABLED - Skips error correction pass.
- msdfgen_
Error Correction Config_ Mode_ EDGE_ ONLY - Only corrects artifacts at edges.
- msdfgen_
Error Correction Config_ Mode_ EDGE_ PRIORITY - Corrects artifacts at edges and other discontinuous distances only if it does not affect edges or corners.
- msdfgen_
Error Correction Config_ Mode_ INDISCRIMINATE - Corrects all discontinuities of the distance field regardless if edges are adversely affected.
- msdfgen_
Fill Rule_ FILL_ NEGATIVE - msdfgen_
Fill Rule_ FILL_ NONZERO - msdfgen_
Fill Rule_ FILL_ ODD - msdfgen_
Fill Rule_ FILL_ POSITIVE
Statics§
- msdfgen_
Error ⚠Correction Config_ default MinDeviation Ratio - The default value of minDeviationRatio.
- msdfgen_
Error ⚠Correction Config_ default MinImprove Ratio - The default value of minImproveRatio.
Functions§
- msdfgen_
Contour_ ⚠addEdge - Adds an edge to the contour.
- msdfgen_
Contour_ ⚠addEdge1 - Creates a new edge in the contour and returns its reference.
- msdfgen_
Contour_ ⚠bound - Adjusts the bounding box to fit the contour.
- msdfgen_
Contour_ ⚠bound Miters - Adjusts the bounding box to fit the contour border’s mitered corners.
- msdfgen_
Contour_ ⚠reverse - Reverses the sequence of edges on the contour.
- msdfgen_
Contour_ ⚠winding - Computes the winding of the contour. Returns 1 if positive, -1 if negative.
- msdfgen_
Cubic ⚠Segment_ Cubic Segment - msdfgen_
Cubic ⚠Segment_ bound - msdfgen_
Cubic ⚠Segment_ clone - msdfgen_
Cubic ⚠Segment_ deconverge - msdfgen_
Cubic ⚠Segment_ direction - msdfgen_
Cubic ⚠Segment_ direction Change - msdfgen_
Cubic ⚠Segment_ move EndPoint - msdfgen_
Cubic ⚠Segment_ move Start Point - msdfgen_
Cubic ⚠Segment_ point - msdfgen_
Cubic ⚠Segment_ reverse - msdfgen_
Cubic ⚠Segment_ scanline Intersections - msdfgen_
Cubic ⚠Segment_ signed Distance - msdfgen_
Cubic ⚠Segment_ split InThirds - msdfgen_
Edge ⚠Holder_ Edge Holder - msdfgen_
Edge ⚠Holder_ Edge Holder1 - msdfgen_
Edge ⚠Holder_ Edge Holder2 - msdfgen_
Edge ⚠Holder_ Edge Holder3 - msdfgen_
Edge ⚠Holder_ Edge Holder4 - msdfgen_
Edge ⚠Holder_ Edge Holder5 - msdfgen_
Edge ⚠Holder_ Edge Holder_ destructor - msdfgen_
Edge ⚠Holder_ swap - Swaps the edges held by a and b.
- msdfgen_
Edge ⚠Segment_ distance ToPseudo Distance - Converts a previously retrieved signed distance from origin to pseudo-distance.
- msdfgen_
Linear ⚠Segment_ Linear Segment - msdfgen_
Linear ⚠Segment_ bound - msdfgen_
Linear ⚠Segment_ clone - msdfgen_
Linear ⚠Segment_ direction - msdfgen_
Linear ⚠Segment_ direction Change - msdfgen_
Linear ⚠Segment_ length - msdfgen_
Linear ⚠Segment_ move EndPoint - msdfgen_
Linear ⚠Segment_ move Start Point - msdfgen_
Linear ⚠Segment_ point - msdfgen_
Linear ⚠Segment_ reverse - msdfgen_
Linear ⚠Segment_ scanline Intersections - msdfgen_
Linear ⚠Segment_ signed Distance - msdfgen_
Linear ⚠Segment_ split InThirds - msdfgen_
Projection_ ⚠Projection - msdfgen_
Projection_ ⚠Projection1 - msdfgen_
Projection_ ⚠project - Converts the shape coordinate to pixel coordinate.
- msdfgen_
Projection_ ⚠project Vector - Converts the vector to pixel coordinate space.
- msdfgen_
Projection_ ⚠projectX - Converts the X-coordinate from shape to pixel coordinate space.
- msdfgen_
Projection_ ⚠projectY - Converts the Y-coordinate from shape to pixel coordinate space.
- msdfgen_
Projection_ ⚠unproject - Converts the pixel coordinate to shape coordinate.
- msdfgen_
Projection_ ⚠unproject Vector - Converts the vector from pixel coordinate space.
- msdfgen_
Projection_ ⚠unprojectX - Converts the X-coordinate from pixel to shape coordinate space.
- msdfgen_
Projection_ ⚠unprojectY - Converts the Y-coordinate from pixel to shape coordinate space.
- msdfgen_
Quadratic ⚠Segment_ Quadratic Segment - msdfgen_
Quadratic ⚠Segment_ bound - msdfgen_
Quadratic ⚠Segment_ clone - msdfgen_
Quadratic ⚠Segment_ convert ToCubic - msdfgen_
Quadratic ⚠Segment_ direction - msdfgen_
Quadratic ⚠Segment_ direction Change - msdfgen_
Quadratic ⚠Segment_ length - msdfgen_
Quadratic ⚠Segment_ move EndPoint - msdfgen_
Quadratic ⚠Segment_ move Start Point - msdfgen_
Quadratic ⚠Segment_ point - msdfgen_
Quadratic ⚠Segment_ reverse - msdfgen_
Quadratic ⚠Segment_ scanline Intersections - msdfgen_
Quadratic ⚠Segment_ signed Distance - msdfgen_
Quadratic ⚠Segment_ split InThirds - msdfgen_
Scanline_ ⚠Scanline - msdfgen_
Scanline_ ⚠count Intersections - Returns the number of intersections left of x.
- msdfgen_
Scanline_ ⚠filled - Decides whether the scanline is filled at x based on fill rule.
- msdfgen_
Scanline_ ⚠overlap - msdfgen_
Scanline_ ⚠setIntersections - Populates the intersection list.
- msdfgen_
Scanline_ ⚠sumIntersections - Returns the total sign of intersections left of x.
- msdfgen_
Shape_ ⚠Shape - msdfgen_
Shape_ ⚠addContour - Adds a contour.
- msdfgen_
Shape_ ⚠addContour1 - Adds a blank contour and returns its reference.
- msdfgen_
Shape_ ⚠bound - Adjusts the bounding box to fit the shape.
- msdfgen_
Shape_ ⚠bound Miters - Adjusts the bounding box to fit the shape border’s mitered corners.
- msdfgen_
Shape_ ⚠edge Count - Returns the total number of edge segments
- msdfgen_
Shape_ ⚠getBounds - Computes the minimum bounding box that fits the shape, optionally with a (mitered) border.
- msdfgen_
Shape_ ⚠normalize - Normalizes the shape geometry for distance field generation.
- msdfgen_
Shape_ ⚠orient Contours - Assumes its contours are unoriented (even-odd fill rule). Attempts to orient them to conform to the non-zero winding rule.
- msdfgen_
Shape_ ⚠scanline - Outputs the scanline that intersects the shape at y.
- msdfgen_
Shape_ ⚠validate - Performs basic checks to determine if the object represents a valid shape.
- msdfgen_
Signed ⚠Distance_ Signed Distance - msdfgen_
Signed ⚠Distance_ Signed Distance1 - msdfgen_
Vector2_ ⚠Vector2 - msdfgen_
Vector2_ ⚠Vector21 - msdfgen_
Vector2_ ⚠direction - Returns the angle of the vector in radians (atan2).
- msdfgen_
Vector2_ ⚠getOrthogonal - Returns a vector with the same length that is orthogonal to this one.
- msdfgen_
Vector2_ ⚠getOrthonormal - Returns a vector with unit length that is orthogonal to this one.
- msdfgen_
Vector2_ ⚠length - Returns the vector’s length.
- msdfgen_
Vector2_ ⚠normalize - Returns the normalized vector - one that has the same direction but unit length.
- msdfgen_
Vector2_ ⚠project - Returns a vector projected along this one.
- msdfgen_
Vector2_ ⚠reset - Sets the vector to zero.
- msdfgen_
Vector2_ ⚠set - Sets individual elements of the vector.
- msdfgen_
distance ⚠Sign Correction - Fixes the sign of the input signed distance field, so that it matches the shape’s rasterized fill.
- msdfgen_
distance ⚠Sign Correction1 - msdfgen_
distance ⚠Sign Correction2 - msdfgen_
distance ⚠Sign Correction3 - msdfgen_
distance ⚠Sign Correction4 - msdfgen_
distance ⚠Sign Correction5 - msdfgen_
edge ⚠Coloring ByDistance - The alternative coloring by distance tries to use different colors for edges that are close together. This should theoretically be the best strategy on average. However, since it needs to compute the distance between all pairs of edges, and perform a graph optimization task, it is much slower than the rest.
- msdfgen_
edge ⚠Coloring InkTrap - The alternative “ink trap” coloring strategy is designed for better results with typefaces that use ink traps as a design feature. It guarantees that even if all edges that are shorter than both their neighboring edges are removed, the coloring remains consistent with the established rules.
- msdfgen_
edge ⚠Coloring Simple - Assigns colors to edges of the shape in accordance to the multi-channel distance field technique. May split some edges if necessary. angleThreshold specifies the maximum angle (in radians) to be considered a corner, for example 3 (~172 degrees). Values below 1/2 PI will be treated as the external angle.
- msdfgen_
estimateSDF ⚠Error - Estimates the portion of the area that will be filled incorrectly when rendering using the SDF.
- msdfgen_
estimateSDF ⚠Error1 - msdfgen_
estimateSDF ⚠Error2 - msdfgen_
estimateSDF ⚠Error3 - msdfgen_
estimateSDF ⚠Error4 - msdfgen_
estimateSDF ⚠Error5 - msdfgen_
generateMSDF ⚠ - Generates a multi-channel signed distance field. Edge colors must be assigned first! (See edgeColoringSimple)
- msdfgen_
generateMSD ⚠F1 - msdfgen_
generateMSDF_ ⚠legacy - msdfgen_
generateMTSDF ⚠ - Generates a multi-channel signed distance field with true distance in the alpha channel. Edge colors must be assigned first.
- msdfgen_
generateMTSD ⚠F1 - msdfgen_
generateMTSDF_ ⚠legacy - msdfgen_
generate ⚠PseudoSDF - Generates a single-channel signed pseudo-distance field.
- msdfgen_
generate ⚠PseudoSD F1 - msdfgen_
generate ⚠PseudoSDF_ legacy - msdfgen_
generateSDF ⚠ - Generates a conventional single-channel signed distance field.
- msdfgen_
generateSD ⚠F1 - msdfgen_
generateSDF_ ⚠legacy - msdfgen_
interpret ⚠Fill Rule - Resolves the number of intersection into a binary fill value based on fill rule.
- msdfgen_
msdf ⚠Error Correction - Predicts potential artifacts caused by the interpolation of the MSDF and corrects them by converting nearby texels to single-channel.
- msdfgen_
msdf ⚠Error Correction1 - msdfgen_
msdf ⚠Error Correction_ legacy - The original version of the error correction algorithm.
- msdfgen_
msdf ⚠Error Correction_ legacy1 - msdfgen_
msdf ⚠Fast Distance Error Correction - Applies the simplified error correction to all discontiunous distances (INDISCRIMINATE mode). Does not need shape or translation.
- msdfgen_
msdf ⚠Fast Distance Error Correction1 - msdfgen_
msdf ⚠Fast Edge Error Correction - Applies the simplified error correction to edges only (EDGE_ONLY mode). Does not need shape or translation.
- msdfgen_
msdf ⚠Fast Edge Error Correction1 - msdfgen_
rasterize ⚠ - Rasterizes the shape into a monochrome bitmap.
- msdfgen_
rasterize1 ⚠ - msdfgen_
read ⚠Shape Description - Deserializes a text description of a vector shape into output.
- msdfgen_
read ⚠Shape Description1 - msdfgen_
renderSDF ⚠ - Reconstructs the shape’s appearance into output from the distance field sdf.
- msdfgen_
renderSD ⚠F1 - msdfgen_
renderSD ⚠F2 - msdfgen_
renderSD ⚠F3 - msdfgen_
renderSD ⚠F4 - msdfgen_
renderSD ⚠F5 - msdfgen_
save ⚠Bmp - Saves the bitmap as a BMP file.
- msdfgen_
save ⚠Bmp1 - msdfgen_
save ⚠Bmp2 - msdfgen_
save ⚠Bmp3 - msdfgen_
save ⚠Bmp4 - msdfgen_
save ⚠Bmp5 - msdfgen_
save ⚠Tiff - Saves the bitmap as an uncompressed floating-point TIFF file.
- msdfgen_
save ⚠Tiff1 - msdfgen_
save ⚠Tiff2 - msdfgen_
scanlineSDF ⚠ - Analytically constructs a scanline at y evaluating fill by linear interpolation of the SDF.
- msdfgen_
scanlineSD ⚠F1 - msdfgen_
scanlineSD ⚠F2 - msdfgen_
scanlineSD ⚠F3 - msdfgen_
scanlineSD ⚠F4 - msdfgen_
scanlineSD ⚠F5 - msdfgen_
simulate8bit ⚠ - Snaps the values of the floating-point bitmaps into one of the 256 values representable in a standard 8-bit bitmap.
- msdfgen_
simulate8bit1 ⚠ - msdfgen_
simulate8bit2 ⚠ - msdfgen_
write ⚠Shape Description - Serializes a shape object into a text description.
Type Aliases§
- FILE
- _IO_
lock_ t - __
off64_ t - __off_t
- msdfgen_
Edge Color - Edge color specifies which color channels an edge belongs to.
- msdfgen_
Error Correction Config_ Distance Check Mode - Configuration of whether to use an algorithm that computes the exact shape distance at the positions of suspected artifacts. This algorithm can be much slower.
- msdfgen_
Error Correction Config_ Mode - Mode of operation.
- msdfgen_
Fill Rule - Fill rule dictates how intersection total is interpreted during rasterization.
- msdfgen_
Point2 - A 2-dimensional euclidean vector with double precision. Implementation based on the Vector2 template from Artery Engine. @author Viktor Chlumsky
- msdfgen_
byte - size_t
- std_
allocator_ const_ pointer - std_
allocator_ const_ reference - std_
allocator_ difference_ type - std_
allocator_ is_ always_ equal - std_
allocator_ pointer - std_
allocator_ propagate_ on_ container_ move_ assignment - std_
allocator_ rebind_ other - std_
allocator_ reference - std_
allocator_ size_ type - std_
allocator_ value_ type - std_
vector__ Alloc_ traits - std_
vector__ Base - std_
vector__ Tp_ alloc_ type - std_
vector_ allocator_ type - std_
vector_ const_ iterator - std_
vector_ const_ pointer - std_
vector_ const_ reference - std_
vector_ const_ reverse_ iterator - std_
vector_ difference_ type - std_
vector_ iterator - std_
vector_ pointer - std_
vector_ reference - std_
vector_ reverse_ iterator - std_
vector_ size_ type - std_
vector_ value_ type