Top Constructors Methods
com.sun.marlin

public final Class MarlinProperties

extends Object
Class Inheritance
Static Imports
com.sun.marlin.MarlinUtils.logInfo

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static int
align(final int val, final int norm)

public static int

Returns:

3 (8 pixels) < block size < 8 (256 pixels) (5 by default ie 32 pixels)
getBlockSize_Log2
()

Return the log(2) corresponding to the block size in pixels

pack-priv static boolean
getBoolean(final String key, final String def)

public static float
public static float
public static float
public static double
getDouble(final String key, final double def, final double min, final double max)

public static float
getFloat(final String key, final float def, final float min, final float max)

public static int

Returns:

256 < initial edges < 65536 (4096 by default)
getInitialEdges
()

Return the initial edge capacity used to define initial arrays (edges, polystack, crossings)

public static int

Returns:

64 < initial pixel size < 32768 (2176 by default)
getInitialPixelHeight
()

Return the initial pixel height used to define initial arrays (buckets)

public static int

Returns:

64 < initial pixel size < 32768 (4096 by default)
getInitialPixelWidth
()

Return the initial pixel width used to define initial arrays (tile AA chunk, alpha line)

pack-priv static int
getInteger(final String key, final int def, final int min, final int max)

public static float
public static float
public static int
pack-priv static String
getString(final String key, final String def)

public static float
public static int
public static float
public static int

Returns:

0 (1 subpixels) < initial pixel size < 8 (256 subpixels) (8 by default ie 256 subpixels)
getSubPixel_Log2_X
()

Return the log(2) corresponding to subpixel on x-axis

public static int

Returns:

0 (1 subpixels) < initial pixel size < 8 (256 subpixels) (3 by default ie 8 subpixels for the quality profile) (2 by default ie 4 subpixels for the speed profile)
getSubPixel_Log2_Y
()

Return the log(2) corresponding to subpixel on y-axis

public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean

Returns:

true if the profile is 'quality' (default), false otherwise
isProfileQuality
()

Return true if the profile is 'quality' (default) over 'speed'

public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MarlinPropertiesback to summary
private MarlinProperties()

Method Detail

alignback to summary
pack-priv static int align(final int val, final int norm)
getBlockSize_Log2back to summary
public static int getBlockSize_Log2()

Return the log(2) corresponding to the block size in pixels

Returns:int

3 (8 pixels) < block size < 8 (256 pixels) (5 by default ie 32 pixels)

getBooleanback to summary
pack-priv static boolean getBoolean(final String key, final String def)
getCubicDecD2back to summary
public static float getCubicDecD2()
getCubicIncD1back to summary
public static float getCubicIncD1()
getCurveLengthErrorback to summary
public static float getCurveLengthError()
getDoubleback to summary
public static double getDouble(final String key, final double def, final double min, final double max)
getFloatback to summary
public static float getFloat(final String key, final float def, final float min, final float max)
getInitialEdgesback to summary
public static int getInitialEdges()

Return the initial edge capacity used to define initial arrays (edges, polystack, crossings)

Returns:int

256 < initial edges < 65536 (4096 by default)

getInitialPixelHeightback to summary
public static int getInitialPixelHeight()

Return the initial pixel height used to define initial arrays (buckets)

Returns:int

64 < initial pixel size < 32768 (2176 by default)

getInitialPixelWidthback to summary
public static int getInitialPixelWidth()

Return the initial pixel width used to define initial arrays (tile AA chunk, alpha line)

Returns:int

64 < initial pixel size < 32768 (4096 by default)

getIntegerback to summary
pack-priv static int getInteger(final String key, final int def, final int min, final int max)
getPathSimplifierPixelToleranceback to summary
public static float getPathSimplifierPixelTolerance()
getQuadDecD2back to summary
public static float getQuadDecD2()
getRLEMinWidthback to summary
public static int getRLEMinWidth()
getStringback to summary
pack-priv static String getString(final String key, final String def)
getStrokerJoinErrorback to summary
public static float getStrokerJoinError()
getStrokerJoinStyleback to summary
public static int getStrokerJoinStyle()
getSubdividerMinLengthback to summary
public static float getSubdividerMinLength()
getSubPixel_Log2_Xback to summary
public static int getSubPixel_Log2_X()

Return the log(2) corresponding to subpixel on x-axis

Returns:int

0 (1 subpixels) < initial pixel size < 8 (256 subpixels) (8 by default ie 256 subpixels)

getSubPixel_Log2_Yback to summary
public static int getSubPixel_Log2_Y()

Return the log(2) corresponding to subpixel on y-axis

Returns:int

0 (1 subpixels) < initial pixel size < 8 (256 subpixels) (3 by default ie 8 subpixels for the quality profile) (2 by default ie 4 subpixels for the speed profile)

isDoChecksback to summary
public static boolean isDoChecks()
isDoClipback to summary
public static boolean isDoClip()
isDoClipAtRuntimeback to summary
public static boolean isDoClipAtRuntime()
isDoClipRuntimeFlagback to summary
public static boolean isDoClipRuntimeFlag()
isDoClipSubdividerback to summary
public static boolean isDoClipSubdivider()
isDoMonitorsback to summary
public static boolean isDoMonitors()
isDoStatsback to summary
public static boolean isDoStats()
isForceNoRLEback to summary
public static boolean isForceNoRLE()
isForceRLEback to summary
public static boolean isForceRLE()
isLogCreateContextback to summary
public static boolean isLogCreateContext()
isLoggingEnabledback to summary
public static boolean isLoggingEnabled()
isLogOffHeapMallocback to summary
public static boolean isLogOffHeapMalloc()
isProfileQualityback to summary
public static boolean isProfileQuality()

Return true if the profile is 'quality' (default) over 'speed'

Returns:boolean

true if the profile is 'quality' (default), false otherwise

isSkipRendererback to summary
public static boolean isSkipRenderer()
isSkipRenderTilesback to summary
public static boolean isSkipRenderTiles()
isUseDPQSback to summary
public static boolean isUseDPQS()
isUseLoggerback to summary
public static boolean isUseLogger()
isUsePathSimplifierback to summary
public static boolean isUsePathSimplifier()
isUseSimplifierback to summary
public static boolean isUseSimplifier()
isUseThreadLocalback to summary
public static boolean isUseThreadLocal()
isUseTileFlagsback to summary
public static boolean isUseTileFlags()
isUseTileFlagsWithHeuristicsback to summary
public static boolean isUseTileFlagsWithHeuristics()