→ index of namespace default
 
→ index of project tkminnie
 
→ index of module tkminnie

Class tkminnie.MinnieDrawable


Synopsis: 

  Methods:

Method alloc
Allocate drawable buffers
Signature
alloc(intmaxDrawBufSize)
 :boolean
Arguments
intmaxDrawBufSize–
Returns
boolean–true when allocation succeeded

 
→ top of page
Method begin
Begin drawable setup.
Signature
begin()
Description

Free dynamic allocations, reset allocation stats, reset buffer write offsets, call minBegin().

 
→ top of page
Method draw
Render drawable.
Signature
draw()
Description

Lazy-alloc and update vertex buffer object, and execute draw-list.

See also:  


 
→ top of page
Method drawTint32
Render drawable and tint fill + stroke colors.
Signature
drawTint32(inttint32Fill,
  inttint32Stroke 
  )  
Arguments
inttint32Fill–Fill color tint. Alpha=Tint amount
inttint32Stroke–Stroke color tint. Alpha=Tint amount

See also:  


 
→ top of page
Method end
Finish drawable setup.
Signature
end()
Description

Call minEnd(), update size and background color (first palette index), queue GL vertex buffer object update.

 
→ top of page
Method free
Free vertex buffer object and client-side system memory buffers
Signature
free()

 
→ top of page
Method freeGL
Free vertex buffer object
Signature
freeGL()

 
→ top of page
Method getBackgroundColor
Query background color in packed ARGB32 format
Signature
getBackgroundColor():int
Returns
int–Background color in packed ARGB32 format

 
→ top of page
Method getDrawBuffer
Query draw-list write offset
Signature
getDrawBuffer():Buffer
Returns
Buffer–

 
→ top of page
Method getDrawOffset
Query draw-list buffer write offset
Signature
getDrawOffset():int
Returns
int–

 
→ top of page
Method getEnableDebug
Query debug mode (draw-list execution)
Signature
getEnableDebug():boolean
Returns
boolean–Debug mode

 
→ top of page
Method getGLBuffer
Query vertex attribute buffer
Signature
getGLBuffer():Buffer
Returns
Buffer–

 
→ top of page
Method getGLOffset
Query vertex attribute buffer write offset
Signature
getGLOffset():int
Returns
int–

 
→ top of page
Method getRotation
Query rotation angle
Signature
getRotation():float
Returns
float–Rotation angle (radian measure)

 
→ top of page
Method getScaleX
Query horizontal scaling factor
Signature
getScaleX():float
Returns
float–Horizontal scaling factor

 
→ top of page
Method getScaleX
Query vertical scaling factor
Signature
getScaleX():float
Returns
float–Vertical scaling factor

 
→ top of page
Method getSizeX
Query drawable width
Signature
getSizeX():float
Returns
float–Width

 
→ top of page
Method getSizeY
Query drawable height
Signature
getSizeY():float
Returns
float–Height

 
→ top of page
Method getTranslationX
Query horizontal translation
Signature
getTranslationX():float
Returns
float–Horizontal translation

 
→ top of page
Method getTranslationY
Query vertical translation
Signature
getTranslationY():float
Returns
float–Vertical translation

 
→ top of page
Method isComplete
Check if vertex and draw-list buffers have been filled
Signature
isComplete():boolean
Returns
boolean–true if vertex and draw-list buffers have been filled

 
→ top of page
Method lazyAllocGL
Allocate vertex buffer object
Signature
lazyAllocGL()

 
→ top of page
Method onOpen
Must be called after GL context was (re-)created (force VBO to be re-allocated)
Signature
onOpen()

 
→ top of page
Method queueGLBufUpdate
Queue GL vertex buffer object update
Signature
queueGLBufUpdate()
Description

Called by end() internally.

 
→ top of page
Method reset
Reset drawable buffer offsets
Signature
reset()

 
→ top of page
Method setBackgroundColor
Set background color in packed ARGB32 format
Signature
setBackgroundColor(intc32)
Arguments
intc32–Background color in packed ARGB32 format

 
→ top of page
Method setEnableDebug
Enable / disable debug mode (draw-list execution)
Signature
setEnableDebug(booleanbEnable)
Arguments
booleanbEnable–Debug mode

 
→ top of page
Method setRotation
Set rotation angle (radian measure)
Signature
setRotation(floata)
Arguments
floata–

 
→ top of page
Method setScale2f
Set drawable scaling factors
Signature
setScale2f(floatsx,
  floatsy 
  )  
