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
booleantrue 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.

 
 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
intBackground 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
booleanDebug 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
floatRotation angle (radian measure)

 
 top of page
Method getScaleX
Query horizontal scaling factor
Signature
getScaleX():float
Returns
floatHorizontal scaling factor

 
 top of page
Method getScaleX
Query vertical scaling factor
Signature
getScaleX():float
Returns
floatVertical scaling factor

 
 top of page
Method getSizeX
Query drawable width
Signature
getSizeX():float
Returns
floatWidth

 
 top of page
Method getSizeY
Query drawable height
Signature
getSizeY():float
Returns
floatHeight

 
 top of page
Method getTranslationX
Query horizontal translation
Signature
getTranslationX():float
Returns
floatHorizontal translation

 
 top of page
Method getTranslationY
Query vertical translation
Signature
getTranslationY():float
Returns
floatVertical translation

 
 top of page
Method isComplete
Check if vertex and draw-list buffers have been filled
Signature
isComplete():boolean
Returns
booleantrue 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
intc32Background color in packed ARGB32 format

 
 top of page
Method setEnableDebug
Enable / disable debug mode (draw-list execution)
Signature
setEnableDebug(booleanbEnable)
Arguments
booleanbEnableDebug 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
floatsxHorizontal scaling factor
floatsyVertical scaling factor

 
 top of page
Method setScaleX
Set horizontal scaling factor
Signature
setScaleX(floats)
Arguments
floatsHorizontal scaling factor

 
 top of page
Method setScaleY
Set vertical scaling factor
Signature
setScaleY(floats)
Arguments
floatsVertical scaling factor

 
 top of page
Method setSize2f
Set drawable size
Signature
setSize2f(floatw,
  floath 
  )  
Arguments
floatwWidth
floathHeight

 
 top of page
Method setSizeX
Set drawable width
Signature
setSizeX(floatw)
Arguments
floatwWidth

 
 top of page
Method setSizeY
Set drawable height
Signature
setSizeY(floath)
Arguments
floathHeight

 
 top of page
Method setTranslation2f
Set drawable translation
Signature
setTranslation2f(floattx,
  floatty 
  )  
Arguments
floattxHorizontal translation
floattyVertical translation

 
 top of page
Method setTranslationX
Set horizontal translation
Signature
setTranslationX(floattx)
Arguments
floattxHorizontal translation

 
 top of page
Method setTranslationY
Set vertical translation
Signature
setTranslationY(floatty)
Arguments
floattyVertical 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 , 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 , 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. Sun, 29/Mar/2026 15:30:33