Arguments
floatsx–Horizontal scaling factor
floatsy–Vertical scaling factor

 
→ top of page
Method setScaleX
Set horizontal scaling factor
Signature
setScaleX(floats)
Arguments
floats–Horizontal scaling factor

 
→ top of page
Method setScaleY
Set vertical scaling factor
Signature
setScaleY(floats)
Arguments
floats–Vertical scaling factor

 
→ top of page
Method setSize2f
Set drawable size
Signature
setSize2f(floatw,
  floath 
  )  
Arguments
floatw–Width
floath–Height

 
→ top of page
Method setSizeX
Set drawable width
Signature
setSizeX(floatw)
Arguments
floatw–Width

 
→ top of page
Method setSizeY
Set drawable height
Signature
setSizeY(floath)
Arguments
floath–Height

 
→ top of page
Method setTranslation2f
Set drawable translation
Signature
setTranslation2f(floattx,
  floatty 
  )  
Arguments
floattx–Horizontal translation
floatty–Vertical translation

 
→ top of page
Method setTranslationX
Set horizontal translation
Signature
setTranslationX(floattx)
Arguments
floattx–Horizontal translation

 
→ top of page
Method setTranslationY
Set vertical translation
Signature
setTranslationY(floatty)
Arguments
floatty–Vertical translation

 
→ top of page
 

Project Modules:tkminnie 
Project Classes:MinnieDrawable , MinnieSetup 
Project Functions:minAARange , minArcTo , minBegin , minBeginImmediate , minBeginPath , minBeginPathComplex , minBeginPathConcave , minBeginPathConvex , minBeginPathEx , minBeginSub , minBeginSubComplex , minBeginSubConcave , minBeginSubConvex , minBeginSubEx , minBindTexture , minCap , minCapButt , minCapNone , minCapRound , minCircle , minColor , minColorFill , minColorStroke , minCubicMirrorTo , minCubicTo , minDebugPrintAllocStats , minDebugPrintPathStats , minDecalAlpha , minDrawPath , minEllipse , minEnd , minEndImmediate , minEndPath , minEndPathClosed , minEndPathOpen , minEndSub , minEndSubClosed , minEndSubOpen , minExecDrawList , minExecDrawListEx , minFill , minFillRuleEvenOdd , minFillRuleNonZero , minFreeDynamic , minFreePath , minGetColorByIndex , minGetEnableEdgeAA , minGetEnableForceComplexConcave , minGetEnableForceConcaveComplex , minGetEnableMultiPathHWPolygons , minGetEnablePolygonAA , minGetEnableRenderFillComplex , minGetEnableRenderFillConcave , minGetEnableRenderJoinCap , minGetEnableRenderStrokes , minGetEnableTesselateConcave , minGetEnableUniformColors , minGetHeight , minGetStrokeWLineJoinThreshold , minGetStrokeWLineStripThreshold , minGetSwTesselateSizeThreshold , minGetTotalNumEllipses , minGetTotalNumLines , minGetTotalNumLineStrips , minGetTotalNumPoints , minGetTotalNumRects , minGetTotalNumTris , minGetTotalNumTrisTex , minGetWidth , minInitScratchBuffers , minIsEdgeAA , minIsEdgeAAScaleFix16 , minIsVertexFix16 , minJoin , minJoinBevel , minJoinCap , minJoinMiter , minJoinNone , minJoinRound , minLinePattern , minLineTo , minMiterLimit , minMoveTo , minOnOpen , minPaint , minPaintConic , minPaintCreate , minPaintDefault , minPaintLinear , minPaintPattern , minPaintPatternAlpha , minPaintPatternDecal , minPaintPatternDecal , minPaintRadial , minPaintSolid , minPaintUpdate , minParseBuffer , minRect , minRectTexUVFlat , minRectTexUVFlatDecal , minRectTexUVGouraud , minRectTexUVGouraudDecal , minResetAllocStats , minRoundRect , minSeg , minSetDrawListExportOFS , minSetEnableDraw , minSetEnableDrawSW , minSetEnableEdgeAA , minSetEnableForceComplexConcave , minSetEnableForceConcaveComplex , minSetEnableMultiPathHWPolygons , minSetEnablePolygonAA , minSetEnableRenderFillComplex , minSetEnableRenderFillConcave , minSetEnableRenderJoinCap , minSetEnableRenderStrokes , minSetEnableTesselateConcave , minSetEnableUniformColors , minSetFramebufferOverride , minSetGeoScale2f , minSetStrokeOffset , minSetStrokeScale , minSetStrokeWLineJoinThreshold , minSetStrokeWLineStripThreshold , minSetSwTesselateSizeThreshold , minSetVertexBufferExportOFS , minStrokeWidth , minTriangleTexUVFlat , minTriangleTexUVFlatDecal , minTriangleTexUVGouraud , minTriangleTexUVGouraudDecal , minUnbindTexture 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Mon, 6/Apr/2026 11:22:40